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
+3 -1
View File
@@ -7,6 +7,7 @@ Page({
data: {
theme: { primary: '#FF6B35', primaryLight: '#FF8C5A', primaryBg: '#FFF3ED', primaryRgb: '255,107,53' },
themeStyle: themeMod.BASE_VARS,
loading: true,
totalDuration: 0,
totalDurationText: '',
totalSessions: 0,
@@ -74,7 +75,8 @@ Page({
maxDuration: stats.maxDuration,
maxDurationText: util.formatDuration(stats.maxDuration),
monthRecords: records,
historyList
historyList,
loading: false
})
},