将 mini-driver 和 mini-manager 两个独立小程序合并为 frontend/mini-app, 通过自定义 tabBar 根据登录角色动态切换界面: - 后端登录接口 role_type 改为可选,支持自动识别角色 - 统一登录页根据 role_code 自动跳转对应首页 - 统一"我的"页通过 wx:if 切换司机/管理层内容 - 自定义 tabBar 组件按角色渲染不同 tab 项 - 提取公共 utils(auth/request/status)消除重复代码 - 原有两个项目保留不动,待验证后清理 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
36 lines
769 B
JSON
36 lines
769 B
JSON
{
|
|
"setting": {
|
|
"es6": true,
|
|
"postcss": true,
|
|
"minified": true,
|
|
"uglifyFileName": false,
|
|
"enhance": true,
|
|
"packNpmRelationList": [],
|
|
"babelSetting": {
|
|
"ignore": [],
|
|
"disablePlugins": [],
|
|
"outputPath": ""
|
|
},
|
|
"useCompilerPlugins": false,
|
|
"minifyWXML": true,
|
|
"compileWorklet": false,
|
|
"uploadWithSourceMap": true,
|
|
"packNpmManually": false,
|
|
"minifyWXSS": true,
|
|
"localPlugins": false,
|
|
"disableUseStrict": false,
|
|
"condition": false,
|
|
"swc": false,
|
|
"disableSWC": true
|
|
},
|
|
"compileType": "miniprogram",
|
|
"simulatorPluginLibVersion": {},
|
|
"packOptions": {
|
|
"ignore": [],
|
|
"include": []
|
|
},
|
|
"appid": "wxdbddd60e12144043",
|
|
"editorSetting": {},
|
|
"libVersion": "3.16.0"
|
|
}
|