308 lines
6.9 KiB
JSON
308 lines
6.9 KiB
JSON
{
|
||
"pages": [{
|
||
"path": "pages/video/video",
|
||
"style": {
|
||
"navigationBarTitleText": "",
|
||
"enablePullDownRefresh": false
|
||
},
|
||
"needLogin": true // 当前页面是否需要登录才可以访问,此配置优先级高于uniIdRouter下的needLogin
|
||
},
|
||
{
|
||
"path": "pages/productlist/productlist",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
},
|
||
"needLogin": true
|
||
},
|
||
{
|
||
"path": "pages/ucenter/ucenter",
|
||
"style": {
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/ucenter/about/about",
|
||
"style": {
|
||
"navigationBarTitleText": "关于",
|
||
"app-plus": {
|
||
"titleNView": {
|
||
"buttons": [{
|
||
"type": "share"
|
||
}]
|
||
}
|
||
}
|
||
}
|
||
},
|
||
|
||
{
|
||
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
|
||
"style": {
|
||
"disableScroll": true,
|
||
"app-plus": {
|
||
"backgroundColorTop": "transparent",
|
||
"background": "transparent",
|
||
"titleNView": false,
|
||
"scrollIndicator": false,
|
||
"popGesture": "none",
|
||
"animationType": "fade-in",
|
||
"animationDuration": 200
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/uni-agree/uni-agree",
|
||
"style": {
|
||
"navigationStyle": "custom",
|
||
"app-plus": {
|
||
"popGesture": "none"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/ucenter/settings/settings",
|
||
"style": {
|
||
"navigationBarTitleText": "设置"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/ucenter/read-news-log/read-news-log",
|
||
"style": {
|
||
"navigationBarTitleText": "阅读记录",
|
||
"enablePullDownRefresh": true
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/ucenter/invite/invite",
|
||
"style": {
|
||
"navigationStyle": "custom",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-feedback/pages/opendb-feedback/opendb-feedback",
|
||
"style": {
|
||
"navigationBarTitleText": "意见反馈",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/userinfo/deactivate/deactivate",
|
||
"style": {
|
||
"navigationBarTitleText": "注销账号"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/userinfo/userinfo",
|
||
"style": {
|
||
"navigationBarTitleText": "个人资料"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/userinfo/bind-mobile/bind-mobile",
|
||
"style": {
|
||
"navigationBarTitleText": "绑定手机号码"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage",
|
||
"style": {
|
||
"navigationBarTitleText": ""
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
|
||
"style": {
|
||
"navigationBarTitleText": ""
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/login/login-withpwd",
|
||
"style": {
|
||
"navigationBarTitleText": ""
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/login/login-smscode",
|
||
"style": {
|
||
"navigationBarTitleText": "手机验证码登录"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/register/register",
|
||
"style": {
|
||
"navigationBarTitleText": "注册"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/retrieve/retrieve",
|
||
"style": {
|
||
"navigationBarTitleText": "重置密码"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/common/webview/webview",
|
||
"style": {
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarTitleText": "网络链接内容展示页"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/userinfo/change_pwd/change_pwd",
|
||
"style": {
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarTitleText": "修改密码"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/register/register-by-email",
|
||
"style": {
|
||
"navigationBarTitleText": "邮箱验证码注册"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/retrieve/retrieve-by-email",
|
||
"style": {
|
||
"navigationBarTitleText": "通过邮箱重置密码"
|
||
}
|
||
},
|
||
{
|
||
"path": "uni_modules/uni-id-pages/pages/register/register-admin",
|
||
"style": {
|
||
"enablePullDownRefresh": false,
|
||
"navigationBarTitleText": "注册管理员账号"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/cottonCandy/index",
|
||
"style": {
|
||
"navigationBarTitleText": "棉花糖调试首页",
|
||
"enablePullDownRefresh": false
|
||
},
|
||
"needLogin": true
|
||
},
|
||
{
|
||
"path": "pages/cottonCandy/SetPattern",
|
||
"style": {
|
||
"navigationBarTitleText": "花型类型",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/cottonCandy/ParameterSet",
|
||
"style": {
|
||
"navigationBarTitleText": "参数设定",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/cottonCandy/MechanicalArm1",
|
||
"style": {
|
||
"navigationBarTitleText": "机械臂1",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/cottonCandy/MechanicalArm2",
|
||
"style": {
|
||
"navigationBarTitleText": "机械臂2",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/cottonCandy/MechanicalArm3",
|
||
"style": {
|
||
"navigationBarTitleText": "机械臂3",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/pay/pay",
|
||
"style": {
|
||
"app-plus": {
|
||
"titleNView": false,
|
||
"scrollIndicator": "none"
|
||
}
|
||
},
|
||
"needLogin": true
|
||
}, {
|
||
"path": "pages/cottonCandy/SugarMaking",
|
||
"style": {
|
||
"navigationBarTitleText": "制糖",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
}, {
|
||
"path": "pages/CommodityOrder/list",
|
||
"style": {
|
||
"navigationBarTitleText": "订单管理",
|
||
"enablePullDownRefresh": false
|
||
},
|
||
"needLogin": true
|
||
}, {
|
||
"path": "pages/CommodityOrder/detail",
|
||
"style": {
|
||
"navigationBarTitleText": "订单详情"
|
||
}
|
||
},
|
||
{
|
||
"path":"pages/ucenter/UserAgreement",
|
||
"style": {
|
||
"navigationBarTitleText": "用户服务协议"
|
||
}
|
||
}
|
||
,{
|
||
"path" : "pages/ucenter/PrivacyPolicy",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText": "隐私政策",
|
||
"enablePullDownRefresh": false
|
||
}
|
||
}
|
||
],
|
||
"globalStyle": {
|
||
// #ifdef H5
|
||
"h5": {
|
||
"titleNView": false
|
||
},
|
||
// #endif
|
||
"navigationBarTextStyle": "black",
|
||
"navigationBarTitleText": "uni-starter",
|
||
"navigationBarBackgroundColor": "#FFFFFF",
|
||
"backgroundColor": "#F8F8F8",
|
||
"enablePullDownRefresh": false,
|
||
"rpxCalcMaxDeviceWidth": 375,
|
||
"rpxCalcBaseDeviceWidth": 375
|
||
},
|
||
"condition": {
|
||
"path": "pages/ucenter/settings/settings",
|
||
"current": 1
|
||
},
|
||
"tabBar": {
|
||
"color": "#7A7E83",
|
||
"selectedColor": "#007AFF",
|
||
"borderStyle": "black",
|
||
"backgroundColor": "#FFFFFF",
|
||
"list": [{
|
||
"pagePath": "pages/productlist/productlist",
|
||
"iconPath": "static/tabbar/grid.png", //未按下显示的图标
|
||
"selectedIconPath": "static/tabbar/grid_active.png", //按下显示的图标
|
||
"text": "商品列表"
|
||
},
|
||
{
|
||
"pagePath": "pages/ucenter/ucenter",
|
||
"iconPath": "static/tabbar/me.png",
|
||
"selectedIconPath": "static/tabbar/me_active.png",
|
||
"text": "我的"
|
||
}
|
||
]
|
||
},
|
||
"uniIdRouter": {
|
||
"loginPage": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
|
||
"needLogin": [
|
||
"uni_modules/uni-id-pages/pages/userinfo/userinfo",
|
||
"pages/video/video"
|
||
],
|
||
"resToLogin": true
|
||
}
|
||
|
||
}
|