[AI Generated]: feat(Views): 优化首页空态展示效果

This commit is contained in:
17792275749
2026-05-13 09:32:04 +08:00
parent 98a763d4f6
commit 780a1e3202
5 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -480,14 +480,14 @@
width: 193rpx;
height: 138rpx;
margin-bottom: 40rpx;
background-color: #E8EBF2;
border-radius: 20rpx;
}
.empty-text {
color: #808080;
height: 30rpx;
font-size: 30rpx;
line-height: 40rpx;
line-height: 30rpx;
}
}
}
+1 -1
View File
@@ -46,7 +46,7 @@ Page({
status: 'idle' as LoadStatus,
// 是否有称重数据
hasData: true,
hasData: false,
// 设备信息
device: {
+3 -1
View File
@@ -138,7 +138,9 @@
<!-- 空态(无称重数据) -->
<block wx:else>
<view class="empty-state">
<view class="empty-icon"></view>
<view class="empty-icon">
<image src="/images/home/noData.png" mode=""/>
</view>
<view class="empty-text">暂无称重数据</view>
</view>
</block>