Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
ZheShangBank_TaoQuan_20240612
Commits
335cd0fd
Commit
335cd0fd
authored
Jul 31, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码
parent
62ce84fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
6 deletions
+28
-6
TaskCenter.ts
assets/Scripts/TaskCenter.ts
+23
-1
index.html
build/web-mobile-001/index.html
+5
-5
No files found.
assets/Scripts/TaskCenter.ts
View file @
335cd0fd
...
...
@@ -109,6 +109,29 @@ export default class TaskCenter {
showToast
(
levelToast
[
level
]);
}
});
}
else
if
(
code
==
"bt_13"
){
beforeDoComplete
(
item
,
async
()
=>
{
window
[
"MarsJSBridge"
].
invoke
(
"toggleAppMode"
,
{
funcType
:
"1"
// 1: 跳转到设置页面 , 其他: 跳到应用设置页面
},
function
(
res
)
{
// 没有回调
});
// location.href = jumpUrl;
//获取跳转方式
// let type = getQueryParamValue(jumpUrl, "type");
// console.info("跳转方式type", type)
// if (type == "1") { //跳转方式1
// (jumpUrl && jumpUrl != '/') && appJump(jumpUrl, needNav);
// } else if (type == "2") {//跳转方式2
// appJumpToMini(
// "username",
// jumpUrl,
// );
// } else { //不拼方式不跳了,害怕跳错了
//
// }
});
}
else
{
beforeDoComplete
(
item
,
async
()
=>
{
await
sendWebNetWithToken
(
...
...
@@ -138,7 +161,6 @@ export default class TaskCenter {
return
;
}
/** 行方任务 */
if
(
code
?.
startsWith
(
"bank_"
))
{
console
.
info
(
'11111'
)
...
...
build/web-mobile-001/index.html
View file @
335cd0fd
...
...
@@ -54,7 +54,7 @@
<script
src=
"//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js"
crossorigin=
"anonymous"
></script>
<script
src=
"//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
397105630
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
406205524
/style.css"
/>
<style>
.sui-captcha
{
...
...
@@ -113,16 +113,16 @@
</script>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
397105630
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
406205524
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
397105630
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
406205524
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
397105630
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
406205524
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
397105630
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
406205524
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment