Преглед изворни кода

Merge branch 'dev' of http://git.izouma.com/xiongzhu/raex_front into dev

yuanyuan пре 3 година
родитељ
комит
f6fbcdfb65
2 измењених фајлова са 7 додато и 2 уклоњено
  1. 3 0
      src/components/product/SaleInfo.vue
  2. 4 2
      src/styles/app.less

+ 3 - 0
src/components/product/SaleInfo.vue

@@ -44,6 +44,7 @@
                 <div class="bottom">
                     <div class="name">{{ item.name }}</div>
                     <div class="num" v-if="getNum(item)">#{{ getNum(item) }}</div>
+                    <div class="num" v-else></div>
                     <div class="buy" v-if="!item.soldOut">
                         <span>{{ !item.salable ? '去看看' : '去购买' }}</span>
 
@@ -281,6 +282,8 @@ export default {
 /deep/.van-action-sheet {
     .van-action-sheet__header {
         border-bottom-width: 0;
+        font-size: 16px;
+        font-weight: bold;
     }
 }
 

+ 4 - 2
src/styles/app.less

@@ -308,10 +308,12 @@ input:-webkit-autofill {
     }
 }
 .saleSheet {
-    min-height: 61.8vh;
-    max-height: 61.8vh;
+    min-height: 80vh;
+    max-height: 80vh;
     .van-action-sheet__header {
         border-bottom-width: 0px;
+        font-size: 16px;
+        font-weight: bold;
     }
     .van-action-sheet__description {
         text-align: left;