| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <link rel="stylesheet" href="css/weui.min.css"/>
- <link rel="stylesheet" href="css/weuix.min.css"/>
- <link rel="stylesheet" href="css/style.css">
- <script src="js/md5.js"></script>
- <script src="js/vue.min.js"></script>
- <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>
- <div id="myApp" class="bg-box">
- <img alt="" class="headImg-box" :src=headSrc>
- <div class="content-box">
- <img alt="" :src=contentSrc />
- </div>
- <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="" @click="goWeChat" />
- </div>
- </body>
- <script>
- // wx.config({
- // debug: false,
- // appId: "<?php echo $signature['appId']; ?>",
- // timestamp: <?php echo $signature['timestamp']; ?> ,
- // nonceStr : "<?php echo $signature['nonceStr']; ?>",
- // signature: "<?php echo $signature['signature']; ?>",
- // jsApiList: [
- // 'imagePreview', 'chooseImage', 'uploadImage'
- // ]
- // });
- new Vue({
- el:'#myApp',
- data:{
- num:52255,
- headSrc:'image/headImg.png',
- contentSrc:"image/content-bg.png"
- },
- 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)
- })
- }
- })
- </script>
- </html>
|