Pārlūkot izejas kodu

修改移动端分享页面样式

q867427795 7 gadi atpakaļ
vecāks
revīzija
109e7fb764

+ 2 - 1
components/default/Header.vue

@@ -159,7 +159,8 @@
           window.location.href = '/personalMaterial'
         } else {
           if (tempEnterprise.isVendor === 313) {
-            window.location.href = '/vendor#/index'
+            window.location.href = '/vendor'
+            // window.location.href = '/vendor#/index'
           } else {
             window.location.href = '/register-saler'
           }

+ 17 - 6
components/mobile/share/store/CommodityList.vue

@@ -57,6 +57,7 @@
     .share_title {
       font-weight: bold;
       margin-top: 0.06rem;
+      float: left;
       span {
         width: 0.08rem;
         height: 0.3rem;
@@ -86,18 +87,28 @@
     .title {
       margin-bottom: .2rem;
       display: flex;
+      &::after {
+        content: ' ';
+        clear: both;
+        display: block;
+        visibility: hidden;
+        zoom: 1;
+      }
       img {
         width: 1.59rem;
         height: .45rem;
       }
       .date {
         flex: 1;
-        display: inline-block;
+        // display: inline-block;
         font-size: .21rem;
         color: #fa3f46;
-        position: relative;
-        top: .06rem;
-        left: .32rem;
+        // position: relative;
+        // top: .06rem;
+        // left: .32rem;
+        margin-left: .32rem;
+        margin-top: .06rem;
+        float: left;
         span {
           color: #fff;
           font-size: .24rem;
@@ -138,13 +149,13 @@
               color: #fb6f03;
             }
             span {
-              font-size: .21rem;
+              font-size: .24rem;
               color: #666;
             }
           }
           &.fr {
             // float: none;
-            font-size: .26rem;
+            font-size: .28rem;
             color: #e21616;
             line-height: .82rem;
             // width: 1.8rem;

+ 1 - 1
nuxt.config.js

@@ -122,7 +122,7 @@ module.exports = {
     '/register/**': baseUrl,
     '/logout/**': baseUrl,
     '/static/**': baseUrl,
-    '/vendor**': baseUrl,
+    // '/vendor**': baseUrl,
     '/trade/**': baseUrl,
     '/recommendation/**': baseUrl,
     '/store-service/**': baseUrl,

+ 2 - 1
pages/vendor/index.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="container" style="height: 300px;line-height: 300px;text-align: center;font-size: 24px;">
-    暂未开放卖家中心SSR版
+    
+    <!-- 暂未开放卖家中心SSR版 -->
   </div>
 </template>
 <script>