功能:重建指尖管理师规划系统

This commit is contained in:
xiaowang
2026-06-04 16:39:06 +08:00
parent 73483e7b0c
commit 677890f518
413 changed files with 9602 additions and 795 deletions
+5
View File
@@ -39,6 +39,7 @@ const auth = require('../../utils/auth')
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
*/
const navigation = require('../../utils/navigation')
const sessionSwitch = require('../../utils/session-switch')
/**
* Purpose: theme supports index.js by holding or executing the theme page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -153,6 +154,10 @@ Page({
navigation.openAuth('/pages/profile/index')
},
handleOpenAdminLogin() {
sessionSwitch.openAdminLogin()
},
/**
* `handleOpenSettings` page method. Use this from WXML event bindings or lifecycle hooks.
* Call guide: read or update page data with `this.setData(...)` inside the method when state changes.
+4
View File
@@ -106,6 +106,10 @@
<text>设置中心</text>
<text class="menu-arrow">></text>
</view>
<view class="menu-item admin-entry-item" bindtap="handleOpenAdminLogin">
<text>进入管理后台</text>
<text class="menu-arrow">></text>
</view>
<view class="menu-item logout-item" bindtap="handleLogout">
<text>退出登录</text>
<text class="menu-arrow">></text>
+9
View File
@@ -253,6 +253,15 @@
font-weight: 700;
}
.admin-entry-item {
color: var(--theme-primary-action);
font-weight: 700;
}
.admin-entry-item .menu-arrow {
color: var(--theme-primary-action);
}
.logout-item .menu-arrow {
color: var(--theme-primary);
}