style: 格式化
This commit is contained in:
parent
6db1485183
commit
15693fbc16
422
pages.json
422
pages.json
|
@ -1,222 +1,206 @@
|
|||
{
|
||||
// 如果您是通过uni_modules形式引入uView,可以忽略此配置
|
||||
"easycom": {
|
||||
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/list",
|
||||
"style": {
|
||||
"navigationBarTitleText": "保洁点位"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/cleanDetails",
|
||||
"style": {
|
||||
"navigationStyle": "custom" ,
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "保洁详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/cleanPlan",
|
||||
"style": {
|
||||
"navigationStyle": "custom" ,
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "保洁计划"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/planList",
|
||||
"style": {
|
||||
"navigationStyle": "custom" ,
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "计划列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationBarBackgroundColor": "#4790FF",
|
||||
"navigationBarTextStyle": "white",
|
||||
"enablePullDownRefresh": true
|
||||
// 如果您是通过uni_modules形式引入uView,可以忽略此配置
|
||||
"easycom": {
|
||||
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/list",
|
||||
"style": {
|
||||
"navigationBarTitleText": "保洁点位"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/cleanDetails",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "保洁详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/cleanPlan",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "保洁计划"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/planList",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "计划列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationBarBackgroundColor": "#4790FF",
|
||||
"navigationBarTextStyle": "white",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/public/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/profile",
|
||||
"style": {
|
||||
"navigationBarTitleText": "个人信息",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/account/setting",
|
||||
"style": {
|
||||
"navigationBarTitleText": "设置",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/account/password",
|
||||
"style": {
|
||||
"navigationBarTitleText": "修改密码",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/account/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "帐号&安全",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/about/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "关于我们",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/account/phone",
|
||||
"style": {
|
||||
"navigationBarTitleText": "手机号绑定",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/account/email",
|
||||
"style": {
|
||||
"navigationBarTitleText": "邮箱绑定",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/account/logout_account",
|
||||
"style": {
|
||||
"navigationBarTitleText": "注销帐号",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/auth",
|
||||
"style": {
|
||||
"navigationBarTitleText": "实名认证",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/public/page",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/my/about/feedback",
|
||||
"style": {
|
||||
"navigationBarTitleText": "意见反馈",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/public/register",
|
||||
"style": {
|
||||
"navigationBarTitleText": "注册",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/public/forget_password",
|
||||
"style": {
|
||||
"navigationBarTitleText": "忘记密码",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}
|
||||
],
|
||||
//分包加载配置,此配置为小程序的分包加载机制。
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/subPack", //子包的根目录
|
||||
"pages": [
|
||||
{
|
||||
"path": "index/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "详情"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/public/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/profile",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "个人信息",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/account/setting",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "设置",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/account/password",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "修改密码",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/account/index",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "帐号&安全",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/about/index",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "关于我们",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/account/phone",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "手机号绑定",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/account/email",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "邮箱绑定",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/account/logout_account",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "注销帐号",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/auth",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "实名认证",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/public/page",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/my/about/feedback",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "意见反馈",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/public/register",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "注册",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "pages/public/forget_password",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : "忘记密码",
|
||||
"enablePullDownRefresh" : false
|
||||
}
|
||||
}
|
||||
|
||||
],
|
||||
//分包加载配置,此配置为小程序的分包加载机制。
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/subPack", //子包的根目录
|
||||
"pages": [
|
||||
{
|
||||
"path": "index/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "详情"
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "#211D2F",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "white",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#2D2D2D",
|
||||
"selectedColor": "#4183F8",
|
||||
"borderStyle": "white",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/tab/home.png",
|
||||
"selectedIconPath": "static/tab/home_cur.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/list",
|
||||
"iconPath": "static/tab/list.png",
|
||||
"selectedIconPath": "static/tab/list_cur.png",
|
||||
"text": "计划"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/index",
|
||||
"iconPath": "static/tab/my.png",
|
||||
"selectedIconPath": "static/tab/my_cur.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// 分包预载配置
|
||||
"preloadRule": {
|
||||
// 当我们进入了pages/index/index页面以后就会预下载pages/subPack分包
|
||||
"pages/index/index": {
|
||||
"network": "all", //在指定网络下预下载,可选值为:all(不限网络)、wifi(仅wifi下预下载)
|
||||
"packages": ["pages/subPack"] //进入页面后预下载分包
|
||||
}
|
||||
},
|
||||
"uniIdRouter": {}
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "#211D2F",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "white",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#2D2D2D",
|
||||
"selectedColor": "#4183F8",
|
||||
"borderStyle": "white",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/tab/home.png",
|
||||
"selectedIconPath": "static/tab/home_cur.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/list",
|
||||
"iconPath": "static/tab/list.png",
|
||||
"selectedIconPath": "static/tab/list_cur.png",
|
||||
"text": "计划"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/index",
|
||||
"iconPath": "static/tab/my.png",
|
||||
"selectedIconPath": "static/tab/my_cur.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
// 分包预载配置
|
||||
"preloadRule": {
|
||||
// 当我们进入了pages/index/index页面以后就会预下载pages/subPack分包
|
||||
"pages/index/index": {
|
||||
"network": "all", //在指定网络下预下载,可选值为:all(不限网络)、wifi(仅wifi下预下载)
|
||||
"packages": ["pages/subPack"] //进入页面后预下载分包
|
||||
}
|
||||
},
|
||||
"uniIdRouter": {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue