Przeglądaj źródła

活动列表页列表为空时样式调整

DELL 3 lat temu
rodzic
commit
1aebd9f76a
1 zmienionych plików z 9 dodań i 2 usunięć
  1. 9 2
      pages/activity/index.vue

+ 9 - 2
pages/activity/index.vue

@@ -46,14 +46,21 @@
 
 			</view>
 
-			<view class="flex empty" v-if="!list.length && !loading">
+			<view class="flex empty" v-if="!list.length && !loading && triggerStatus == 0">
 				<view class="center">
 					<image class="center-img"
 						src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/nodata_3.png" mode=""></image>
 					<view class="center-font">新的活动正在准备中...</view>
 				</view>
 				<!-- <u-empty text="活动为空" mode="order" /> -->
-
+			</view>
+			<view class="flex empty" v-if="!list.length && !loading && triggerStatus != 0">
+				<view class="center">
+					<image class="center-img"
+						src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/nodata_3.png" mode=""></image>
+					<view class="center-font">还没有已开奖活动</view>
+				</view>
+				<!-- <u-empty text="活动为空" mode="order" /> -->
 			</view>
 		</view>
 		<custom-tab-bar :activeValue="'activity'" />