文件
jw-beauty/miniprogram/app.json
T
Guoguo 563e515bce feat: add registration page for new miniprogram users
- New register page with chooseAvatar, nickname input (random default),
  and required phone number authorization via getPhoneNumber
- Login simplified: removed deprecated wx.getUserProfile, checks
  is_new_user flag to redirect new users to registration
- Server login response now includes is_new_user field
2026-05-06 06:12:34 -07:00

66 行
1.6 KiB
JSON

{
"pages": [
"pages/index/index",
"pages/login/login",
"pages/register/register",
"pages/scan/scan",
"pages/ble-connect/ble-connect",
"pages/bind-success/bind-success",
"pages/wear-check/wear-check",
"pages/treatment-setup/treatment-setup",
"pages/auto-scan/auto-scan",
"pages/treating/treating",
"pages/treatment-done/treatment-done",
"pages/subscribe-prompt/subscribe-prompt",
"pages/subscribe-plans/subscribe-plans",
"pages/subscribe-success/subscribe-success",
"pages/profile/profile",
"pages/history/history",
"pages/help/help",
"pages/contact/contact"
],
"window": {
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTitleText": "光子美容仪",
"navigationBarTextStyle": "black",
"backgroundColor": "#f5f5f5"
},
"tabBar": {
"color": "#999999",
"selectedColor": "#333333",
"backgroundColor": "#ffffff",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页"
},
{
"pagePath": "pages/history/history",
"text": "记录"
},
{
"pagePath": "pages/profile/profile",
"text": "我的"
}
]
},
"permission": {
"scope.bluetooth": {
"desc": "用于连接光子美容仪设备"
},
"scope.userLocation": {
"desc": "蓝牙连接需要位置权限"
},
"scope.camera": {
"desc": "用于扫描设备二维码"
}
},
"requiredPrivateInfos": [
"getLocation",
"chooseLocation"
],
"style": "v2",
"sitemapLocation": "sitemap.json"
}