From 893ff90c6e21fa3a5241a8ae9b33836037cd5912 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 29 八月 2024 15:19:17 +0800
Subject: [PATCH] 提交

---
 pages/tabBar/current/current.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pages/tabBar/current/current.vue b/pages/tabBar/current/current.vue
index 44bedb3..3ba1601 100644
--- a/pages/tabBar/current/current.vue
+++ b/pages/tabBar/current/current.vue
@@ -15,7 +15,7 @@
 		</view>
 		<!-- 页面内容 -->
     <view class="m-p-15">
-      <view class="cardList">
+      <view class="cardList" v-if="classList && classList.length>0">
         <scroll-view scroll-y="true" class="scroll-Y" @scrolltoupper="upper"
                      @scrolltolower="lower" lower-threshold="150" @scroll="scrollView" style="height:100%">
           <view style="padding: 20px 0 20px">
@@ -37,6 +37,7 @@
           </view>
         </scroll-view>
       </view>
+      <u-empty style="margin-top: 80px" v-else text="暂无记录" mode="data"></u-empty>
     </view>
 		<tabBar :currentPagePath="page"></tabBar>
 	</view>

--
Gitblit v1.9.2