Commit dd2500a6 authored by haiyoucuv's avatar haiyoucuv

整理一下代码

parent 6fd626e7
......@@ -111,9 +111,13 @@ export default class TaskCenter {
});
} else if(code == "bt_13"){
beforeDoComplete(item, async () => {
await sendWebNetWithToken(
WebNetName.finishBrowseTask,
{taskCode: code, taskId: id}
);
window["MarsJSBridge"].invoke("toggleAppMode", {
funcType:"1" // 1: 跳转到设置页面 , 其他: 跳到应用设置页面
}, function(res) {
funcType: "1" // 1: 跳转到设置页面 , 其他: 跳到应用设置页面
}, function() {
// 没有回调
});
// location.href = jumpUrl;
......@@ -130,7 +134,6 @@ export default class TaskCenter {
// } else { //不拼方式不跳了,害怕跳错了
//
// }
});
} else {
beforeDoComplete(item, async () => {
......
......@@ -39,7 +39,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/1722416504045/style.css"/>
<link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722420834706/style.css"/>
<style>
.sui-captcha {
......@@ -99,16 +99,16 @@
</script>
<!-- Polyfills bundle. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722416504045/src/polyfills.bundle.js" charset="utf-8"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722420834706/src/polyfills.bundle.js" charset="utf-8"></script>
<!-- SystemJS support. -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722416504045/src/system.bundle.js" charset="utf-8"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722420834706/src/system.bundle.js" charset="utf-8"></script>
<!-- Import map -->
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722416504045/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
<script src="//yun.duiba.com.cn/db_games/ccc_game/template3d/1722420834706/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>
<script>
System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1722416504045/index.js').catch(function (err) {
System.import('//yun.duiba.com.cn/db_games/ccc_game/template3d/1722420834706/index.js').catch(function (err) {
console.error(err);
})
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment