wangning 5 лет назад
Родитель
Сommit
0d860f25f1
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      mallApp/src/pages/home/recent.vue

+ 4 - 2
mallApp/src/pages/home/recent.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="latest-content_box">
-    <view class="shop-list_box" v-if="show">
+    <view class="shop-list_box" v-if="!show">
       <template v-if="!$util.isEmpty(list)">
         <view
           :key="item.shopId"
@@ -163,7 +163,8 @@ export default {
   justify-content: space-between;
   flex-wrap: wrap;
   & > view {
-    width: 120upx;
+    width: 100upx;
+    margin: 0 10upx;
     margin-bottom: 70upx;
     & > .tit {
       vertical-align: middle;
@@ -178,6 +179,7 @@ export default {
       width: 100upx;
       height: 100upx;
       border-radius: 50%;
+      margin: 0 auto;
     }
   }
 }