2 Star 7 Fork 1

cshaptx4869/vue3-uniapp-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pages.json 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
{
//组件自动引入规则 https://uniapp.dcloud.net.cn/collocation/pages.html#easycom
"easycom": {
"autoscan": true,
"custom": {
"^x-(.*)": "@/components/x-$1/index.vue"
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"enablePullDownRefresh": false
},
"pages": [
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
},
{
"path": "pages/404/404",
"style": {
"navigationBarTitleText": "404",
"navigationStyle": "custom"
}
},
{
"path": "pages/webview/webview",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "pages/demo/demo",
"style": {
"navigationBarTitleText": "扩展"
}
}
],
"subPackages": [
{
"root": "pagesA",
"pages": [
{
"path": "test/test",
"style": {
"navigationBarTitleText": "分包A",
"enablePullDownRefresh": true
},
"needLogin": true
}
]
}
],
"preloadRule": {
"pages/index/index": {
"network": "wifi",
"packages": ["pagesA"]
},
"pagesA/test/test": {
"network": "all",
"packages": ["__APP__"]
}
},
"tabBar": {
"color": "#999999",
"selectedColor": "#5AC725",
"backgroundColor": "#F8F8F8",
"position": "bottom",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/index.png",
"selectedIconPath": "static/tabbar/index_HL.png",
"text": "首页"
},
{
"pagePath": "pages/demo/demo",
"iconPath": "static/tabbar/demo.png",
"selectedIconPath": "static/tabbar/demo_HL.png",
"text": "扩展功能"
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cshaptx4869/vue3-uniapp-template.git
git@gitee.com:cshaptx4869/vue3-uniapp-template.git
cshaptx4869
vue3-uniapp-template
vue3-uniapp-template
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385