This commit is contained in:
dengj
2023-10-19 09:51:30 +08:00
parent 5ef42e5ac7
commit 50bbdb7974
18 changed files with 586 additions and 0 deletions

58
pages.json Normal file
View File

@@ -0,0 +1,58 @@
{
"easycom": {
"autoscan": true, //是否自动扫描组件
"custom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
"^ua-(.*)": "@/components/uview-ui/components/u-$1/u-$1.vue",
"^customer-(.*)": "@/components/uni-$1.vue" // 匹配components目录内的vue文件
}
},
"pages": [ //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
//导航栏取消
// "navigationStyle": "custom",
//是否开启下拉刷新
"enablePullDownRefresh": true
}
}, {
"path": "pages/my/my",
"style": {
"navigationBarTitleText": "",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false
}
}
],
"tabBar": {
"color": "#CCCCCC",
"selectedColor": "#0EBB5B",
"borderStyle": "white",
"backgroundColor": "#FFFFFF",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabbar/sy_icon_syh.png",
"selectedIconPath": "static/tabbar/sy_icon_sy(1).png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/tabbar/sy_icon_wdh.png",
"selectedIconPath": "static/tabbar/sy_icon_wd.png"
}
]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
}