|
@@ -4,74 +4,133 @@
|
|
|
"path": "pages/home/home",
|
|
|
"style": {
|
|
|
"navigationStyle": "custom",
|
|
|
- "backgroundColorTop":"#ff5d5b",
|
|
|
- "backgroundColorBottom":"#eeeeee"
|
|
|
+ "backgroundColorTop": "#ff5d5b",
|
|
|
+ "backgroundColorBottom": "#eeeeee"
|
|
|
}
|
|
|
+ }, {
|
|
|
+ "path": "pages/order/order",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "",
|
|
|
+ "enablePullDownRefresh": false
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/user/user-center",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "",
|
|
|
+ "enablePullDownRefresh": false
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/shopping-cart/shopping-cart",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "",
|
|
|
+ "enablePullDownRefresh": false
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/user/login",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "登录",
|
|
|
+ "enablePullDownRefresh": false,
|
|
|
+ "navigationBarBackgroundColor": "#ff5d5b",
|
|
|
+ "backgroundColor": "#ff5d5b"
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ "path": "pages/user/find-pass",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "找回密码",
|
|
|
+ "enablePullDownRefresh": false,
|
|
|
+ "backgroundColor": "#ff5d5b"
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/register/step1",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "第一步",
|
|
|
+ "enablePullDownRefresh": false,
|
|
|
+ "backgroundColor": "#ff5d5b"
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/register/step2",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "第二步",
|
|
|
+ "enablePullDownRefresh": false,
|
|
|
+ "backgroundColor": "#ff5d5b"
|
|
|
+ }
|
|
|
+ }, {
|
|
|
+ "path": "pages/register/step3",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "注册",
|
|
|
+ "enablePullDownRefresh": false,
|
|
|
+ "backgroundColor": "#ff5d5b"
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/user/simple-article",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "",
|
|
|
+ "enablePullDownRefresh": false
|
|
|
+ }
|
|
|
+
|
|
|
+ }, {
|
|
|
+ "path": "pages/user/vcode-login",
|
|
|
+ "style": {
|
|
|
+ "navigationBarTitleText": "",
|
|
|
+ "enablePullDownRefresh": false,
|
|
|
+ "navigationBarBackgroundColor": "#ff5d5b",
|
|
|
+ "backgroundColor": "#ff5d5b"
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
- ,{
|
|
|
- "path" : "pages/order/order",
|
|
|
- "style" :
|
|
|
- {
|
|
|
- "navigationBarTitleText": "",
|
|
|
- "enablePullDownRefresh": false
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- ,{
|
|
|
- "path" : "pages/user-center/user-center",
|
|
|
- "style" :
|
|
|
- {
|
|
|
- "navigationBarTitleText": "",
|
|
|
- "enablePullDownRefresh": false
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- ,{
|
|
|
- "path" : "pages/shopping-cart/shopping-cart",
|
|
|
- "style" :
|
|
|
- {
|
|
|
- "navigationBarTitleText": "",
|
|
|
- "enablePullDownRefresh": false
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- ],
|
|
|
+ ],
|
|
|
"globalStyle": {
|
|
|
- "navigationBarTextStyle": "black",
|
|
|
- "navigationBarTitleText": "uni-app",
|
|
|
- "navigationBarBackgroundColor": "#F8F8F8",
|
|
|
+ "navigationBarTextStyle": "white",
|
|
|
+ "navigationBarTitleText": "省心直供",
|
|
|
+ "navigationBarBackgroundColor": "#ff5d5b",
|
|
|
"backgroundColor": "#F8F8F8"
|
|
|
},
|
|
|
"tabBar": {
|
|
|
- "color": "#7A7E83",
|
|
|
- "selectedColor": "#ff5555",
|
|
|
- "borderStyle": "black",
|
|
|
- "backgroundColor": "#ffffff",
|
|
|
- "midButton":{
|
|
|
+ "color": "#7A7E83",
|
|
|
+ "selectedColor": "#ff5d5b",
|
|
|
+ "borderStyle": "black",
|
|
|
+ "backgroundColor": "#ffffff",
|
|
|
+ "midButton": {
|
|
|
"iconPath": "static/images/camera.png",
|
|
|
- "iconWidth":"40px",
|
|
|
- "height":"45px"
|
|
|
+ "iconWidth": "40px",
|
|
|
+ "height": "45px"
|
|
|
},
|
|
|
- "list": [{
|
|
|
- "pagePath": "pages/home/home",
|
|
|
- "iconPath": "static/images/home.png",
|
|
|
- "selectedIconPath": "static/images/home_selected.png",
|
|
|
- "text": "首页"
|
|
|
- }, {
|
|
|
- "pagePath": "pages/order/order",
|
|
|
- "iconPath": "static/images/qiang.png",
|
|
|
- "selectedIconPath": "static/images/qiang_selected.png",
|
|
|
- "text": "订单"
|
|
|
- }, {
|
|
|
- "pagePath": "pages/shopping-cart/shopping-cart",
|
|
|
- "iconPath": "static/images/kan.png",
|
|
|
- "selectedIconPath": "static/images/kan_selected.png",
|
|
|
- "text": "购物车"
|
|
|
- }, {
|
|
|
- "pagePath": "pages/user-center/user-center",
|
|
|
- "iconPath": "static/images/user.png",
|
|
|
- "selectedIconPath": "static/images/user_selected.png",
|
|
|
- "text": "我的"
|
|
|
- }]
|
|
|
+ "list": [{
|
|
|
+ "pagePath": "pages/home/home",
|
|
|
+ "iconPath": "static/images/home.png",
|
|
|
+ "selectedIconPath": "static/images/home_selected.png",
|
|
|
+ "text": "首页"
|
|
|
+ }, {
|
|
|
+ "pagePath": "pages/order/order",
|
|
|
+ "iconPath": "static/images/qiang.png",
|
|
|
+ "selectedIconPath": "static/images/qiang_selected.png",
|
|
|
+ "text": "订单"
|
|
|
+ }, {
|
|
|
+ "pagePath": "pages/shopping-cart/shopping-cart",
|
|
|
+ "iconPath": "static/images/kan.png",
|
|
|
+ "selectedIconPath": "static/images/kan_selected.png",
|
|
|
+ "text": "购物车"
|
|
|
+ }, {
|
|
|
+ "pagePath": "pages/user/user-center",
|
|
|
+ "iconPath": "static/images/user.png",
|
|
|
+ "selectedIconPath": "static/images/user_selected.png",
|
|
|
+ "text": "我的"
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ "condition": { //模式配置,仅开发期间生效
|
|
|
+ "current": 0, //当前激活的模式(list 的索引项)
|
|
|
+ "list": [{
|
|
|
+ "name": "", //模式名称
|
|
|
+ "path": "", //启动页面,必选
|
|
|
+ "query": "" //启动参数,在页面的onLoad函数里面得到
|
|
|
+ }]
|
|
|
}
|
|
|
}
|