|
@@ -470,22 +470,9 @@
|
|
|
<div class="point1 point2">2、找到 我的工具 - <span class="my">[激活码] </span>,点击激活码
|
|
|
即可兑换使用激活码啦。</div>
|
|
|
<img class="point-img" src="../static/img/point2.png" />
|
|
|
- <div class="get-success-block" v-if="!isWechat">
|
|
|
+ <div class="get-success-block">
|
|
|
<div class="get-success">下载APP</div>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
- <wx-open-launch-weapp
|
|
|
- id="launch-btn"
|
|
|
- username="gh_f414d72f418a"
|
|
|
- path="pages/home/home"
|
|
|
- >
|
|
|
- <script type="text/wxtag-template">
|
|
|
- <div class="get-success-block">
|
|
|
- <div class="get-success">打开小程序并复制激活码</div>
|
|
|
- </div>
|
|
|
- </script>
|
|
|
- </wx-open-launch-weapp>
|
|
|
- </div>
|
|
|
<img class="close" src="img/close.png" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -531,13 +518,14 @@
|
|
|
copyUrl();
|
|
|
}else{
|
|
|
if (u.match(/MicroMessenger/i) == "micromessenger") {
|
|
|
- var btn = document.getElementById('launch-btn');
|
|
|
- btn.addEventListener('launch', function (e) {
|
|
|
- console.log('success');
|
|
|
- });
|
|
|
- btn.addEventListener('error', function (e) {
|
|
|
- console.log('fail', e.detail);
|
|
|
- });
|
|
|
+ // var btn = document.getElementById('launch-btn');
|
|
|
+ // btn.addEventListener('launch', function (e) {
|
|
|
+ // console.log('success');
|
|
|
+ // });
|
|
|
+ // btn.addEventListener('error', function (e) {
|
|
|
+ // console.log('fail', e.detail);
|
|
|
+ // });
|
|
|
+ location.href = 'weixin://dl/business/?t=sg6FNjcPWip';
|
|
|
}else{
|
|
|
download();
|
|
|
}
|
|
@@ -608,7 +596,6 @@
|
|
|
uuid: '',
|
|
|
flag: true,
|
|
|
timer: null,
|
|
|
- isWechat: true,
|
|
|
phoneType: '',
|
|
|
type: GetRequest().type,
|
|
|
dataObj: {}
|
|
@@ -823,8 +810,7 @@
|
|
|
$('.get-success').eq(0).text('下载APP并复制激活码');
|
|
|
}
|
|
|
if(u.match(/MicroMessenger/i)=="micromessenger"){
|
|
|
- // $('.get-success').eq(0).text('打开小程序并复制激活码');
|
|
|
- this.isWechat = true;
|
|
|
+ $('.get-success').eq(0).text('打开小程序并复制激活码');
|
|
|
}
|
|
|
$('.dialog').animate({top: '1.8rem'},"fast");
|
|
|
$('.mask').show();
|