- 重构 configureDevice 步骤0:新增双条件控制(deviceInfo + codeSyncTime),确保连接完成且 mac 就绪后才进入下一步 - 重构 configureDevice_2:移除 userInfo 缓存读取,改为接口获取用户列表,支持动态渲染、删除用户 - 新增 configureDevice_2_addUser 组件:支持工号查询用户信息并添加到设备 - 优化用户下发逻辑:先通过 dataFetchUserID 获取设备端已有用户,仅下发新增用户 - 删除废弃页面 deviceInfo、userInfo Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"pages": [
|
|
"pages/home/home",
|
|
"pages/searchDevice/searchDevice",
|
|
"pages/configureDevice/configureDevice",
|
|
"pages/my/my"
|
|
],
|
|
"window": {
|
|
"navigationBarTitleText": "",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#ffffff"
|
|
},
|
|
"tabBar": {
|
|
"color": "#808080",
|
|
"selectedColor": "#1385FA",
|
|
"borderStyle": "white",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/home/home",
|
|
"iconPath": "/images/tabBar/home.png",
|
|
"selectedIconPath": "/images/tabBar/home_.png",
|
|
"text": "首页"
|
|
},
|
|
{
|
|
"pagePath": "pages/my/my",
|
|
"iconPath": "/images/tabBar/my.png",
|
|
"selectedIconPath": "/images/tabBar/my_.png",
|
|
"text": "我的"
|
|
}
|
|
]
|
|
},
|
|
"style": "v2",
|
|
"plugins": {
|
|
"ppScale-plugin": {
|
|
"version": "1.2.19",
|
|
"provider": "wx0ffb48417ce6345c"
|
|
}
|
|
},
|
|
"permission": {
|
|
"scope.userLocation": {
|
|
"desc": "您的位置信息将用于发现附近的蓝牙设备,以便连接蓝牙秤。"
|
|
}
|
|
},
|
|
"requiredPrivateInfos": [
|
|
"getLocation"
|
|
],
|
|
"sitemapLocation": "sitemap.json",
|
|
"lazyCodeLoading": "requiredComponents"
|
|
} |