|
|
@@ -12,6 +12,8 @@
|
|
|
<script src="js/zepto.min.js"></script>
|
|
|
<script src="js/zepto.weui.min.js"></script>
|
|
|
<script src="js/php.js"></script>
|
|
|
+ <script src="js/axios.min.js"></script>
|
|
|
+ <script src="js/weChatSdk.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
|
|
|
@@ -30,8 +32,8 @@
|
|
|
<div class="num-box">已有 <span style="color: #A4404E">{{num}}</span> 人领取成功</div>
|
|
|
|
|
|
|
|
|
- <img class="get-btn-box" src="image/get-free.gif" alt="" onclick="isfollowqr('http://open.weixin.qq.com/qr/code?username=hszuqiu')" />
|
|
|
-
|
|
|
+ <!--<img class="get-btn-box" src="image/get-free.gif" alt="" onclick="isfollowqr('http://open.weixin.qq.com/qr/code?username=hszuqiu')" />-->
|
|
|
+ <img class="get-btn-box" src="image/get-free.gif" alt="" @click="goWeChat" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
@@ -54,6 +56,8 @@
|
|
|
// });
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
new Vue({
|
|
|
el:'#myApp',
|
|
|
data:{
|
|
|
@@ -61,9 +65,16 @@
|
|
|
headSrc:'image/headImg.png',
|
|
|
contentSrc:"image/content-bg.png"
|
|
|
},
|
|
|
- methods:{},
|
|
|
+ methods:{
|
|
|
+ goWeChat(){
|
|
|
+ location.href = 'http://mp.weixin.qq.com/mp/getmasssendmsg?__biz=MzUzOTcwMjM0OQ==#wechat_webview_type=1&wechat_redirect'
|
|
|
+ }
|
|
|
+ },
|
|
|
mounted(){
|
|
|
-
|
|
|
+ fetch('https://www.baidu.com')
|
|
|
+ .then((res)=>{
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
|