From 3c0ac798b86d309194cca5bbbc66c5b1357adb92 Mon Sep 17 00:00:00 2001 From: yangjie <812952667@qq.com> Date: Tue, 22 Jun 2021 10:59:05 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E=E5=9B=A2=E6=B2=B9=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 85 +++++++++---------- pages/goods/refuel-confirm/refuel-confirm.vue | 52 +++++++++++- pages/goods/refuel-details/refuel-details.vue | 2 +- uni.scss | 24 ++++-- 4 files changed, 108 insertions(+), 55 deletions(-) diff --git a/pages.json b/pages.json index 5341371..9cba818 100644 --- a/pages.json +++ b/pages.json @@ -1,42 +1,16 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path" : "pages/goods/refuel-confirm/refuel-confirm", - "style" : - { - "navigationBarTitleText": "确认订单", - "navigationBarBackgroundColor": "#0083f5", - "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": false - } - - },{ - "path" : "pages/goods/refuel-details/refuel-details", - "style" : - { - // 加油站 - "enablePullDownRefresh": false, - "navigationBarTitleText": "", - "backgroundTextStyle": "light", - "navigationBarBackgroundColor": "#0083f5", - "backgroundColorTop": "#0083f5", - "navigationBarTextStyle": "white" - } - - },{ - "path" : "pages/goods/refuel/refuel", - "style" : - { - "navigationBarTitleText": "加油站列表", + "path": "pages/goods/refuel-confirm/refuel-confirm", + "style": { + "navigationBarTitleText": "确认订单", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", - "enablePullDownRefresh": false - } - - }, - { + "enablePullDownRefresh": false + } + + }, { "path": "pages/tabBar/home/home", "style": { "navigationBarTextStyle": "black", @@ -55,8 +29,40 @@ }] } } + }, { + "path": "pages/user/order_details/order_details", + "style": { + // "navigationBarTitleText": "订单详情", + "navigationBarBackgroundColor": "#0083f5", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/goods/refuel-details/refuel-details", + "style": { + // 加油站 + "enablePullDownRefresh": false, + "navigationBarTitleText": "", + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white" + } + + }, { + "path": "pages/goods/refuel/refuel", + "style": { + "navigationBarTitleText": "加油站列表", + "navigationBarBackgroundColor": "#0083f5", + "backgroundColorTop": "#0083f5", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } + }, - + + { "path": "pages/goods/store-list/store-list", "style": { @@ -336,15 +342,6 @@ "backgroundColorTop": "#f3f3f3", "backgroundColorBottom": "#ffffff" } - }, { - "path": "pages/user/order_details/order_details", - "style": { - // "navigationBarTitleText": "订单详情", - "navigationBarBackgroundColor": "#0083f5", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": false - } - }, { "path": "pages/goods/recording/recording", "style": { @@ -417,7 +414,7 @@ } } - ], + ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/goods/refuel-confirm/refuel-confirm.vue b/pages/goods/refuel-confirm/refuel-confirm.vue index ee022b4..403b3b8 100644 --- a/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/pages/goods/refuel-confirm/refuel-confirm.vue @@ -1,8 +1,40 @@