初始化项目模板

This commit is contained in:
yangyao committed 2026-01-04 17:53:40 +08:00
1 parent 80fd6a1d4b
commit b3a69a1f27
69 files changed
+11088

No files matched your search

+81
View File
@@ -0,0 +1,81 @@
{
"easycom": {
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
"custom": {
"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
}
},
"pages": [
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/order/index",
"style": {
"navigationStyle": "custom",
// #ifdef MP-ALIPAY
"enablePullDownRefresh": true
// #endif
}
},
{
"path": "pages/mine/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/product/index",
"style": {
"navigationStyle": "custom"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "跳跳糖",
"navigationBarBackgroundColor": "#fff",
"backgroundColor": "#F2F3F9"
},
"uniIdRouter": {},
"tabBar": {
"color": "#999999",
"selectedColor": "#AB002D",
"custom": true,
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "/static/tabbar/home.png",
"selectedIconPath": "/static/tabbar/active-home.png"
},
{
"pagePath": "pages/order/index",
"iconPath": "/static/tabbar/order.png",
"selectedIconPath": "/static/tabbar/active-order.png"
},
{
"pagePath": "pages/mine/index",
"iconPath": "/static/tabbar/mine.png",
"selectedIconPath": "/static/tabbar/active-mine.png"
}
]
}
}