Replace '光子美容仪' with '智美'/'智能面膜'/'我的设备' throughout. Replace '护理' with '使用' in all UI text. Replace '皮肤' with '检测'/'智能' where applicable. Replace 🌸 with 💎 for brand identity. Internal code (variable names, API paths, file names) unchanged.
Miniprogram: - Add back buttons to all custom-nav pages - Add debug/mock buttons (BLE connect, wear check, treatment) controlled by __DEV__ flag (hidden in prod) Admin console: - Fix log page using nonexistent fields (operator_type, target_type) now correctly reads admin_id/user_id/action/detail from API - Fix subscription date fields (started_at→start_time, expired_at→expire_time) - Wire up subscription detail/extend/renew action buttons - Wire up device detail "查看完整日志" button - Add "创建订阅" button to subscription toolbar - Fix subscription status mapping (2=expired, 3=cancelled) Docs: - Add detailed architecture docs for server, miniprogram, admin console
- app.js 通过 wx.getSystemInfoSync 获取 statusBarHeight 存入 globalData - 所有12个自定义导航页面的 JS 读取 statusBarHeight - WXML 通过 style="padding-top: {{statusBarHeight + 24}}px" 动态适配 - 普通手机和灵动岛手机都能正确显示
- 全局样式改为粉色(#E6508C)/金色(#DCB982)/绿色(#52c41a)配色 - 所有非tab页使用自定义导航栏,带彩色头部+标题+副标题 - login页: 粉色头部+🌸图标+微信授权登录 - scan页: 粉色头部+虚线扫码框+手动输入按钮 - ble-connect页: 蓝牙提示+搜索中/已发现设备卡片 - bind-success页: 绿色头部+成功图标+7天试用提示卡 - wear-check页: 设备信息行+佩戴指引卡片 - index首页: 粉色设备卡片+开始护理/设备管理按钮 - treatment-setup页: 模式选择+面部地图选区域 - auto-scan页: 面部轮廓+扫描线动画+检测标签 - treating页: 蓝色头部+大倒计时+渐变进度条+放松提示 - treatment-done页: 绿色头部+统计卡片+已记录提示 - subscribe-prompt页: 普通/智能模式对比+试用提示+金色订阅按钮 - subscribe-plans页: 金色头部+服务卡片+月卡/年卡选择 - subscribe-success页: 绿色头部+订阅详情卡+金色按钮 - profile页: 渐变头部+用户行+订阅卡+菜单列表 - history页: 粉色统计行+模式标签记录列表