123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- {
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "首页",
- "navigationStyle": "custom",
- "app-plus": {
- "scrollIndicator": false //禁用原生导航栏
- }
- }
- },
- {
- "path": "pages/index/site",
- "style": {
- "navigationBarTitleText": "开通分站"
- }
- },
- {
- "path": "pages/product/index",
- "style": {
- "navigationBarTitleText": "商品"
- }
- },
- {
- "path": "pages/product/detail",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/news/index",
- "style": {
- "navigationBarTitleText": "消息详情"
- }
- },
- {
- "path": "pages/users/login/index",
- "style": {
- "navigationBarTitleText": "登录"
- }
- },
- {
- "path": "pages/users/register/index",
- "style": {
- "navigationBarTitleText": "注册"
- }
- },
- {
- "path": "pages/users/retrievePassword/index",
- "style": {
- "navigationBarTitleText": "重置密码"
- }
- },
- {
- "path": "pages/my/index",
- "style": {
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/users/order/index",
- "style": {
- "navigationBarTitleText": "我的订单"
- }
- },
- {
- "path": "pages/users/order/detail",
- "style": {
- "navigationBarTitleText": "订单详情"
- }
- },
- {
- "path": "pages/users/spread/index",
- "style": {
- "navigationBarTitleText": "邀请好友"
- }
- },
- {
- "path": "pages/users/purchase/index",
- "style": {
- "navigationBarTitleText": "立即发货"
- }
- },
- {
- "path": "pages/users/recharge/index",
- "style": {
- "navigationBarTitleText": "余额充值"
- }
- },
- {
- "path": "pages/users/recharge/xieyi",
- "style": {
- "navigationBarTitleText": "用户协议"
- }
- },
- {
- "path": "pages/users/record/index",
- "style": {
- "navigationBarTitleText": "账单明细"
- }
- },
- {
- "path": "pages/users/commission/index",
- "style": {
- "navigationBarTitleText": "邀请奖励"
- }
- }
-
- ],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "巴巴礼品",
- "navigationBarBackgroundColor": "#fff",
- "backgroundColor": "#F8F8F8",
- "titleNView": false
- },
- "tabBar": {
- "color": "#282828",
- "selectedColor": "#ff5c00",
- "borderStyle": "black",
- "backgroundColor": "#ffffff",
- "list": [
- {
- "pagePath": "pages/index/index",
- "iconPath": "static/images/1-001.png",
- "selectedIconPath": "static/images/1-002.png",
- "text": "首页"
- },
- {
- "pagePath": "pages/product/index",
- "iconPath": "static/images/2-001.png",
- "selectedIconPath": "static/images/2-002.png",
- "text": "商品"
- },
- {
- "pagePath": "pages/users/purchase/index",
- "iconPath": "static/images/3-001.png",
- "selectedIconPath": "static/images/3-002.png",
- "text": "立即发货"
- },
- {
- "pagePath": "pages/my/index",
- "iconPath": "static/images/4-001.png",
- "selectedIconPath": "static/images/4-002.png",
- "text": "我的"
- }
- ]
- },
- "condition" : { //模式配置,仅开发期间生效
- "current": 0, //当前激活的模式(list 的索引项)
- "list": [
- {
- "name": "", //模式名称
- "path": "", //启动页面,必选
- "query": "" //启动参数,在页面的onLoad函数里面得到
- }
- ]
- }
- }
|