Pārlūkot izejas kodu

修改精品大仓和鼎盛联盟微调

许雷 3 gadi atpakaļ
vecāks
revīzija
7c90900dae
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 2 1
      src/pages/product/dingshenglianmeng.vue
  2. 2 1
      src/pages/vip/index.vue

+ 2 - 1
src/pages/product/dingshenglianmeng.vue

@@ -17,7 +17,7 @@
17 17
 		    </swiper-item>
18 18
 		  </swiper>
19 19
 		</div>
20
-      <div class="p-3">
20
+      <div class="p-3" v-if="list && list.length > 0">
21 21
         <div>
22 22
           <grid-view type="masonry" cross-axis-count="2" 	cross-axis-gap="10px" main-axis-gap="10px">
23 23
             <div v-for="(item, index) in list"
@@ -46,6 +46,7 @@
46 46
           </grid-view>
47 47
         </div>
48 48
       </div>
49
+      <CXBEmpty v-else/>
49 50
     </scroll-view>
50 51
 
51 52
 </template>

+ 2 - 1
src/pages/vip/index.vue

@@ -219,7 +219,8 @@ function loadList(action: 'page' | 'reload', callback?: (items) => void) {
219 219
   // console.log(state.keyword)
220 220
   const params = {
221 221
     page: state.currentPage,
222
-    limit: state.pageSize
222
+    limit: state.pageSize,
223
+    keyword:'',
223 224
   }
224 225
   if (state.keyword) {
225 226
     params.keyword = state.keyword