feat: records 页面接入骨架屏 + loading 状态

This commit is contained in:
2026-07-08 11:36:06 +08:00
parent f904870cbc
commit b41960d074
2 changed files with 14 additions and 1 deletions
+11
View File
@@ -1,4 +1,13 @@
<view class="container page-enter" style="{{themeStyle}}">
<!-- 加载骨架屏 (200ms 最小显示) -->
<block wx:if="{{loading}}">
<ui-skeleton variant="card" />
<view style="height: 24rpx;" />
<ui-skeleton variant="card" />
</block>
<!-- 真实内容 (loading 时隐藏) -->
<view hidden="{{loading}}">
<!-- 统计卡片 -->
<ui-card variant="in">
<view class="stats">
@@ -81,6 +90,8 @@
</view>
</view>
</ui-card>
</view>
<!-- /hidden wrapper -->
<!-- 日期详情弹窗 -->
<ui-modal visible="{{showDayDetail}}" position="center" bind:close="onCloseDayDetail">