代码拉取完成,页面将自动刷新
{
"easycom": {
"^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$1.vue",
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/func/func",
"style": {
"navigationStyle": "custom"
}
}, {
"path": "pages/mine/mine",
"style": {
"navigationStyle": "custom"
}
}
], //进入主包pages下的mine页面时,加载分包important
"preloadRule": {
"pages/mine/mine": {
"network": "all",
"packages": ["pagesMine"]
}
},
"subPackages": [{
"root": "pagesFunc",
"name": "pagesFunc",
"independent": false, //设置为独立分包
"pages": [{
"path": "index/index",
"style": {
"navigationBarTitleText": "pagesFunc的分包页面",
"enablePullDownRefresh": false
}
}]
}, {
"root": "pagesIndex",
"name": "pagesIndex",
"independent": false, //设置为独立分包
"pages": [{
"path": "index/index",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "search/search",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "article/article",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "resource/resource",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "video/video",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
}, {
"root": "pagesMine",
"name": "pagesMine",
"independent": false, //设置为独立分包
"pages": [{
"path": "index/index",
"style": {
"navigationBarTitleText": "pagesMine的分包页面",
"enablePullDownRefresh": false
}
},
{
"path": "signed/signed",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "integral/integral",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "collect/collect",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "set/set",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}
]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "笛奥师",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#fff"
},
"uniIdRouter": {},
"tabBar": {
"selectedColor": "#22a7ff",
"color": "#474747",
"backgroundColor": "#ffffff",
"borderStyle": "white",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/home_tn.png",
"selectedIconPath": "static/tabbar/home_tnnew.png",
"text": "首页"
}, {
"pagePath": "pages/func/func",
"iconPath": "static/tabbar/preferred_tn.png",
"selectedIconPath": "static/tabbar/preferred_tnnew.png",
"text": "吃喝玩"
},
{
"pagePath": "pages/mine/mine",
"iconPath": "static/tabbar/mine_tn.png",
"selectedIconPath": "static/tabbar/mine_tnnew.png",
"text": "我的"
}
]
},
"uniIdRouter": {}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。