Explorar o código

修改h5适配样式

ymm %!s(int64=4) %!d(string=hai) anos
pai
achega
b3a3074ae4
Modificáronse 1 ficheiros con 11 adicións e 6 borrados
  1. 11 6
      microserviceUserH5/vcloud/actFissionShare.html

+ 11 - 6
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() {
@@ -392,10 +397,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;
 
                             }