Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5e2aa59

Browse files
committed
add wechat jump
1 parent afa7f07 commit 5e2aa59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ <h1 class="header-tag-title">applinks</h1>
318318
o.imageUrl += G() + G() + "-" + G() + "-" + G() + "-" + G(); //加个随机数防止浏览器缓存
319319
//此处只服务于华为android手机无需进行机型判断了
320320
if (browser.isWechat) {
321-
writeWechatTip(o);
321+
//writeWechatTip(o);
322322
win.location.href = o.wechatUrl; //先去尝试拉取目标app
323323
}
324324

@@ -361,7 +361,8 @@ <h1 class="header-tag-title">applinks</h1>
361361
"iconnectTime":"1200", //等待多久去拉取内置app
362362
"dowmloadUrl":"http://download-c.huawei.com/download/downloadCenter?downloadId=98285&", //目标app的下载地址
363363
"downloadTime":"1200", //等待多久去下载目标app
364-
"imageUrl":"/content/dam/huawei-cbg-site/greate-china/cn/support/applinks/web.png?"
364+
"imageUrl":"/content/dam/huawei-cbg-site/greate-china/cn/support/applinks/web.png?",
365+
"wechatUrl":"http://sj.qq.com/myapp/detail.htm?apkName=com.huawei.pcassistant"
365366
});
366367
</script>
367368

0 commit comments

Comments
 (0)