Pārlūkot izejas kodu

Merge branch 'dev-4.9.3' of http://192.168.32.253:3000/Software/android-cloud-H5 into dev-4.9.3

heyang 3 gadi atpakaļ
vecāks
revīzija
2ba16cd55a

+ 11 - 8
microserviceUserH5/vcloud/actFission.html

@@ -342,7 +342,7 @@
 			data: {
 				isshow: false,
 				token: GetRequest().token ? GetRequest().token :
-					'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyYW5kb20iOiI5ODE3NCIsImNsaWVudCI6IjAiLCJleHAiOjE2NDA2NDI1MTcsInVzZXJuYW1lIjoiYWRtaW4ifQ.taBhQ8qBEhLNfo2l80iIboKpMJl-eEyo9MmZEB_Qfes',
+					'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyYW5kb20iOiIzMTE4NiIsImNsaWVudCI6IjUiLCJleHAiOjE2NDA4NDU5OTgsInVzZXJuYW1lX2FwcGxldCI6Ik1WQm5LMTYzMTY3NjI4NyJ9.e0-pXxv4nPJMMgqpZGtEpit5u8MeH8fCPgYRRNjOwQc',
 				rewardList: [],
 				queryParams: {
 					pageNum: 1,
@@ -366,12 +366,9 @@
 			},
 			mounted() {
 				this.getActDetailList(); //获取活动上下架
-				//	this.getActDetail();
+
 				this.getMarquee(); //跑马灯
-				// localStorage.getItem("uuid")
 
-				// console.log(uuid);
-				// //this.getList();
 
 			},
 			methods: {
@@ -407,7 +404,7 @@
 								shareImg: shareImg
 							});
 						}
-					});
+					})
 
 				},
 				standarImg(id) {
@@ -462,7 +459,10 @@
 							}
 						}
 
-					})
+					}).catch((error) => {
+						console.log(error)
+						this.$toast('网络异常');
+					});
 
 				},
 				//滚动加载时触发,list组件定义的方法
@@ -502,7 +502,10 @@
 								return
 
 							}
-						})
+						}).catch((error) => {
+							console.log(error)
+							this.$toast('网络异常');
+						});
 					})
 
 				},

+ 485 - 11
microserviceUserH5/vcloud/actFissionShare.html

@@ -4,27 +4,501 @@
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
-    <meta name="description" content="分享攻略 ">
+    <meta name="description" content=" ">
     <link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
-    <!-- <link rel="stylesheet" href="../static/css/index.css?v=1.0.0.3">
-    <link rel="stylesheet" href="../static/css/vant.css" /> -->
+    <link rel="stylesheet" href="../static/css/index.css?v=1.0.0.6">
+    <link rel="stylesheet" href="../static/css/vant.css" />
+    <script src="../static/js/vender/jquery-3.4.1.min.js"></script>
+    <!-- <script src="../static/js/vender/vue/vue.min.js"></script>
+    <script src="../static/js/vender/vue/vant.min.js"></script>
     <script src="../static/js/vender/config.js"></script>
- 
-    <title>攻略分享 </title>
+    <script src="../static/js/vender/uuid.js"></script>
+    <script src="../static/js/vender/vue/axios.min.js"></script>
+    <script src="../static/js/vender/vue/config.js"></script>
+    <script src="../static/js/vender/vue/api.js"></script> -->
+    <title> 分享攻略</title>
     <style>
