feat: 分类页骨架屏优化

This commit is contained in:
R524809
2026-05-07 18:11:46 +08:00
parent c732111e12
commit 85ee5bb49a
12 changed files with 748 additions and 31 deletions
+6
View File
@@ -12,6 +12,7 @@ Page({
data: {
userName: '微信用户',
avatarUrl: '',
isDevEnv: false,
printCount: 0,
favoriteCount: 0,
version: '3.0.0',
@@ -23,6 +24,11 @@ Page({
onLoad() {
this.syncUserInfoFromApp();
const isDevEnv =
wx.getAccountInfoSync().miniProgram.envVersion !== 'release';
this.setData({
isDevEnv,
});
},
onShow() {