twt hai 1 ano
pai
achega
463b6a1e76
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      pages/index/index.vue
  2. 1 1
      pages/user/user.vue

+ 1 - 1
pages/index/index.vue

@@ -173,7 +173,7 @@
 		
 		<!-- 热门商品 -->
 		<view v-if="homeCardList.openMGoods">
-			<view class="" v-if="homeCardList.openMGoods.goodsList.length>0">
+			<view class="" v-if="homeCardList.openMGoods.goodsList&&homeCardList.openMGoods.goodsList.length>0">
 				<view class="Hot" v-if="homeCardList.openMGoods.showType==1">
 					<view class="hotTop">
 						<view class="hotLeft">

+ 1 - 1
pages/user/user.vue

@@ -57,7 +57,7 @@
 		</view>
 		
         <!-- 卡制度-->
-		<view v-if="showSetting.isShowCardSystem">
+		<view v-if="showSetting.isShowCardSystem&&f2csystemlist">
 				<view >
 				<swiper class="swiper2"  :autoplay="false" :interval="interval"
 								:duration="duration" :indicator-dots="true" indicator-color="#CCCCCC" :indicator-active-color="'#'+themeColor">