-      
+        [v-cloak] {
+            display: none !important;
+        }
+
+        .container {
+            display: flex;
+            height: 100vh;
+            padding: 0.2rem 0.3rem;
+            /* align-items: center;
+			justify-content: center; */
+        }
+
+        .top-banner {
+            width: 6.82rem;
+            height: 0.82rem;
+            background: url("../static/offImg/share-top.png") no-repeat;
+            background-size: 100% 100%;
+        }
+
+        .footer {
+            position: fixed;
+            bottom: 0.5rem;
+            padding: 0 0.3rem;
+            width: 100%;
+            left: 0;
+            display: flex;
+            justify-content: center;
+        }
+
+        .download-btn {
+            width: 6.9rem;
+            height: 1.3rem;
+            background: url('../static/offImg/btn-down.png') no-repeat scroll top center #3B7FFF;
+            background-size: 100% 100%;
+            box-shadow: 0rem 0.06rem 0.4rem 0rem rgba(59, 127, 255, 0.6);
+            border-radius: 0.2rem;
+            display: flex;
+            justify-content: space-between;
+            align-items: center;
+            padding: 0 0.4rem;
+
+        }
+
+        .button-download {
+            width: 2.5rem;
+            height: 0.8rem;
+            line-height: 0.8rem;
+            background: linear-gradient(360deg, #FF8300 0%, #FEC000 100%);
+            border-radius: 0.2rem;
+            text-align: center;
+            font-size: 0.3rem;
+            font-family: PingFangSC-Medium, PingFang SC;
+            color: #FFFFFF;
+        }
+
+
+        .download-btn .left-nav p:first-of-type {
+            font-size: 0.24rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            font-weight: 400;
+            color: rgba(255, 255, 255, 0.7);
+            margin-bottom: 0.02rem;
+        }
+
+        .download-btn .left-nav p+p {
+            font-size: 0.28rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            font-weight: 400;
+            color: rgba(255, 255, 255, 0.9);
+        }
+
+        .hideContainer {
+            width: 100%;
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            height: calc(100vh - 1.36rem);
+            text-align: center;
+
+        }
+
+        .hideContainer img {
+            width: 2.8rem;
+            height: 2.8rem;
+        }
+
+        .hideContainer p {
+            margin-top: 0.3rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            color: #999999;
+            font-size: 0.28rem;
+        }
+
+        .top-content {
+            width: 6.9rem;
+            padding-bottom: 0.3rem;
+
+        }
+
+        .top-content .title {
+            font-size: 0.44rem;
+            font-family: PingFangSC-Medium, PingFang SC;
+            color: #000000;
+            letter-spacing: 0.01rem;
+            margin-bottom: 0.2rem;
+        }
+
+        .topic-info {
+            padding-bottom: 1.6rem;
+
+        }
+
+        .topic-info img {
+            max-width: 100%;
+            width: auto;
+            height: auto;
+            border-radius: 0.2rem;
+            margin-bottom: 0.2rem;
+            margin-top: 0.2rem;
+        }
+
+        .topic-info {
+            font-size: 0.3rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            font-weight: 400;
+            color: #333333;
+            letter-spacing: 0.02rem;
+
+        }
+
+        .topic-info p {
+            font-size: 0.36rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            font-weight: 400;
+            color: #333333;
+            letter-spacing: 0.02rem;
+
+        }
+
+        .van-notice-bar {
+            height: 100%;
+            background: none;
+            width: 100%;
+        }
+
+        .notice-swipe {
+            height: 0.8rem;
+            line-height: 0.8rem;
+        }
+
+        .van-swipe-item {
+            display: flex;
+            align-items: center;
+        }
+
+        .van-swipe-item img {
+            width: 0.6rem;
+            margin-left: 0.3rem;
+            border-radius: 50%;
+            margin-right: 0.1rem;
+            height: 0.6rem;
+        }
+
+        .van-swipe-item p {
+            font-size: 0.28rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            color: #FFFFFF;
+        }
+
+        .van-swipe-item p:first-of-type {
+            max-width: 2.4rem;
+            display: block;
+            overflow: hidden;
+            word-break: keep-all;
+            white-space: nowrap;
+            text-overflow: ellipsis;
+        }
+
+        .topic-info img {
+            max-width: 100%;
+            width: auto;
+            height: auto;
+            border-radius: 0.2rem;
+            margin-bottom: 0.2rem;
+            margin-top: 0.2rem;
+        }
+
+        .topic-info p {
+            font-size: 0.3rem;
+            font-family: PingFangSC-Regular, PingFang SC;
+            font-weight: 400;
+            color: #333333;
+            letter-spacing: 0.02rem;
+
+        }
+
+        .van-dialog__footer {
+            display: none;
+        }
+
+        .top-banner {
+            margin: 0 auto;
+        }
+
+
+
+        .hide {
+            display: none;
+        }
     </style>
 </head>
 
 <body>
- 
-   
-    <!-- <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> -->
 
+    <div id="app" v-cloak class="container ">
+        <div v-if='isshow&&topic!=null' style="margin: 0 auto;">
+
+            <div class="top-banner">
+                <van-notice-bar :scrollable="false">
+                    <van-swipe vertical class="notice-swipe" :autoplay="2000" :show-indicators="false">
+                        <van-swipe-item v-for="(item,index) in marqueeList">
+                            <img :src="standarImg(item.headImgUrl)" :onerror="defaultImg" alt="">
+                            <p class="hide">测试1212111111112</p>
+                            <p>{{item.surfaceName}}</p>
+                            <p>已获得星动云手机套餐</p>
+                        </van-swipe-item>
+
+                    </van-swipe>
+                </van-notice-bar>
+            </div>
+            <div class="top-content">
+                <div v-html="topic" class="topic-info"></div>
+                <div class="ipt"></div>
+
+            </div>
+            <div class="footer">
+                <div class="download-btn">
+                    <div class="left-nav">
+                        <p>激活码:</p>
+                        <p>AS4*********SD3</p>
+                    </div>
+                    <div class="button-download copybtn" @click='createCopy()'>点击复制并下载</div>
+                </div>
+            </div>
+        </div>
+        <div v-if='!isshow' class="hideContainer">
+            <div>
+                <img src="../static/offImg/no-data.png" alt="" />
+                <p>{{msg}},敬请期待</p>
+            </div>
+        </div>
+    </div>
+    <!-- <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> -->
+    <script src="../static/js/vender/vue/vue.min.js"></script>
+    <script src="../static/js/vender/vue/vant.min.js"></script>
+    <script src="../static/js/vender/config.js"></script>
+    <script src="../static/js/vender/uuid.js"></script>
+    <script src="../static/js/vender/vue/axios.min.js"></script>
+    <script src="../static/js/vender/vue/config.js"></script>
+    <script src="../static/js/vender/vue/api.js"></script>
 
     <script type="text/javascript">
-    let username= GetRequest().username ? GetRequest().username : 'Cqowt16032622'
-     window.location.href='./test.html?username='+username;
+        // var meta_description = document.getElementsByTagName('meta')['description']
+        // document.title = '更新标题'
+        // meta_description.content = '更新描述'; // Android iOS
+
+        var u = navigator.userAgent,
+            app = navigator.appVersion;
+        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
+        var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
+
+        new Vue({
+            el: '#app',
+            data: {
+                isshow: true,
+                id: GetRequest().id ? GetRequest().id : 404,
+                username: GetRequest().username ? GetRequest().username : 'KtIC61639034703',
+                topic: null,
+                defaultImg: 'this.src="' + "../static/offImg/tou.png" + '"',
+                marqueeList: [],
+                code: '',
+                msg: '活动已下架',
+                tagId: 0,
+                uuid: '',
+                flag: true,
+                timer: null,
+
+            },
+            created() {
+                // window.location.href = 'investigate.html'
+            },
+            mounted() {
+                //  document.querySelector('#app').classList.remove('hide');
+                this.getActDetail();
+                this.getMarquee(); //跑马灯
+                if (localStorage.getItem("uuid")) {
+                    this.uuid = localStorage.getItem("uuid");
+                } else {
+                    this.uuid = UUID.generate();
+                    localStorage.setItem("uuid", this.uuid);
+                }
+                console.log(this.uuid);
+            },
+            methods: {
+                //查看活动是否下架
+                getActDetail() { //获取活动状态
+                    getActDetail().then(res => {
+                        this.$toast.clear();
+                        if (res.status === 0) {
+                            if (res.data.actStatus == 1) {
+                                this.isshow = true;
+                                this.getStrategy();
+                            } else {
+                                this.isshow = false;
+                            }
+                        } else {
+                            this.$toast(res.msg);
+                        }
+                    }).catch((error) => {
+                        console.log(error)
+                        this.$toast('网络异常');
+                    });
+                },
+                getCheck() {
+                    getEvantCheck(this.id).then(res => {
+                        console.log(res)
+                    })
+                },
+                createCopy() {
+                    // this.$toast.loading({
+                    //     duration: 0,
+                    //     message: '加载中...',
+                    //     forbidClick: true,
+                    //     loadingType: 'spinner',
+                    // });
+                    systemBuriedPoint({
+                        pointName: 'dt_裂变_h5_复制激活码'
+                    }).then(res => {})
+                    // var clipboard = new ClipboardJS('.copybtn')
+                    getActivationCode(this.username, this.tagId, this.uuid).then(res => {
+                        this.$toast.clear();
+                        if (res.status === 0) {
+                            //此处为点击的dom的类名
+                            this.code = res.data;
+                            console.log(this.code);
+                            this.copyUrl(this.code);
+                        } else {
+                            this.$dialog.alert({
+                                message: res.msg
+                            });
+                            setTimeout(() => {
+                                this.$dialog.close();
+                            }, 2000)
+                        }
+
+                    }).catch((error) => {
+                        console.log(error)
+                        this.$toast('复制失败');
+                    });
+
+                },
+                download() {
+                    if (isAndroid) {
+                        console.log(isAndroid);
+                        window.location.href =
+                            'http://www.androidscloud.com//suanchou';
+                    } else if (isIOS) {
+                        window.location.href = 'https://www.pgyer.com/gemini6';
+                    }
+                },
+                standarImg(id) {
+                    return `${fileCenterApi}/file-center/fileOperate/getImage?id=${id}`;
+                },
+                getMarquee() {
+                    getMarquee().then(res => {
+                        if (res.status === 0) {
+                            this.marqueeList = res.data;
+                        } else {
+                            this.$toast(res.msg);
+                        }
+                    })
+                },
+                getStrategy() {
+                    this.$toast.loading({
+                        duration: 0,
+                        message: '加载中...',
+                        forbidClick: true,
+                        loadingType: 'spinner',
+                    });
+                    getStrategy().then(res => {
+                        this.$toast.clear();
+                        if (res.status == 0) {
+                            if (res.data) {
+                                this.isshow = true;
+                                this.topic = res.data.content;
+                                this.tagId = res.data.tagId;
+                                console.log(this.topic)
+                            } else {
+                                this.msg = res.msg;
+                                this.isshow = false;
+
+                            }
+
+                        }
+                        console.log(res)
+
+                    }).catch((error) => {
+                        console.log(error)
+                        this.$toast('网络异常');
+                    });
+                },
+                copyUrl() {
+                    this.stopManyClick(() => {
+                        var oInput = document.createElement('input'); //创建一个input
+                        oInput.setAttribute("readonly", "readonly"); //设置只读,否则移动端使用复制功能时可能会造成软件盘弹出
+                        // this.$nextTick();
+                        setTimeout(() => {
+                            try {
+                                const input = document.createElement('textarea')
+                                input.value = this.code
+                                document.body.appendChild(input)
+                                input.select() // 选择对象
+                                document.execCommand('Copy') // 执行浏览器复制命令
+                                input.style.display = 'none'
+                                input.remove()
+                                this.$dialog.alert({
+                                    message: `复制成功`
+                                });
+                                setTimeout(() => {
+                                    this.$dialog.close();
+                                    this.download();
+                                }, 2000)
+                            } catch (err) {
+                                this.$dialog.alert({
+                                    message: `复制失败`
+                                });
+                                setTimeout(() => {
+                                    this.$dialog.close();
+                                    //  this.download();
+                                }, 2000)
+                            }
+                        }, 0)
+
+                    })
+
+                },
+                selectText(textbox, startIndex, stopIndex) {
+                    if (textbox.createTextRange) { //ie
+                        const range = textbox.createTextRange();
+                        range.collapse(true);
+                        range.moveStart('character', startIndex); //起始光标
+                        range.moveEnd('character', stopIndex - startIndex); //结束光标
+                        range.select(); //不兼容苹果
+                    } else { //firefox/chrome
+                        textbox.setSelectionRange(startIndex, stopIndex);
+                        textbox.focus();
+                    }
+                },
+                stopManyClick(fn) { //防抖
+                    if (this.flag) {
+                        fn();
+                    }
+                    this.flag = false;
+                    if (this.timer) {
+                        clearTimeout(this.timer);
+                    }
+                    this.timer = setTimeout(() => {
+                        this.flag = true
+                    }, 1500);
+                },
+                onCopy() {
+                    console.log(2323);
+                    this.$toast('复制成功');
+                },
+                onError() {
+                    this.$toast('复制失败');
+
+                },
+            }
+
+        })
     </script>
 </body>
 

+ 13 - 3
microserviceUserH5/vcloud/share.html

@@ -103,6 +103,13 @@
 			margin-top: 0.2rem;
 		}
 
