浏览代码

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

heyang 3 年之前
父节点
当前提交
2c4ae19fbf
共有 1 个文件被更改,包括 13 次插入7 次删除
  1. 13 7
      microserviceUserH5/vcloud/actFissionShare.html

+ 13 - 7
microserviceUserH5/vcloud/actFissionShare.html

@@ -34,6 +34,8 @@
             padding: 0 0.3rem;
             width: 100%;
             left: 0;
+            display: flex;
+            justify-content: center;
 
 
         }
@@ -103,7 +105,7 @@
         }
 
         .top-content {
-            width: 100%;
+            width: 6.9rem;
             padding-bottom: 0.3rem;
 
         }
@@ -199,12 +201,15 @@
         .van-dialog__footer {
             display: none;
         }
+        .top-banner{
+            margin: 0 auto;
+        }
     </style>
 </head>
 
 <body>
     <div id="app" v-cloak class="container">
-        <div v-if='isshow&&topic'>
+        <div v-if='isshow&&topic' style="margin: 0 auto;">
 
             <div class="top-banner">
                 <van-notice-bar :scrollable="false">
@@ -256,8 +261,8 @@
                 defaultImg: 'this.src="' + "../static/offImg/tou.png" + '"',
                 marqueeList: [],
                 code: '',
-                msg:'活动已下架',
-                tagId:0,
+                msg: '活动已下架',
+                tagId: 0,
 
             },
             created() {
@@ -313,7 +318,7 @@
                         this.$toast.clear();
                         if (res.status === 0) {
                             //此处为点击的dom的类名
-                            this.code = res.data[0].code;
+                            this.code = res.data;
                             console.log(this.code);
 
                             try {
@@ -324,6 +329,7 @@
                                 document.execCommand('Copy') // 执行浏览器复制命令
                                 input.style.display = 'none'
                                 input.remove()
+                                console.log(this.code);
                                 this.$dialog.alert({
                                     message: '复制成功'
                                 });
@@ -392,10 +398,10 @@
                             if (res.data) {
                                 this.isshow = true;
                                 this.topic = res.data.content;
-                                this.tagId=res.data.tagId;
+                                this.tagId = res.data.tagId;
                                 console.log(this.topic)
                             } else {
-                                this.msg=res.msg;
+                                this.msg = res.msg;
                                 this.isshow = false;
 
                             }