feat: 分类管理页开发

This commit is contained in:
R524809
2026-04-23 12:08:07 +08:00
parent b2ab123b4f
commit 5106dbbd7c
21 changed files with 1034 additions and 151 deletions
+7 -1
View File
@@ -7,12 +7,14 @@ Page({
printCount: 0,
favoriteCount: 0,
version: '',
isDevEnv: false,
},
onLoad() {
const info = wx.getAccountInfoSync();
const version = info.miniProgram.version || '开发版';
this.setData({ version });
const isDevEnv = info.miniProgram.envVersion === 'develop';
this.setData({ version, isDevEnv });
},
onShow() {
@@ -48,6 +50,10 @@ Page({
wx.showToast({ title: '功能开发中', icon: 'none' });
},
onGoToDebug() {
wx.navigateTo({ url: '/supportPages/debug/debug' });
},
onGoToFeedback() {
wx.showToast({ title: '功能开发中', icon: 'none' });
},