zhengkaixin 2 éve
szülő
commit
6068f8b889

+ 1 - 1
pages/searchPile/chargeProcess/charge.vue

@@ -2,7 +2,7 @@
 	<view>
 		<ujp-navbar title="充电"  :is-back="isback" ></ujp-navbar>
 		<!-- 优惠 -->
-		<view class="discounts" style="padding:0 18px;">
+		<view class="discounts" style="padding:0 18px;" v-if="bannerList.length">
 			<u-swiper bg-color="#fff" :img-mode="'scaleToFill'" height="160" :list="bannerList" @click="clickBanner"
 				:name="'picUrl'">
 			</u-swiper>

+ 1 - 1
pages/user/finance/rechargeRes.vue

@@ -41,7 +41,7 @@
 			
 			
 		</view>
-		<view class="discounts" style="padding:0 18px;margin-top: 20px;">
+		<view class="discounts" style="padding:0 18px;margin-top: 20px;" v-if="bannerList.length" >
 			<u-swiper bg-color="#fff" :img-mode="'scaleToFill'" height="160" :list="bannerList" @click="clickBanner"
 				:name="'picUrl'">
 			</u-swiper>