医学道
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
video/src/app.config.ts

101 lines
2.4 KiB

1 year ago
export default defineAppConfig({
pages: [
'pages/home/home',
'pages/index/index',
'pages/meeting/meeting',
1 year ago
'pages/login/login',
'pages/check/check',
'pages/my/my',
1 year ago
],
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: '课程',
navigationBarTextStyle: 'black'
},
tabBar: {
color: '#909795',
selectedColor: '#45D4A8',
1 year ago
list: [
1 year ago
{
text: '首页',
pagePath: 'pages/home/home',
iconPath: "static/tabs/home-unselect.png",
selectedIconPath: "static/tabs/home-selected.png",
},
{
text: '学习',
1 year ago
pagePath: 'pages/index/index',
iconPath: "static/tabs/study.png",
selectedIconPath: "static/tabs/study-selected.png",
1 year ago
},
{
text: "我的",
pagePath: 'pages/my/my',
iconPath: "static/tabs/mine-unselect.png",
selectedIconPath: "static/tabs/mine-selected.png",
}
1 year ago
]
},
preloadRule: {
'pages/index/index': {
network: 'all',
packages: ['pages/business']
},
'pages/my/my': {
network: 'all',
packages: ['pages/manage']
1 year ago
},
'pages/home/home': {
network: 'all',
packages: ['pages/preview']
1 year ago
}
},
subpackages: [
{
root: 'pages/business',
pages: [
'userInfo/userInfo',
'videoInfo/videoInfo',
'test/test',
'history/history',
'curHistory/curHistory',
'hourHistory/hourHistory',
1 year ago
'courType/courType'
1 year ago
]
},
{
root: 'pages/manage',
pages: [
'depAdmin/depAdmin',
'student/student',
1 year ago
'curriculum/curriculum',
'addStudent/addStudent',
'depCur/depCur',
'addCur/addCur',
'spotMeeting/spotMeeting',
'selectDep/selectDep',
'meetings/meetings',
'userInfo/userInfo',
1 year ago
'courseAdmin/courseAdmin',
1 year ago
]
1 year ago
},
{
root: 'pages/preview',
1 year ago
pages: [
'brand/list/list',
'brand/info/info',
'brand/article/article',
1 year ago
'profession/profession',
'health/health', // 健康
'videoFull/videoFull', // 资源id 视频全屏
'illness/sort/sort',
'illness/list/list',
1 year ago
'illness/article/article',
'webView/webView',
1 year ago
]
},
],
lazyCodeLoading: "requiredComponents"
1 year ago
})