168 lines
5.7 KiB
JSON
168 lines
5.7 KiB
JSON
{
|
||
"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" : "速配商铺",
|
||
"navigationBarTextStyle" : "black",
|
||
"navigationBarBackgroundColor" : "#FFFFFF",
|
||
//导航栏取消
|
||
// "navigationStyle": "custom",
|
||
//是否开启下拉刷新
|
||
"enablePullDownRefresh" : true
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/shopTransfer/shopTransfer",
|
||
"style" : {
|
||
"navigationBarTitleText" : "店铺转让",
|
||
"navigationBarTextStyle" : "black",
|
||
"navigationBarBackgroundColor" : "#FFFFFF",
|
||
"enablePullDownRefresh" : false
|
||
}
|
||
},
|
||
//+
|
||
{
|
||
"path" : "pages/shopAddress/shopAddress",
|
||
"style" : {
|
||
"navigationBarTitleText" : "找店地址",
|
||
"navigationBarTextStyle" : "black",
|
||
"navigationBarBackgroundColor" : "#FFFFFF",
|
||
"enablePullDownRefresh" : false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/my/my",
|
||
"style" : {
|
||
"navigationBarTitleText" : "我的",
|
||
"navigationBarTextStyle" : "black",
|
||
"navigationBarBackgroundColor" : "#FFFFFF",
|
||
"enablePullDownRefresh" : false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/publish/publish",
|
||
"style" : {
|
||
"navigationBarTitleText" : "",
|
||
"enablePullDownRefresh" : false
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/detail/detail",
|
||
"style" : {
|
||
"navigationBarTitleText" : "商品详情"
|
||
}
|
||
}
|
||
|
||
,{
|
||
"path" : "pages/published/published",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "",
|
||
"enablePullDownRefresh": true
|
||
}
|
||
|
||
}
|
||
,{
|
||
"path" : "pages/publish/publishTransfer/publishTransfer",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
|
||
}
|
||
,{
|
||
"path" : "pages/publish/publishAddress/publishAddress",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
|
||
}
|
||
,{
|
||
"path" : "pages/publish/publishRent/publishRent",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
|
||
}
|
||
,{
|
||
"path" : "pages/publish/publishInvestment/publishInvestment",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
|
||
}
|
||
],
|
||
"tabBar" : {
|
||
"color" : "#CCCCCC",
|
||
"borderStyle" : "white",
|
||
"backgroundColor" : "#FFFFFF",
|
||
"custom" : true,
|
||
"list" : [
|
||
{
|
||
"pagePath" : "pages/index/index",
|
||
"text" : "首页",
|
||
"iconPath" : "static/tabbar/di_icon_syh.png",
|
||
"selectedIconPath" : "static/tabbar/di_icon_sy.png"
|
||
},
|
||
{
|
||
"pagePath" : "pages/shopTransfer/shopTransfer",
|
||
"text" : "店铺转让",
|
||
"iconPath" : "static/tabbar/di_icon_zrh.png",
|
||
"selectedIconPath" : "static/tabbar/di_icon_zr.png"
|
||
},
|
||
{
|
||
"pagePath" : "pages/publish/publish",
|
||
"text" : "发布",
|
||
"iconPath" : "static/tabbar/di_icon_fb.png",
|
||
"selectedIconPath" : "static/tabbar/di_icon_fb.png"
|
||
},
|
||
{
|
||
"pagePath" : "pages/shopAddress/shopAddress",
|
||
"text" : "找店地址",
|
||
"iconPath" : "static/tabbar/di_icon_dzh.png",
|
||
"selectedIconPath" : "static/tabbar/di_icon_dz.png"
|
||
},
|
||
{
|
||
"pagePath" : "pages/my/my",
|
||
"text" : "店铺转让",
|
||
"iconPath" : "static/tabbar/di_icon_wdh.png",
|
||
"selectedIconPath" : "static/tabbar/di_icon_wd.png"
|
||
}
|
||
]
|
||
},
|
||
"globalStyle" : {
|
||
"navigationBarTextStyle" : "black",
|
||
"navigationBarTitleText" : "uni-app",
|
||
"navigationBarBackgroundColor" : "#F8F8F8",
|
||
"backgroundColor" : "#F8F8F8"
|
||
},
|
||
"uniIdRouter" : {},
|
||
"condition" : { //模式配置,仅开发期间生效
|
||
"current": 0, //当前激活的模式(list 的索引项)
|
||
"list": [
|
||
{
|
||
"name": "", //模式名称
|
||
"path": "", //启动页面,必选
|
||
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||
}
|
||
]
|
||
}
|
||
}
|