feat: records 页面接入骨架屏 + loading 状态
This commit is contained in:
@@ -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
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user