+		.topic-info {
+			font-size: 0.32rem;
+			letter-spacing: 0.02rem;
+			font-family: PingFangSC-Regular, PingFang SC;
+			color: #333333;
+		}
+
 		.topic-info p {
 			font-size: 0.36rem;
 			font-family: PingFangSC-Regular, PingFang SC;
@@ -121,8 +128,8 @@
 			font-family: PingFangSC-Semibold, PingFang SC;
 			font-weight: 600;
 			color: #333333;
-			margin-bottom: 0.12rem;
-			margin-top: 0.12rem;
+			/* margin-bottom: 0.12rem;
+			margin-top: 0.12rem; */
 		}
 	</style>
 </head>
@@ -209,7 +216,10 @@
 						} else {
 
 						}
-					})
+					}).catch((error) => {
+						console.log(error)
+						this.$toast('网络异常');
+					});
 				}
 
 

+ 7 - 463
microserviceUserH5/vcloud/test.html

@@ -6,480 +6,24 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
     <meta name="description" content="分享攻略 ">
     <link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
-    <link rel="stylesheet" href="../static/css/index.css?v=1.0.0.3">
-    <link rel="stylesheet" href="../static/css/vant.css" />
-    <!-- <script src="../static/js/vender/vue/vue.min.js"></script>
-    <script src="../static/js/vender/vue/vant.min.js"></script>
+    <!-- <link rel="stylesheet" href="../static/css/index.css?v=1.0.0.3">
+    <link rel="stylesheet" href="../static/css/vant.css" /> -->
     <script src="../static/js/vender/config.js"></script>
