Commit 48e03f6443902b98868de3d3fa70c285542e814b
1 parent
b61b6108
add
Showing
2 changed files
with
217 additions
and
241 deletions
pages.json
| 1 | { | 1 | { |
| 2 | - "leftWindow": { | ||
| 3 | - "path": "windows/left-window.vue", | ||
| 4 | - "style": { | ||
| 5 | - "width": "350px" | ||
| 6 | - } | ||
| 7 | - }, | ||
| 8 | - "topWindow": { | ||
| 9 | - "path": "windows/top-window.vue", | ||
| 10 | - "style": { | ||
| 11 | - "height": "60px" | ||
| 12 | - } | ||
| 13 | - }, | ||
| 14 | - "pages": [ | ||
| 15 | - // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | ||
| 16 | - { | ||
| 17 | - "path": "pages/businessCard/buyCard", | ||
| 18 | - "style": { | ||
| 19 | - "navigationBarTitleText": "商户卡券购买" | ||
| 20 | - } | ||
| 21 | - }, | ||
| 22 | - { | ||
| 23 | - "path": "pages/businessCard/businessCard", | ||
| 24 | - "style": { | ||
| 25 | - "navigationBarTitleText": "商户卡券" | ||
| 26 | - } | ||
| 27 | - }, | ||
| 28 | - { | ||
| 29 | - "path": "pages/parkRecordList/recordDetail", | ||
| 30 | - "style": { | ||
| 31 | - "navigationBarTitleText": "订单详情" | ||
| 32 | - } | ||
| 33 | - }, | ||
| 34 | - { | ||
| 35 | - "path": "pages/parkRecordList/parkRecordList", | ||
| 36 | - "style": { | ||
| 37 | - "navigationBarTitleText": "停车记录" | ||
| 38 | - } | ||
| 39 | - }, | ||
| 40 | - { | ||
| 41 | - "path": "pages/parkPay/parkPay", | ||
| 42 | - "style": { | ||
| 43 | - "navigationBarTitleText": "支付" | ||
| 44 | - } | ||
| 45 | - }, | ||
| 46 | - { | ||
| 47 | - "path": "pages/inputCarNumber/inputCarNumber", | ||
| 48 | - "style": { | ||
| 49 | - "navigationBarTitleText": "停车缴费" | ||
| 50 | - } | ||
| 51 | - }, | ||
| 52 | - { | ||
| 53 | - "path": "pages/moneyRecharge/moneyRecharge", | ||
| 54 | - "style": { | ||
| 55 | - "navigationBarTitleText": "钱包充值" | ||
| 56 | - } | ||
| 57 | - }, | ||
| 58 | - { | ||
| 59 | - "path": "pages/tabBar/component/component", | ||
| 60 | - "style": { | ||
| 61 | - "navigationBarTitleText": "内置组件", | ||
| 62 | - "app-plus": { | ||
| 63 | - "bounce": "vertical", | ||
| 64 | - "titleNView": { | ||
| 65 | - "buttons": [ | ||
| 66 | - { | ||
| 67 | - "text": "\ue534", | ||
| 68 | - "fontSrc": "/static/uni.ttf", | ||
| 69 | - "fontSize": "22px", | ||
| 70 | - "color": "#FFFFFF" | ||
| 71 | - } | ||
| 72 | - ] | ||
| 73 | - } | ||
| 74 | - } | ||
| 75 | - } | ||
| 76 | - }, | ||
| 77 | - { | ||
| 78 | - "path": "pages/tabBar/extUI/extUI", | ||
| 79 | - "style": { | ||
| 80 | - "navigationBarTitleText": "扩展组件", | ||
| 81 | - "app-plus": { | ||
| 82 | - "titleNView": { | ||
| 83 | - "buttons": [ | ||
| 84 | - { | ||
| 85 | - "text": "\ue534", | ||
| 86 | - "fontSrc": "/static/uni.ttf", | ||
| 87 | - "fontSize": "22px", | ||
| 88 | - "color": "#FFFFFF" | ||
| 89 | - } | ||
| 90 | - ] | ||
| 91 | - } | ||
| 92 | - } | ||
| 93 | - } | ||
| 94 | - }, | ||
| 95 | - { | ||
| 96 | - "path": "pages/rechargeDetail/rechargeDetail", | ||
| 97 | - "style": { | ||
| 98 | - "navigationBarTitleText": "充值明细" | ||
| 99 | - } | ||
| 100 | - }, | ||
| 101 | - { | ||
| 102 | - "path": "pages/rechargeDetail/outDetail", | ||
| 103 | - "style": { | ||
| 104 | - "navigationBarTitleText": "账单详情" | ||
| 105 | - } | ||
| 106 | - }, | ||
| 107 | - { | ||
| 108 | - "path": "pages/index/index", | ||
| 109 | - "style": { | ||
| 110 | - "navigationBarTitleText": "商户管理" | ||
| 111 | - } | ||
| 112 | - } | ||
| 113 | - ,{ | ||
| 114 | - "path" : "pages/login/login", | ||
| 115 | - "style" : | ||
| 116 | - { | ||
| 117 | - "navigationBarTitleText": "商户中心", | ||
| 118 | - "enablePullDownRefresh": false | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - } | ||
| 122 | - ,{ | ||
| 123 | - "path" : "pages/setting/setting", | ||
| 124 | - "style" : | ||
| 125 | - { | ||
| 126 | - "navigationBarTitleText": "设置", | ||
| 127 | - "enablePullDownRefresh": false | ||
| 128 | - } | ||
| 129 | - | ||
| 130 | - } | ||
| 131 | - ,{ | ||
| 132 | - "path" : "pages/manuals/manuals", | ||
| 133 | - "style" : | ||
| 134 | - { | ||
| 135 | - "navigationBarTitleText": "使用指南", | ||
| 136 | - "enablePullDownRefresh": false | ||
| 137 | - } | ||
| 138 | - | ||
| 139 | - } | ||
| 140 | - ,{ | ||
| 141 | - "path" : "pages/aboutOur/aboutOur", | ||
| 142 | - "style" : | ||
| 143 | - { | ||
| 144 | - "navigationBarTitleText": "关于我们", | ||
| 145 | - "enablePullDownRefresh": false | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - }, | ||
| 149 | - { | ||
| 150 | - "path" : "pages/invoiceClaim/invoiceClaim", | ||
| 151 | - "style" : | ||
| 152 | - { | ||
| 153 | - "navigationBarTitleText": "发票申领", | ||
| 154 | - "enablePullDownRefresh": false | ||
| 155 | - } | ||
| 156 | - | ||
| 157 | - } | ||
| 158 | - ,{ | ||
| 159 | - "path" : "pages/billing/billing", | ||
| 160 | - "style" : | ||
| 161 | - { | ||
| 162 | - "navigationBarTitleText": "发票申领", | ||
| 163 | - "enablePullDownRefresh": false | ||
| 164 | - } | ||
| 165 | - | 2 | + "leftWindow": { |
| 3 | + "path": "windows/left-window.vue", | ||
| 4 | + "style": { | ||
| 5 | + "width": "350px" | ||
| 166 | } | 6 | } |
| 167 | - ,{ | ||
| 168 | - "path" : "pages/invoiceRecord/invoiceRecord", | ||
| 169 | - "style" : | ||
| 170 | - { | ||
| 171 | - "navigationBarTitleText": "开票历史", | ||
| 172 | - "enablePullDownRefresh": false | ||
| 173 | - } | ||
| 174 | - | 7 | + }, |
| 8 | + "topWindow": { | ||
| 9 | + "path": "windows/top-window.vue", | ||
| 10 | + "style": { | ||
| 11 | + "height": "60px" | ||
| 175 | } | 12 | } |
| 176 | - ,{ | ||
| 177 | - "path" : "pages/invoiceForm/invoiceForm", | ||
| 178 | - "style" : | ||
| 179 | - { | ||
| 180 | - "navigationBarTitleText": "开票历史", | ||
| 181 | - "enablePullDownRefresh": false | ||
| 182 | - } | ||
| 183 | - | 13 | + }, |
| 14 | + "pages": [ | ||
| 15 | + // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | ||
| 16 | + { | ||
| 17 | + "path": "pages/businessCard/buyCard", | ||
| 18 | + "style": { | ||
| 19 | + "navigationBarTitleText": "商户卡券购买" | ||
| 20 | + } | ||
| 21 | + }, | ||
| 22 | + { | ||
| 23 | + "path": "pages/businessCard/businessCard", | ||
| 24 | + "style": { | ||
| 25 | + "navigationBarTitleText": "商户卡券" | ||
| 26 | + } | ||
| 27 | + }, | ||
| 28 | + { | ||
| 29 | + "path": "pages/parkRecordList/recordDetail", | ||
| 30 | + "style": { | ||
| 31 | + "navigationBarTitleText": "订单详情" | ||
| 32 | + } | ||
| 33 | + }, | ||
| 34 | + { | ||
| 35 | + "path": "pages/parkRecordList/parkRecordList", | ||
| 36 | + "style": { | ||
| 37 | + "navigationBarTitleText": "停车记录" | ||
| 38 | + } | ||
| 39 | + }, | ||
| 40 | + { | ||
| 41 | + "path": "pages/parkPay/parkPay", | ||
| 42 | + "style": { | ||
| 43 | + "navigationBarTitleText": "支付" | ||
| 44 | + } | ||
| 45 | + }, | ||
| 46 | + { | ||
| 47 | + "path": "pages/inputCarNumber/inputCarNumber", | ||
| 48 | + "style": { | ||
| 49 | + "navigationBarTitleText": "停车缴费" | ||
| 50 | + } | ||
| 51 | + }, | ||
| 52 | + { | ||
| 53 | + "path": "pages/moneyRecharge/moneyRecharge", | ||
| 54 | + "style": { | ||
| 55 | + "navigationBarTitleText": "钱包充值" | ||
| 56 | + } | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "path": "pages/tabBar/component/component", | ||
| 60 | + "style": { | ||
| 61 | + "navigationBarTitleText": "内置组件", | ||
| 62 | + "app-plus": { | ||
| 63 | + "bounce": "vertical", | ||
| 64 | + "titleNView": { | ||
| 65 | + "buttons": [{ | ||
| 66 | + "text": "\ue534", | ||
| 67 | + "fontSrc": "/static/uni.ttf", | ||
| 68 | + "fontSize": "22px", | ||
| 69 | + "color": "#FFFFFF" | ||
| 70 | + }] | ||
| 71 | + } | ||
| 72 | + } | ||
| 73 | + } | ||
| 74 | + }, | ||
| 75 | + { | ||
| 76 | + "path": "pages/tabBar/extUI/extUI", | ||
| 77 | + "style": { | ||
| 78 | + "navigationBarTitleText": "扩展组件", | ||
| 79 | + "app-plus": { | ||
| 80 | + "titleNView": { | ||
| 81 | + "buttons": [{ | ||
| 82 | + "text": "\ue534", | ||
| 83 | + "fontSrc": "/static/uni.ttf", | ||
| 84 | + "fontSize": "22px", | ||
| 85 | + "color": "#FFFFFF" | ||
| 86 | + }] | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + } | ||
| 90 | + }, | ||
| 91 | + { | ||
| 92 | + "path": "pages/rechargeDetail/rechargeDetail", | ||
| 93 | + "style": { | ||
| 94 | + "navigationBarTitleText": "充值明细" | ||
| 95 | + } | ||
| 96 | + }, | ||
| 97 | + { | ||
| 98 | + "path": "pages/rechargeDetail/outDetail", | ||
| 99 | + "style": { | ||
| 100 | + "navigationBarTitleText": "账单详情" | ||
| 101 | + } | ||
| 102 | + }, | ||
| 103 | + { | ||
| 104 | + "path": "pages/index/index", | ||
| 105 | + "style": { | ||
| 106 | + "navigationBarTitleText": "商户管理" | ||
| 107 | + } | ||
| 108 | + }, { | ||
| 109 | + "path": "pages/login/login", | ||
| 110 | + "style": { | ||
| 111 | + "navigationBarTitleText": "商户中心", | ||
| 112 | + "enablePullDownRefresh": false | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + }, { | ||
| 116 | + "path": "pages/setting/setting", | ||
| 117 | + "style": { | ||
| 118 | + "navigationBarTitleText": "设置", | ||
| 119 | + "enablePullDownRefresh": false | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + }, { | ||
| 123 | + "path": "pages/manuals/manuals", | ||
| 124 | + "style": { | ||
| 125 | + "navigationBarTitleText": "使用指南", | ||
| 126 | + "enablePullDownRefresh": false | ||
| 127 | + } | ||
| 128 | + | ||
| 129 | + }, { | ||
| 130 | + "path": "pages/aboutOur/aboutOur", | ||
| 131 | + "style": { | ||
| 132 | + "navigationBarTitleText": "关于我们", | ||
| 133 | + "enablePullDownRefresh": false | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + }, | ||
| 137 | + { | ||
| 138 | + "path": "pages/invoiceClaim/invoiceClaim", | ||
| 139 | + "style": { | ||
| 140 | + "navigationBarTitleText": "发票申领", | ||
| 141 | + "enablePullDownRefresh": false | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + }, { | ||
| 145 | + "path": "pages/billing/billing", | ||
| 146 | + "style": { | ||
| 147 | + "navigationBarTitleText": "发票申领", | ||
| 148 | + "enablePullDownRefresh": false | ||
| 149 | + } | ||
| 150 | + | ||
| 151 | + }, { | ||
| 152 | + "path": "pages/invoiceRecord/invoiceRecord", | ||
| 153 | + "style": { | ||
| 154 | + "navigationBarTitleText": "开票历史", | ||
| 155 | + "enablePullDownRefresh": false | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + }, { | ||
| 159 | + "path": "pages/invoiceForm/invoiceForm", | ||
| 160 | + "style": { | ||
| 161 | + "navigationBarTitleText": "开票历史", | ||
| 162 | + "enablePullDownRefresh": false | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + }, { | ||
| 166 | + "path": "pages/elecRecord/elecRecord", | ||
| 167 | + "style": { | ||
| 168 | + "navigationBarTitleText": "电子包含记录", | ||
| 169 | + "enablePullDownRefresh": false | ||
| 170 | + } | ||
| 171 | + | ||
| 172 | + }, { | ||
| 173 | + "path": "pages/invoicePreview/invoicePreview", | ||
| 174 | + "style": { | ||
| 175 | + "navigationBarTitleText": "发票预览", | ||
| 176 | + "enablePullDownRefresh": false | ||
| 177 | + } | ||
| 178 | + | ||
| 184 | } | 179 | } |
| 185 | - ,{ | ||
| 186 | - "path" : "pages/elecRecord/elecRecord", | ||
| 187 | - "style" : | ||
| 188 | - { | ||
| 189 | - "navigationBarTitleText": "电子包含记录", | ||
| 190 | - "enablePullDownRefresh": false | ||
| 191 | - } | ||
| 192 | - | 180 | + ], |
| 181 | + "globalStyle": { | ||
| 182 | + "navigationBarTextStyle": "black", | ||
| 183 | + "navigationBarTitleText": "停车小码头", | ||
| 184 | + "navigationBarBackgroundColor": "#F8F8F8", | ||
| 185 | + "backgroundColor": "#F8F8F8", | ||
| 186 | + "pageOrientation": "portrait", | ||
| 187 | + "mp-360": { | ||
| 188 | + "navigationStyle": "custom" | ||
| 189 | + }, | ||
| 190 | + "h5": { | ||
| 191 | + "maxWidth": 1190, | ||
| 192 | + "navigationBarTextStyle": "black", | ||
| 193 | + "navigationBarBackgroundColor": "#F1F1F1" | ||
| 193 | } | 194 | } |
| 194 | - ,{ | ||
| 195 | - "path" : "pages/invoicePreview/invoicePreview", | ||
| 196 | - "style" : | ||
| 197 | - { | ||
| 198 | - "navigationBarTitleText": "发票预览", | ||
| 199 | - "enablePullDownRefresh": false | ||
| 200 | - } | ||
| 201 | - | ||
| 202 | - } | ||
| 203 | - ], | ||
| 204 | - "globalStyle": { | ||
| 205 | - "pageOrientation": "portrait", | ||
| 206 | - "navigationBarTitleText": "Hello uniapp", | ||
| 207 | - "navigationBarTextStyle": "white", | ||
| 208 | - "navigationBarBackgroundColor": "#007AFF", | ||
| 209 | - "backgroundColor": "#F8F8F8", | ||
| 210 | - "backgroundColorTop": "#F4F5F6", | ||
| 211 | - "backgroundColorBottom": "#F4F5F6", | ||
| 212 | - "mp-360": { | ||
| 213 | - "navigationStyle": "custom" | ||
| 214 | - }, | ||
| 215 | - "h5": { | ||
| 216 | - "maxWidth": 1190, | ||
| 217 | - "navigationBarTextStyle": "black", | ||
| 218 | - "navigationBarBackgroundColor": "#F1F1F1" | ||
| 219 | - } | ||
| 220 | - }, | ||
| 221 | - "tabBar": { | ||
| 222 | - "color": "#7A7E83", | ||
| 223 | - "selectedColor": "#007AFF", | ||
| 224 | - "borderStyle": "black", | ||
| 225 | - "backgroundColor": "#F8F8F8", | ||
| 226 | - "list": [ | ||
| 227 | - { | ||
| 228 | - "pagePath": "pages/tabBar/component/component", | ||
| 229 | - "iconPath": "static/component.png", | ||
| 230 | - "selectedIconPath": "static/componentHL.png", | ||
| 231 | - "text": "内置组件" | ||
| 232 | - }, | ||
| 233 | - { | ||
| 234 | - "pagePath": "pages/tabBar/extUI/extUI", | ||
| 235 | - "iconPath": "static/extui.png", | ||
| 236 | - "selectedIconPath": "static/extuiHL.png", | ||
| 237 | - "text": "扩展组件" | ||
| 238 | - } | ||
| 239 | - ] | ||
| 240 | - } | 195 | + }, |
| 196 | + "tabBar": { | ||
| 197 | + "color": "#7A7E83", | ||
| 198 | + "selectedColor": "#007AFF", | ||
| 199 | + "borderStyle": "black", | ||
| 200 | + "backgroundColor": "#FFF", | ||
| 201 | + "list": [{ | ||
| 202 | + "pagePath": "pages/tabBar/component/component", | ||
| 203 | + "iconPath": "static/component.png", | ||
| 204 | + "selectedIconPath": "static/componentHL.png", | ||
| 205 | + "text": "内置组件" | ||
| 206 | + }, | ||
| 207 | + { | ||
| 208 | + "pagePath": "pages/tabBar/extUI/extUI", | ||
| 209 | + "iconPath": "static/extui.png", | ||
| 210 | + "selectedIconPath": "static/extuiHL.png", | ||
| 211 | + "text": "扩展组件" | ||
| 212 | + } | ||
| 213 | + ] | ||
| 214 | + } | ||
| 241 | } | 215 | } |
pages/index/index.vue
| 1 | <template> | 1 | <template> |
| 2 | - <view> | 2 | + <view class="bg-white"> |
| 3 | <view class="index-top"> | 3 | <view class="index-top"> |
| 4 | <view v-if="userIsLogin"> | 4 | <view v-if="userIsLogin"> |
| 5 | - <view> | 5 | + <view style="z-index: 2;"> |
| 6 | <image src="http://122.152.205.72:88/group1/M00/00/05/CpoxxFw_-5-AFyVyAABLIH8xBTw233.png" | 6 | <image src="http://122.152.205.72:88/group1/M00/00/05/CpoxxFw_-5-AFyVyAABLIH8xBTw233.png" |
| 7 | class="face"></image> | 7 | class="face"></image> |
| 8 | <view class="username">张三</view> | 8 | <view class="username">张三</view> |
| @@ -85,9 +85,10 @@ | @@ -85,9 +85,10 @@ | ||
| 85 | <style lang="scss"> | 85 | <style lang="scss"> |
| 86 | .index-top { | 86 | .index-top { |
| 87 | height: 200upx; | 87 | height: 200upx; |
| 88 | - background-color: #2f68d5; | 88 | + background-color: #2d7bf7; |
| 89 | position: relative; | 89 | position: relative; |
| 90 | text-align: center; | 90 | text-align: center; |
| 91 | + z-index: 2; | ||
| 91 | } | 92 | } |
| 92 | 93 | ||
| 93 | .index-top:after { | 94 | .index-top:after { |
| @@ -99,7 +100,7 @@ | @@ -99,7 +100,7 @@ | ||
| 99 | z-index: -1; | 100 | z-index: -1; |
| 100 | content: ''; | 101 | content: ''; |
| 101 | border-radius: 0 0 50% 50%; | 102 | border-radius: 0 0 50% 50%; |
| 102 | - background: linear-gradient(#2f68d5, #2f68d5); | 103 | + background: linear-gradient(#2d7bf7, #2d7bf7); |
| 103 | } | 104 | } |
| 104 | 105 | ||
| 105 | .face { | 106 | .face { |
| @@ -116,7 +117,7 @@ | @@ -116,7 +117,7 @@ | ||
| 116 | line-height: 50upx; | 117 | line-height: 50upx; |
| 117 | text-align: center; | 118 | text-align: center; |
| 118 | color: #fff; | 119 | color: #fff; |
| 119 | - | 120 | + z-index: 2; |
| 120 | } | 121 | } |
| 121 | 122 | ||
| 122 | .set-wapper { | 123 | .set-wapper { |
| @@ -124,6 +125,7 @@ | @@ -124,6 +125,7 @@ | ||
| 124 | position: absolute; | 125 | position: absolute; |
| 125 | top: 30upx; | 126 | top: 30upx; |
| 126 | right: 50upx; | 127 | right: 50upx; |
| 128 | + z-index: 2; | ||
| 127 | } | 129 | } |
| 128 | 130 | ||
| 129 | .settings { | 131 | .settings { |
| @@ -133,7 +135,7 @@ | @@ -133,7 +135,7 @@ | ||
| 133 | 135 | ||
| 134 | .index-menu { | 136 | .index-menu { |
| 135 | width: 100%; | 137 | width: 100%; |
| 136 | - height: 240upx; | 138 | + height: 440upx; |
| 137 | margin-top: 160upx; | 139 | margin-top: 160upx; |
| 138 | } | 140 | } |
| 139 | 141 |