Commit 960d768f authored by 韦燕's avatar 韦燕

feat:merge

parent 0db0522d
......@@ -11,8 +11,6 @@
<!-- <web-view id="web-view" src="https://gamification-sbx.tngdigital.com.my/app/skin/Treasure_Mania.html" onMessage="onMessage"/> -->
<!-- <web-view id="web-view" src="https://gamification-sbx.tngdigital.com.my/app/skin/Purrfect_Jump.html" onMessage="onMessage"/> -->
<!-- <web-view id="web-view" src="https://gamification-sbx.tngdigital.com.my/app/skin/Starship_Showdown.html" onMessage="onMessage"/> -->
<!-- prod -->
<!-- <web-view id="web-view" src="https://gamification.tngdigital.com.my/app/skin/Cave_Cruiser.html" onMessage="onMessage"/> -->
<!-- <web-view id="web-view" src="https://gamification.tngdigital.com.my/app/skin/Treasure_Mania.html" onMessage="onMessage"/> -->
......
......@@ -86,6 +86,22 @@ Page({
console.log('fail')
}
);
} else if(eventType == 'bannerJump') {
const {bannerUrl} = e.detail
console.info("bannerUrl", bannerUrl)
const scheme = "tngdwallet://client/dl/webview?url=" + encodeURIComponent(bannerUrl);
my.call(
'startDeepLink',
{scheme},
function(){
console.log('success')
},
function(){
console.log('fail')
}
);
}
},
});
<!--pages/index/index.wxml-->
<text>pages/index/index.wxml</text>
{
"compileType": "miniprogram",
"setting": {
"coverView": true,
"es6": true,
"postcss": true,
"minified": true,
"enhance": true,
"showShadowRootInWxmlPanel": true,
"packNpmRelationList": [],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"ignoreUploadUnusedFiles": true
},
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "3.7.12",
"packOptions": {
"ignore": [],
"include": []
},
"appid": "wx347a9d0ef0d9fd60"
}
\ No newline at end of file
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "tngdmini",
"setting": {
"compileHotReLoad": true
}
}
\ No newline at end of file
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