-    <script src="../static/js/vender/uuid.js"></script>
-    <script src="../static/js/vender/vue/axios.min.js"></script>
-    <script src="../static/js/vender/vue/config.js"></script>
-    <script src="../static/js/vender/vue/api.js"></script> -->
+ 
     <title>攻略分享 </title>
     <style>
-        [v-cloak] {display: none !important;}
-        .container {
-            display: flex;
-            height: 100vh;
-            padding: 0.2rem 0.3rem;
-            /* align-items: center;
-			justify-content: center; */
-        }
-
-        .top-banner {
-            width: 6.82rem;
-            height: 0.82rem;
-            background: url("../static/offImg/share-top.png") no-repeat;
-            background-size: 100% 100%;
-        }
-
-        .footer {
-            position: fixed;
-            bottom: 0.5rem;
-            padding: 0 0.3rem;
-            width: 100%;
-            left: 0;
-            display: flex;
-            justify-content: center;
-
-
-        }
-
-        .download-btn {
-            width: 6.9rem;
-            height: 1.3rem;
-            background: url('../static/offImg/btn-down.png') no-repeat scroll top center #3B7FFF;
-            background-size: 100% 100%;
-            box-shadow: 0rem 0.06rem 0.4rem 0rem rgba(59, 127, 255, 0.6);
-            border-radius: 0.2rem;
-            display: flex;
-            justify-content: space-between;
-            align-items: center;
-            padding: 0 0.4rem;
-
-        }
-
-        .button-download {
-            width: 2.5rem;
-            height: 0.8rem;
-            line-height: 0.8rem;
-            background: linear-gradient(360deg, #FF8300 0%, #FEC000 100%);
-            border-radius: 0.2rem;
-            text-align: center;
-            font-size: 0.3rem;
-            font-family: PingFangSC-Medium, PingFang SC;
-            color: #FFFFFF;
-        }
-
-
-        .download-btn .left-nav p:first-of-type {
-            font-size: 0.24rem;
-            font-family: PingFangSC-Regular, PingFang SC;
-            font-weight: 400;
-            color: rgba(255, 255, 255, 0.7);
-            margin-bottom: 0.02rem;
-        }
-
-        .download-btn .left-nav p+p {
-            font-size: 0.28rem;
-            font-family: PingFangSC-Regular, PingFang SC;
-            font-weight: 400;
-            color: rgba(255, 255, 255, 0.9);
-        }
-
-        .hideContainer {
-            width: 100%;
-            display: flex;
-            justify-content: center;
-            align-items: center;
-            height: calc(100vh - 1.36rem);
-            text-align: center;
-
-        }
-
-        .hideContainer img {
-            width: 2.8rem;
-            height: 2.8rem;
-        }
-
-        .hideContainer p {
-            margin-top: 0.3rem;
-            font-family: PingFangSC-Regular, PingFang SC;
-            color: #999999;
-            font-size: 0.28rem;
-        }
-
-        .top-content {
-            width: 6.9rem;
-            padding-bottom: 0.3rem;
-
-        }
-
-        .top-content .title {
-            font-size: 0.44rem;
-            font-family: PingFangSC-Medium, PingFang SC;
-            color: #000000;
-            letter-spacing: 0.01rem;
-            margin-bottom: 0.2rem;
-        }
-
-        .topic-info {
-            padding-bottom: 1.6rem;
-
-        }
-
-        .topic-info img {
-            max-width: 100%;
-            width: auto;
-            height: auto;
-            border-radius: 0.2rem;
-            margin-bottom: 0.2rem;
-            margin-top: 0.2rem;
-        }
-
-        .topic-info p {
-            font-size: 0.36rem;
-            font-family: PingFangSC-Regular, PingFang SC;
-            font-weight: 400;
-            color: #333333;
-            letter-spacing: 0.02rem;
-
-        }
-
-        .van-notice-bar {
-            height: 100%;
-            background: none;
-            width: 100%;
-        }
-
-        .notice-swipe {
-            height: 0.8rem;
-            line-height: 0.8rem;
-        }
-
-        .van-swipe-item {
-            display: flex;
-            align-items: center;
-        }
-
-        .van-swipe-item img {
-            width: 0.6rem;
-            margin-left: 0.3rem;
-            border-radius: 50%;
-            margin-right: 0.1rem;
-            height: 0.6rem;
-        }
-
-        .van-swipe-item p {
-            font-size: 0.28rem;
-            font-family: PingFangSC-Regular, PingFang SC;
-            color: #FFFFFF;
-        }
-
-        .van-swipe-item p:first-of-type {
-            max-width: 2.4rem;
-            display: block;
-            overflow: hidden;
-            word-break: keep-all;
-            white-space: nowrap;
-            text-overflow: ellipsis;
-        }
-
-        .topic-info img {
-            max-width: 100%;
-            width: auto;
-            height: auto;
-            border-radius: 0.2rem;
-            margin-bottom: 0.2rem;
-            margin-top: 0.2rem;
-        }
-
-        .topic-info p {
-            font-size: 0.3rem;
-            font-family: PingFangSC-Regular, PingFang SC;
-            font-weight: 400;
-            color: #333333;
-            letter-spacing: 0.02rem;
-
-        }
-
-        .van-dialog__footer {
-            display: none;
-        }
-
-        .top-banner {
-            margin: 0 auto;
-        }
-
-        h1,
-        h2,
-        h3,
-        h4,
-        h5 {
-            font-size: 0.32rem;
-            font-family: PingFangSC-Semibold, PingFang SC;
-            font-weight: 600;
-            color: #333333;
-            /* margin-bottom: 0.12rem;
-			margin-top: 0.12rem; */
-        }
-
-        .hide {
-            display: none;
-        }
+      
     </style>
 </head>
 
 <body>
  
-    <div id="app" v-cloak class="container ">
-        <div v-if='isshow&&topic!=null' style="margin: 0 auto;">
-
-            <div class="top-banner">
-                <van-notice-bar :scrollable="false">
-                    <van-swipe vertical class="notice-swipe" :autoplay="2000" :show-indicators="false">
-                        <van-swipe-item v-for="(item,index) in marqueeList">
-                            <img :src="standarImg(item.headImgUrl)" :onerror="defaultImg" alt="">
-                            <p>{{item.surfaceName}}</p>
-                            <p>已获得星动云手机套餐</p>
-                        </van-swipe-item>
-
-                    </van-swipe>
-                </van-notice-bar>
-            </div>
-            <div class="top-content">
-                <div v-html="topic" class="topic-info"></div>
-
-            </div>
-            <div class="footer">
-                <div class="download-btn">
-                    <div class="left-nav">
-                        <p>激活码:</p>
-                        <p>AS4*********SD3</p>
-                    </div>
-                    <div class="button-download copybtn" @click='createCopy()'>点击复制并下载</div>
-                </div>
-            </div>
-        </div>
-        <div v-if='!isshow' class="hideContainer">
-            <div>
-                <img src="../static/offImg/no-data.png" alt="" />
-                <p>{{msg}},敬请期待</p>
-            </div>
-        </div>
-    </div>
+   
     <!-- <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> -->
-    <script src="../static/js/vender/vue/vue.min.js"></script>
-    <script src="../static/js/vender/vue/vant.min.js"></script>
-    <script src="../static/js/vender/config.js"></script>
-    <script src="../static/js/vender/uuid.js"></script>
-    <script src="../static/js/vender/vue/axios.min.js"></script>
-    <script src="../static/js/vender/vue/config.js"></script>
-    <script src="../static/js/vender/vue/api.js"></script>
 
     <script type="text/javascript">
-        // var meta_description = document.getElementsByTagName('meta')['description']
-        // document.title = '更新标题'
-        // meta_description.content = '更新描述'; // Android iOS
-
-        var u = navigator.userAgent,
-            app = navigator.appVersion;
-        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
-        var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
-
-        new Vue({
-            el: '#app',
-            data: {
-                isshow: true,
-                id: GetRequest().id ? GetRequest().id : 404,
-                username: GetRequest().username ? GetRequest().username : 'Cqowt16032622',
-                topic: null,
-                defaultImg: 'this.src="' + "../static/offImg/tou.png" + '"',
-                marqueeList: [],
-                code: '',
-                msg: '活动已下架',
-                tagId: 0,
-                uuid: '',
-
-            },
-            created() {
-                // window.location.href = 'investigate.html'
-            },
-            mounted() {
-                //  document.querySelector('#app').classList.remove('hide');
-                this.getActDetail();
-                this.getMarquee(); //跑马灯
-                if (localStorage.getItem("uuid")) {
-                    this.uuid = localStorage.getItem("uuid");
-                } else {
-                    this.uuid = UUID.generate();
-                    localStorage.setItem("uuid", this.uuid);
-                }
-                console.log(this.uuid);
-            },
-            methods: {
-
-                //查看活动是否下架
-                getActDetail() { //获取活动状态
-                    getActDetail().then(res => {
-                        this.$toast.clear();
-                        if (res.status === 0) {
-                            if (res.data.actStatus == 1) {
-                                this.isshow = true;
-                                this.getStrategy();
-                            } else {
-                                this.isshow = false;
-                            }
-
-                        } else {
-                            this.$toast(res.msg);
-                        }
-                    })
-                },
-                getCheck() {
-                    getEvantCheck(this.id).then(res => {
-                        console.log(res)
-                    })
-                },
-                createCopy() {
-
-                    // this.$toast.loading({
-                    //     duration: 0,
-                    //     message: '加载中...',
-                    //     forbidClick: true,
-                    //     loadingType: 'spinner',
-                    // });
-                    systemBuriedPoint({
-                        pointName: 'dt_裂变_h5_复制激活码'
-                    }).then(res => {
-
-                    })
-                    // var clipboard = new ClipboardJS('.copybtn')
-
-                    getActivationCode(this.username, this.tagId, this.uuid).then(res => {
-                        this.$toast.clear();
-                        if (res.status === 0) {
-                            //此处为点击的dom的类名
-                            this.code = res.data;
-                            console.log(this.code);
-
-                            try {
-                                if (isIOS) {
-                                    const input = document.createElement("input");
-                                    input.value = this.code;
-                                    document.body.appendChild(input);
-                                    input.select();
-                                    input.setSelectionRange(0, input.value.length);
-                                    document.execCommand('Copy');
-                                    document.body.removeChild(input);
-                                    this.$dialog.alert({
-                                        message: '复制成功'
-                                    });
-                                    setTimeout(() => {
-                                        this.$dialog.close();
-                                        this.download();
-                                    }, 2000)
-                                } else {
-                                    const input = document.createElement('textarea')
-                                    input.value = this.code;
-                                    document.body.appendChild(input)
-                                    input.select() // 选择对象
-                                    document.execCommand('Copy') // 执行浏览器复制命令
-                                    input.style.display = 'none'
-                                    input.remove()
-                                    // console.log(this.code);
-                                    this.$dialog.alert({
-                                        message: '复制成功'
-                                    });
-                                    setTimeout(() => {
-                                        this.$dialog.close();
-                                        this.download();
-                                    }, 2000)
-
-                                }
-
-                            } catch (err) {
-                                this.$dialog.alert({
-                                    message: '失败'
-                                });
-                                setTimeout(() => {
-                                    this.$dialog.close();
-                                }, 2000)
-                            }
-
-
-
-                        } else {
-                            this.$dialog.alert({
-                                message: res.msg
-                            });
-                            setTimeout(() => {
-                                this.$dialog.close();
-                            }, 2000)
-                        }
-
-                    })
-
-                },
-                download() {
-                    if (isAndroid) {
-                        window.location.href =
-                            'http://www.androidscloud.com//suanchou';
-                    } else if (isIOS) {
-                        window.location.href = 'https://www.pgyer.com/gemini6';
-                    }
-                },
-                standarImg(id) {
-                    return `${fileCenterApi}/file-center/fileOperate/getImage?id=${id}`;
-                },
-                getMarquee() {
-                    getMarquee().then(res => {
-                        if (res.status === 0) {
-                            this.marqueeList = res.data;
-                        } else {
-                            this.$toast(res.msg);
-                        }
-                    })
-                },
-                getStrategy() {
-                    this.$toast.loading({
-                        duration: 0,
-                        message: '加载中...',
-                        forbidClick: true,
-                        loadingType: 'spinner',
-                    });
-                    getStrategy().then(res => {
-                        this.$toast.clear();
-                        if (res.status == 0) {
-                            if (res.data) {
-                                this.isshow = true;
-                                this.topic = res.data.content;
-                                this.tagId = res.data.tagId;
-                                console.log(this.topic)
-                            } else {
-                                this.msg = res.msg;
-                                this.isshow = false;
-
-                            }
-
-                        }
-                        console.log(res)
-
-                    })
-                },
-                onCopy() {
-                    console.log(2323);
-                    this.$toast('复制成功');
-
-
-                },
-                onError() {
-                    this.$toast('复制失败');
-
-                },
-            }
-
-        })
+    let username= GetRequest().username ? GetRequest().username : 'dL8gP1638608074'
+     window.location.href='./actFissionShare.html?username='+username;
     </script>
 </body>