- 首页/商城/医生端/积分/家庭档案等页面 SCSS + TSX 更新 - TabFilter 组件样式优化 - points service 接口调整 - app.config 路由注册更新
101 lines
3.3 KiB
TypeScript
101 lines
3.3 KiB
TypeScript
export default defineAppConfig({
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/login/index',
|
|
'pages/health/index',
|
|
'pages/messages/index',
|
|
'pages/consultation/index',
|
|
'pages/mall/index',
|
|
'pages/profile/index',
|
|
'pages/appointment/index',
|
|
'pages/appointment/create/index',
|
|
'pages/appointment/detail/index',
|
|
'pages/legal/user-agreement',
|
|
'pages/legal/privacy-policy',
|
|
],
|
|
subPackages: [
|
|
{
|
|
root: 'pages/pkg-health',
|
|
pages: ['trend/index', 'input/index', 'daily-monitoring/index', 'alerts/index', 'device-sync/index'],
|
|
},
|
|
{
|
|
root: 'pages/pkg-doctor-core',
|
|
pages: [
|
|
'index', 'patients/index', 'patients/detail/index',
|
|
'consultation/index', 'consultation/detail/index',
|
|
'followup/index', 'followup/detail/index',
|
|
'action-inbox/index',
|
|
],
|
|
},
|
|
{
|
|
root: 'pages/pkg-doctor-clinical',
|
|
pages: [
|
|
'dialysis/index', 'dialysis/detail/index', 'dialysis/create/index',
|
|
'prescription/index', 'prescription/detail/index', 'prescription/create/index',
|
|
'report/index', 'report/detail/index',
|
|
'alerts/index', 'alerts/detail/index',
|
|
],
|
|
},
|
|
{
|
|
root: 'pages/pkg-mall',
|
|
pages: ['exchange/index', 'orders/index', 'detail/index', 'product/index'],
|
|
},
|
|
{
|
|
root: 'pages/pkg-profile',
|
|
pages: [
|
|
'family/index', 'family-add/index', 'reports/index', 'reports/detail/index',
|
|
'followups/index', 'followups/detail/index', 'medication/index', 'settings/index',
|
|
'dialysis-records/index', 'dialysis-records/detail/index',
|
|
'dialysis-prescriptions/index', 'dialysis-prescriptions/detail/index',
|
|
'consents/index', 'health-records/index', 'diagnoses/index',
|
|
'elder-mode/index', 'events/index', 'notifications/index',
|
|
],
|
|
},
|
|
{
|
|
root: 'pages/ai-report',
|
|
pages: ['list/index', 'detail/index'],
|
|
},
|
|
{
|
|
root: 'pages/article',
|
|
pages: ['index', 'detail/index'],
|
|
},
|
|
{
|
|
root: 'pages/pkg-consultation',
|
|
pages: ['detail/index'],
|
|
},
|
|
],
|
|
tabBar: {
|
|
color: '#A8A29E',
|
|
selectedColor: '#C4623A',
|
|
backgroundColor: '#FFFFFF',
|
|
borderStyle: 'white',
|
|
list: [
|
|
{ pagePath: 'pages/index/index', text: '首页', iconPath: 'assets/tabbar/home.png', selectedIconPath: 'assets/tabbar/home-active.png' },
|
|
{ pagePath: 'pages/health/index', text: '健康', iconPath: 'assets/tabbar/health.png', selectedIconPath: 'assets/tabbar/health-active.png' },
|
|
{ pagePath: 'pages/messages/index', text: '消息', iconPath: 'assets/tabbar/message.png', selectedIconPath: 'assets/tabbar/message-active.png' },
|
|
{ pagePath: 'pages/profile/index', text: '我的', iconPath: 'assets/tabbar/profile.png', selectedIconPath: 'assets/tabbar/profile-active.png' },
|
|
],
|
|
},
|
|
preloadRule: {
|
|
'pages/index/index': {
|
|
network: 'all',
|
|
packages: ['pages/pkg-health', 'pages/pkg-doctor-core', 'pages/article'],
|
|
},
|
|
'pages/health/index': {
|
|
network: 'all',
|
|
packages: ['pages/pkg-health'],
|
|
},
|
|
'pages/consultation/index': {
|
|
network: 'all',
|
|
packages: ['pages/pkg-consultation'],
|
|
},
|
|
},
|
|
window: {
|
|
backgroundTextStyle: 'dark',
|
|
navigationBarBackgroundColor: '#FFFFFF',
|
|
navigationBarTitleText: '健康管理',
|
|
navigationBarTextStyle: 'black',
|
|
enablePullDownRefresh: true,
|
|
},
|
|
});
|