Prechádzať zdrojové kódy

commit -m 供应商

zhengjinyi 4 rokov pred
rodič
commit
7b7bcd10bf

+ 1 - 2
components/cm-module/cm-seller/home.vue

@@ -214,8 +214,7 @@
 				}
 				return false
 			},
-			//轮播图切换修改背景色
-			swiperChange(e) {
+			swiperChange(e) {//轮播图切换修改背景色
 				const index = e.detail.current;
 				this.current = index;
 			},

+ 1 - 1
supplier/pages/user/my-shop.vue

@@ -32,7 +32,7 @@
 			<view class="container-section tui-skeleton">
 				<view class="tab-title">主推商品</view>
 				<view class="section-product clearfix">
-					<view v-if="recommendList.length > 0" class="floor-item" v-for="(item, index) in recommendList" :key="index" @click.stop="navToDetailPage(item.id)">
+					<view v-if="recommendList" class="floor-item" v-for="(item, index) in recommendList" :key="index" @click.stop="navToDetailPage(item.id)">
 						<image class="item-img tui-skeleton-fillet" :src="item.image" mode="aspectFill"></image>
 						<view class="floor-item-content">
 							<view class="title tui-skeleton-rect">