Bläddra i källkod

Merge branch 'gczdev' of http://dzgogs.hw.hongweisoft.com/parking/parking_h5 into gczdev

carljin 3 år sedan
förälder
incheckning
c5866ad6b0

+ 0 - 80
node_modules/vue-jsonp/package.json

@@ -1,80 +0,0 @@
-{
-  "_from": "vue-jsonp",
-  "_id": "vue-jsonp@2.0.0",
-  "_inBundle": false,
-  "_integrity": "sha512-Mzd9GNeuKP5hHFDWZNMWOsCuMILSkA6jo2l4A02wheFz3qqBzH7aSEFTey1BRCZCLizlaf1EqJ5YUtF392KspA==",
-  "_location": "/vue-jsonp",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "tag",
-    "registry": true,
-    "raw": "vue-jsonp",
-    "name": "vue-jsonp",
-    "escapedName": "vue-jsonp",
-    "rawSpec": "",
-    "saveSpec": null,
-    "fetchSpec": "latest"
-  },
-  "_requiredBy": [
-    "#USER",
-    "/"
-  ],
-  "_resolved": "https://registry.npmjs.org/vue-jsonp/-/vue-jsonp-2.0.0.tgz",
-  "_shasum": "3bfac56bb72941a2511c11e1a123b876f03427f7",
-  "_spec": "vue-jsonp",
-  "_where": "H:\\company-project\\parking_h5",
-  "author": {
-    "name": "LancerComet",
-    "email": "chw644@hotmail.com"
-  },
-  "bugs": {
-    "url": "https://github.com/LancerComet/vue-jsonp/issues"
-  },
-  "bundleDependencies": false,
-  "deprecated": false,
-  "description": "A tiny library for handling JSONP request.",
-  "devDependencies": {
-    "@types/expect-puppeteer": "^4.4.3",
-    "@types/jest": "^26.0.14",
-    "@types/jest-environment-puppeteer": "^4.4.0",
-    "@types/puppeteer": "^3.0.2",
-    "jest": "^26.4.2",
-    "jest-puppeteer": "^4.4.0",
-    "puppeteer": "^5.3.1",
-    "rollup": "^2.28.2",
-    "rollup-plugin-cleanup": "^3.2.1",
-    "rollup-plugin-delete": "^2.0.0",
-    "rollup-plugin-terser": "^7.0.2",
-    "rollup-plugin-typescript2": "^0.27.3",
-    "ts-jest": "^26.4.1",
-    "tslint": "^6.1.3",
-    "typescript": "^4.0.3",
-    "vue": "^2.6.12"
-  },
-  "files": [
-    "dist/",
-    "index.d.ts",
-    "README.md"
-  ],
-  "homepage": "https://github.com/LancerComet/vue-jsonp#readme",
-  "keywords": [
-    "Vue",
-    "JSONP"
-  ],
-  "license": "MIT",
-  "main": "./dist/index.js",
-  "module": "./dist/index.esm.js",
-  "name": "vue-jsonp",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/LancerComet/vue-jsonp.git"
-  },
-  "scripts": {
-    "build": "rollup -c",
-    "prepublish": "npm run test",
-    "pretest": "npm run build",
-    "preversion": "npm run test",
-    "test": "jest"
-  },
-  "version": "2.0.0"
-}

+ 157 - 184
pages.json

@@ -6,14 +6,14 @@
 		{
 			"path": "pages/index/index",
 			"style": {
-				"navigationStyle":"custom",// 隐藏系统导航栏
+				"navigationStyle": "custom", // 隐藏系统导航栏
 				"navigationBarTitleText": "城市智慧停车"
 			}
 		},
 		{
 			"path": "pages/center/index",
 			"style": {
-				"navigationStyle":"custom",// 隐藏系统导航栏
+				"navigationStyle": "custom", // 隐藏系统导航栏
 				"navigationBarTextStyle": "white",
 				"navigationBarTitleText": "城市智慧停车"
 			}
@@ -22,7 +22,7 @@
 			"path": "pages/center/phoneLogin/phoneLogin",
 			"style": {
 				"navigationBarTitleText": "手机号登录",
-				"navigationStyle":"custom"
+				"navigationStyle": "custom"
 			}
 		},
 		{
@@ -61,17 +61,17 @@
 		{
 			"path": "pages/parkingLists/parkingLists",
 			"style": {
-				"navigationStyle":"custom",
+				"navigationStyle": "custom",
 				"navigationBarTitleText": "停车场"
 			}
 		},
 		{
 			"path": "pages/myCars/myCars",
 			"style": {
-				"navigationStyle":"custom",// 隐藏系统导航栏
+				"navigationStyle": "custom", // 隐藏系统导航栏
 				"navigationBarTitleText": "我的车辆"
 			}
-		},		
+		},
 		{
 			"path": "pages/payPage/payPage",
 			"style": {
@@ -82,222 +82,195 @@
 		{
 			"path": "pages/message/message",
 			"style": {
-				"navigationStyle":"custom",// 隐藏系统导航栏
-				"navigationBarTitleText":"消息中心"
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "消息中心"
 			}
 		},
 		{
 			"path": "pages/message/messageInfo",
 			"style": {
-				"navigationStyle":"custom",// 隐藏系统导航栏
-				"navigationBarTitleText":"消息中心"
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "消息中心"
 			}
 		},
 		{
 			"path": "pages/payLists/payLists",
 			"style": {
-				"navigationStyle":"custom",// 隐藏系统导航栏
-				"navigationBarTitleText":"停车缴费"
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "停车缴费"
 			}
 		},
 		{
-            "path" : "pages/parkingInformation/parkingInformation",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "停车场信息",
-                "enablePullDownRefresh": false,
-                "navigationBarBackgroundColor": "#ffffff",
-                "navigationBarTextStyle": "black"
-            }
-            
-        }
-        ,{
-            "path" : "pages/chargeStandard/chargeStandard",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "收费标准",
-                "enablePullDownRefresh": false,
+			"path": "pages/parkingInformation/parkingInformation",
+			"style": {
+				"navigationBarTitleText": "停车场信息",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#ffffff",
+				"navigationBarTextStyle": "black"
+			}
+
+		}, {
+			"path": "pages/chargeStandard/chargeStandard",
+			"style": {
+				"navigationBarTitleText": "收费标准",
+				"enablePullDownRefresh": false,
 				"navigationBarBackgroundColor": "#008CFF",
 				"navigationBarTextStyle": "white"
-            }
-            
-        }
-        ,{
-            "path" : "pages/handleMonthly/handleMonthly",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "办理包月",
-                "enablePullDownRefresh": false,
-                "navigationBarBackgroundColor": "#008CFF",
-                "navigationBarTextStyle": "white"
-            }
-            
-        }
-        ,{
-            "path" : "pages/center/monthly/monthly1",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "我的包月",
-                "navigationBarBackgroundColor": "#008CFF",
-                "navigationBarTextStyle": "white",
+			}
+
+		}, {
+			"path": "pages/handleMonthly/handleMonthly",
+			"style": {
+				"navigationBarTitleText": "办理包月",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#008CFF",
+				"navigationBarTextStyle": "white"
+			}
+
+		}, {
+			"path": "pages/center/monthly/monthly1",
+			"style": {
+				"navigationBarTitleText": "我的包月",
+				"navigationBarBackgroundColor": "#008CFF",
+				"navigationBarTextStyle": "white",
 				"enablePullDownRefresh": false
-            }
-        },
+			}
+		},
 		{
-		    "path" : "pages/center/monthly/monthly",
-		    "style" :                                                                                    
-		    {
-		        "navigationBarTitleText": "我的包月",
-		        "navigationBarBackgroundColor": "#008CFF",
-		        "navigationBarTextStyle": "white",
+			"path": "pages/center/monthly/monthly",
+			"style": {
+				"navigationBarTitleText": "我的包月",
+				"navigationBarBackgroundColor": "#008CFF",
+				"navigationBarTextStyle": "white",
 				"enablePullDownRefresh": false
-		    }
+			}
 		},
 		{
-		    "path" : "pages/payLists/pay",
-		    "style" :                                                                                    
-		    {
-		        "navigationStyle":"custom",// 隐藏系统导航栏
-		        "navigationBarTitleText":"支付"
-		    }
-		    
+			"path": "pages/payLists/pay",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "支付"
+			}
+
 		},
 		{
-		    "path" : "pages/paymentMethod/jumpMiddle",
-		    "style" :                                                                                    
-		    {
-		        "navigationStyle":"custom",// 隐藏系统导航栏
-		        "navigationBarTitleText":"跳转"
-		    }
-		    
+			"path": "pages/paymentMethod/jumpMiddle",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "跳转"
+			}
+
 		},
 		{
-		    "path" : "pages/handleMonthly/monthPay",
-		    "style" :                                                                                    
-		    {
-		        "navigationStyle":"custom",// 隐藏系统导航栏
-		        "navigationBarTitleText":"包月支付"
-		    }
-		    
+			"path": "pages/handleMonthly/monthPay",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "包月支付"
+			}
+
 		},
 		{
-		    "path" : "pages/searchparking/searchparking",
-		    "style" :                                                                                    
-		    {
-		        "navigationStyle":"custom",// 隐藏系统导航栏
-		        "navigationBarTitleText":"停车查询"
-		    }
-		    
-		}
-        ,{
-            "path" : "pages/favourableActivity/favourableActivity",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "一分钱停车",
-                "enablePullDownRefresh": false,
-                "navigationBarBackgroundColor": "#008CFF",
-                "navigationBarTextStyle": "white"
-            }
-            
-        }
-        ,{
-            "path" : "pages/parkingLock/parkingLock",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "车位锁",
-                "enablePullDownRefresh": false,
+			"path": "pages/searchparking/searchparking",
+			"style": {
+				"navigationStyle": "custom", // 隐藏系统导航栏
+				"navigationBarTitleText": "停车查询"
+			}
+
+		}, {
+			"path": "pages/favourableActivity/favourableActivity",
+			"style": {
+				"navigationBarTitleText": "一分钱停车",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#008CFF",
+				"navigationBarTextStyle": "white"
+			}
+
+		}, {
+			"path": "pages/parkingLock/parkingLock",
+			"style": {
+				"navigationBarTitleText": "车位锁",
+				"enablePullDownRefresh": false,
 				"navigationBarBackgroundColor": "#008CFF",
 				"navigationBarTextStyle": "white"
-            }
-            
-        }
-        ,{
-            "path" : "pages/parkingLists/map_web_view/map_web_view",
-            "style" :                                                                                    
-            {
-                "navigationStyle": "custom",
+			}
+
+		}, {
+			"path": "pages/parkingLists/map_web_view/map_web_view",
+			"style": {
+				"navigationStyle": "custom",
 				"navigationBarTitleText": "导航",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/bannerDetails/bannerDetails",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "详情页",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/bannerDetails/bannerDetails",
+			"style": {
+				"navigationBarTitleText": "详情页",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#008CFF",
+				"navigationBarTextStyle": "white"
+			}
+
+		}, {
+			"path": "pages/applyRefund/applyRefund",
+			"style": {
+				"navigationBarTitleText": "申请退款",
+				"enablePullDownRefresh": false,
+				"navigationBarBackgroundColor": "#008CFF",
+				"navigationBarTextStyle": "white"
+			}
+
+		}, {
+			"path": "pages/applyRefundDetails/applyRefundDetails",
+			"style": {
+				"navigationBarTitleText": "申请退款",
 				"enablePullDownRefresh": false,
 				"navigationBarBackgroundColor": "#008CFF",
 				"navigationBarTextStyle": "white"
-            }
-            
-        }
-        ,{
-            "path" : "pages/applyRefund/applyRefund",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "申请退款",
-                "enablePullDownRefresh": false,
-                "navigationBarBackgroundColor": "#008CFF",
-                "navigationBarTextStyle": "white"
-            }
-            
-        }
-        ,{
-            "path" : "pages/applyRefundDetails/applyRefundDetails",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "申请退款",
-                "enablePullDownRefresh": false,
-                "navigationBarBackgroundColor": "#008CFF",
-                "navigationBarTextStyle": "white"
-            }
-            
-        },{
-            "path" : "pages/applyRefundDetails/applyRefundAchieveDetails",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "订单详情"
-            }
-            
-        }
-        ,{
-            "path" : "pages/privacyPolicy/privacyPolicy",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "隐私政策",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-    ],
+			}
+
+		}, {
+			"path": "pages/applyRefundDetails/applyRefundAchieveDetails",
+			"style": {
+				"navigationBarTitleText": "订单详情"
+			}
+
+		}, {
+			"path": "pages/privacyPolicy/privacyPolicy",
+			"style": {
+				"navigationBarTitleText": "隐私政策",
+				"enablePullDownRefresh": false
+			}
+
+		}
+	],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "uView",
 		"navigationBarBackgroundColor": "#F8F8F8",
 		"backgroundColor": "#F8F8F8",
-		"backgroundColorTop":"#FFFFFF"
+		"backgroundColorTop": "#FFFFFF"
 	},
 	"tabBar": {
-	    "color": "#909399",
-	    "selectedColor": "#303133",
-	    "borderStyle": "black",
-	    "backgroundColor": "#ffffff",
-	    "list": [{
-	        "pagePath": "pages/index/index",
-	        "iconPath": "static/index.png",
-	        "selectedIconPath": "static/index-selected.png",
-	        "text": "首页"
-	    }, {
-	        "pagePath": "pages/parkingLists/parkingLists",
-	        "iconPath": "static/car_h.png",
-	        "selectedIconPath": "static/car.png",
-	        "text": "找车位"
-	    }, {
-	        "pagePath": "pages/center/index",
-	        "iconPath": "static/center.png",
-	        "selectedIconPath": "static/center-selected.png",
-	        "text": "我"
-	    }]
+		"color": "#909399",
+		"selectedColor": "#303133",
+		"borderStyle": "black",
+		"backgroundColor": "#ffffff",
+		"list": [{
+			"pagePath": "pages/index/index",
+			"iconPath": "static/index.png",
+			"selectedIconPath": "static/index-selected.png",
+			"text": "首页"
+		}, {
+			"pagePath": "pages/parkingLists/parkingLists",
+			"iconPath": "static/car_h.png",
+			"selectedIconPath": "static/car.png",
+			"text": "找车位"
+		}, {
+			"pagePath": "pages/center/index",
+			"iconPath": "static/center.png",
+			"selectedIconPath": "static/center-selected.png",
+			"text": "我"
+		}]
 	}
 }

+ 1 - 1
pages/handleMonthly/handleMonthly.vue

@@ -341,8 +341,8 @@
 							// } else {
 							// 	location.href = res.data.qrCodeUrl
 							// }
-							location.href = res.data.qrCodeUrl
 							localStorage.setItem('jumpUrl', this.jumpUrl)
+							location.href = res.data.qrCodeUrl
 						} else {
 							this.$refs.uToast.show({
 								title: res.msg,

+ 508 - 563
pages/index/index.vue

@@ -1,143 +1,91 @@
 <template>
-  <view>
+	<view>
 		<!-- ===================================== 搜索栏 ===================================== -->
-    <view class="header-bar">
-      <view class="city" @click="handleCitySelect">
-        <view class="city-name">{{ city }}</view>
-        <u-icon name="arrow-down" color="#fff" size="32"></u-icon>
-      </view>
-			<u-search
-				placeholder="搜索停车点"
-				:show-action="false"
-				@search="handleSearch"
-				v-model="keyword"
-			></u-search>
-      <!-- <u-icon class="scan" name="scan" color="#fff" size="48" @click="$refs.uToast.show({title: '建设中'})"></u-icon> -->
-    </view>
-	
+		<view class="header-bar">
+			<view class="city" @click="handleCitySelect">
+				<view class="city-name">{{ city }}</view>
+				<u-icon name="arrow-down" color="#fff" size="32"></u-icon>
+			</view>
+			<u-search placeholder="搜索停车点" :show-action="false" @search="handleSearch" v-model="keyword"></u-search>
+			<!-- <u-icon class="scan" name="scan" color="#fff" size="48" @click="$refs.uToast.show({title: '建设中'})"></u-icon> -->
+		</view>
+
 		<!-- ===================================== 轮播图 ===================================== -->
-    <u-swiper
-			:list="bannerList"
-			border-radius="0"
-			mode="none"
-			@click="swiperClick"
-		></u-swiper>
-	
+		<u-swiper :list="bannerList" border-radius="0" mode="none" @click="swiperClick"></u-swiper>
+
 		<!-- ===================================== 城市选择器 ===================================== -->
-    <u-city-select
-			v-model="cityOpen"
-			@city-change="cityChange"
-			:areaCode='["52", "5201"]'
-		></u-city-select>
-	
+		<u-city-select v-model="cityOpen" @city-change="cityChange" :areaCode='["52", "5201"]'></u-city-select>
+
 		<!-- ===================================== 滚动信息栏 ===================================== -->
-    <view
-      class="notice-bar-wrap u-flex"
-      v-if="noticeList.length >= 1"
-      @click="openPage('pages/message/message', true)"
-    >
-      <u-icon custom-prefix="custom-icon" size="50" name="xiaoxi" color="#008CFF"></u-icon>
-      <u-notice-bar
-        class="u-flex-1"
-        mode="vertical"
-        :autoplay="true"
-        :list="noticeList"
-        :volume-icon="false"
-        bg-color="#fff"
-        color="#727272"
-        :more-icon="true"
-      ></u-notice-bar>
-    </view>
-	
+		<view class="notice-bar-wrap u-flex" v-if="noticeList.length >= 1"
+			@click="openPage('pages/message/message', true)">
+			<u-icon custom-prefix="custom-icon" size="50" name="xiaoxi" color="#008CFF"></u-icon>
+			<u-notice-bar class="u-flex-1" mode="vertical" :autoplay="true" :list="noticeList" :volume-icon="false"
+				bg-color="#fff" color="#727272" :more-icon="true"></u-notice-bar>
+		</view>
+
 		<!-- ===================================== 宫格菜单 ===================================== -->
-    <u-card
-      :show-head="false"
-      :show-foot="false"
-      border-radius="16"
-      margin="20rpx 40rpx"
-      padding="30"
-    >
-      <view class="content-nav" slot="body">
-				<view
-					class="content-nav-item"
-					v-for="(grid, index) in gridList"
-					:key="'g-' + index"
-					@click="openPage(grid.url, true)"
-				>
+		<u-card :show-head="false" :show-foot="false" border-radius="16" margin="20rpx 40rpx" padding="30">
+			<view class="content-nav" slot="body">
+				<view class="content-nav-item" v-for="(grid, index) in gridList" :key="'g-' + index"
+					@click="openPage(grid.url, true)">
 					<view class="content-nav-item-icon-wrap">
-					  <u-image
-					    :src="grid.imageUrl"
-					    :width="grid.width || '95rpx'"
-					    :height="grid.height || '95rpx'"
-					    :mode="grid.mode || 'heightFix'"
-					  ></u-image>
+						<u-image :src="grid.imageUrl" :width="grid.width || '95rpx'" :height="grid.height || '95rpx'"
+							:mode="grid.mode || 'heightFix'"></u-image>
 					</view>
 					<view class="content-nav-item-icon-text">{{grid.title}}</view>
 				</view>
-      </view>
-    </u-card>
-	
-	<u-card  
-		:show-head="false"
-		:show-foot="false"
-		border-radius="16"
-		margin="20rpx 40rpx"
-		padding="30">
-		<view slot="body" class="myorders">
-			<view class="myorders-item">当前已缴费<text style="color: #008CFF;">{{totalCount||'0'}}</text>笔,合计<text style="color: #008CFF;">{{totalActualAmount||'0'}}</text>元</view>
-			<view class="myorders-item">当前欠费<text style="color: #FF482B;">{{totalPayCount||'0'}}</text>笔,合计<text style="color: #FF482B;">{{totalPayAmount||'0'}}</text>元</view>
-		</view>
-	</u-card>
+			</view>
+		</u-card>
+
+		<u-card :show-head="false" :show-foot="false" border-radius="16" margin="20rpx 40rpx" padding="30">
+			<view slot="body" class="myorders">
+				<view class="myorders-item">当前已缴费<text style="color: #008CFF;">{{totalCount||'0'}}</text>笔,合计<text
+						style="color: #008CFF;">{{totalActualAmount||'0'}}</text>元</view>
+				<view class="myorders-item">当前欠费<text style="color: #FF482B;">{{totalPayCount||'0'}}</text>笔,合计<text
+						style="color: #FF482B;">{{totalPayAmount||'0'}}</text>元</view>
+			</view>
+		</u-card>
 		<!-- ===================================== 无停车信息 ===================================== -->
-    <view class="empty-data-box" v-if="!orderList || orderList.length < 1">
-      <u-empty text="暂无停车信息" mode="list"></u-empty>
-    </view>
-	
+		<view class="empty-data-box" v-if="!orderList || orderList.length < 1">
+			<u-empty text="暂无停车信息" mode="list"></u-empty>
+		</view>
+
 		<!-- ===================================== 停车列表 ===================================== -->
-    <template v-for="(item, index) in orderList">
-      <u-card
-        :show-foot="false"
-        border-radius="16"
-        margin="20rpx 40rpx"
-        padding="30">
-        <view class="pending-order-head" slot="head">
-          <view class="pending-order-head-left">
-            <b>P</b>
-            {{ item.roadName }}
-          </view>
-          <view class="pending-order-head-right" @click="  onRoadInfo(item)">
-            <u-icon class="arrow-down" name="arrow-down" size="32" color="#aaa"></u-icon>
-          </view>
-        </view>
-        <view class="pending-order-body" slot="body">
-          <view class="pending-order-body-nav">
-            <view
-              class="nav-item nav-manual"
-              @click="orderNavclick()"
-              :class="{ active: orderNav == 0 }"
-            >手动缴费</view>
-            <view
-              class="nav-item nav-auto"
-              @click="orderNavclick()"
-              :class="{ active: orderNav == 1 }"
-            >无感支付</view>
-          </view>
-          <view class="pending-order-body-wrap" v-show="orderNav == 0">
-            <view class="pending-order-body-left">
-              <view class="car-number">{{ item.vehicleNo }}</view>
-              <view class="item-cell">
-                <span class="pending-order-body-left-label">入场时间:</span>
-                <span>{{ item.inTime }}</span>
-              </view>
-              <view class="item-cell">
-                <span class="pending-order-body-left-label">出场时间:</span>
-                <span>{{item.outTime}}</span>
-              </view>
-              <view class="item-cell">
-                <span class="pending-order-body-left-label">预计金额:</span>
-                <span>{{ item.payAmount }}</span>
-              </view>
-              <!-- <view class="item-cell">
+		<template v-for="(item, index) in orderList">
+			<u-card :show-foot="false" border-radius="16" margin="20rpx 40rpx" padding="30">
+				<view class="pending-order-head" slot="head">
+					<view class="pending-order-head-left">
+						<b>P</b>
+						{{ item.roadName }}
+					</view>
+					<view class="pending-order-head-right" @click="  onRoadInfo(item)">
+						<u-icon class="arrow-down" name="arrow-down" size="32" color="#aaa"></u-icon>
+					</view>
+				</view>
+				<view class="pending-order-body" slot="body">
+					<view class="pending-order-body-nav">
+						<view class="nav-item nav-manual" @click="orderNavclick()" :class="{ active: orderNav == 0 }">
+							手动缴费</view>
+						<view class="nav-item nav-auto" @click="orderNavclick()" :class="{ active: orderNav == 1 }">无感支付
+						</view>
+					</view>
+					<view class="pending-order-body-wrap" v-show="orderNav == 0">
+						<view class="pending-order-body-left">
+							<view class="car-number">{{ item.vehicleNo }}</view>
+							<view class="item-cell">
+								<span class="pending-order-body-left-label">入场时间:</span>
+								<span>{{ item.inTime }}</span>
+							</view>
+							<view class="item-cell">
+								<span class="pending-order-body-left-label">出场时间:</span>
+								<span>{{item.outTime}}</span>
+							</view>
+							<view class="item-cell">
+								<span class="pending-order-body-left-label">预计金额:</span>
+								<span>{{ item.payAmount }}</span>
+							</view>
+							<!-- <view class="item-cell">
                 <span class="pending-order-body-left-label">出场时间:</span>
                 <span>{{item.outTime||'停放中'}}</span>
               </view>
@@ -152,454 +100,451 @@
                   <span class="number" v-else>停放中</span>
                 </span>
               </view>-->
-            </view>
-            <view class="pending-order-body-right">
-              <view class="order">停车泊位:{{ item.spaceName }}</view>
-            </view>
-            <view class="go-pay-wrap">
-              <view class="go-pay" @click="goPay(item.id)"v-if="item.payAmount != 0">出场缴费</view>
-			  <view class="go-pay1" v-else>出场缴费</view>
-            </view>
-          </view>
-          <view class="pending-order-body-wrap" v-show="orderNav == 1">
-            <view v-if="contractStatus == 0" class="nosign">
-              <view class="nosign1">您的车牌未签约贵州银行无感支付</view>
-              <view class="nosign2">请下载贵州银行手机银行app进行签约</view>
-            </view>
-            <view v-if="contractStatus == 1" class="sign">
-              <view class="sign1">您已签约贵州银行无感支付</view>
-              <view class="sign2">停车出场时将默认使用无感支付进行支付</view>
-            </view>
-          </view>
-        </view>
-      </u-card>
-    </template>
-	
+						</view>
+						<view class="pending-order-body-right">
+							<view class="order">停车泊位:{{ item.spaceName }}</view>
+						</view>
+						<view class="go-pay-wrap">
+							<view class="go-pay" @click="goPay(item.id)" v-if="item.payAmount != 0">出场缴费</view>
+							<view class="go-pay1" v-else>出场缴费</view>
+						</view>
+					</view>
+					<view class="pending-order-body-wrap" v-show="orderNav == 1">
+						<view v-if="contractStatus == 0" class="nosign">
+							<view class="nosign1">您的车牌未签约贵州银行无感支付</view>
+							<view class="nosign2">请下载贵州银行手机银行app进行签约</view>
+						</view>
+						<view v-if="contractStatus == 1" class="sign">
+							<view class="sign1">您已签约贵州银行无感支付</view>
+							<view class="sign2">停车出场时将默认使用无感支付进行支付</view>
+						</view>
+					</view>
+				</view>
+			</u-card>
+		</template>
+
 		<!-- ===================================== 优惠活动 ===================================== -->
-    <view class="promotion-box">
-      <view class="promotion-title">
-        <text>优惠活动</text>
-      </view>
-      <view class="promotion-banner">
-        <u-swiper :list="promotionBannerList" @click="promotionBannerClick" height="221"></u-swiper>
-      </view>
-    </view>
+		<view class="promotion-box">
+			<view class="promotion-title">
+				<text>优惠活动</text>
+			</view>
+			<view class="promotion-banner">
+				<u-swiper :list="promotionBannerList" @click="promotionBannerClick" height="221"></u-swiper>
+			</view>
+		</view>
 
 		<!-- ===================================== 绑定车牌号弹框 ===================================== -->
-    <u-modal
-      v-model="bindCarShow"
-      title="绑定车牌号"
-      :show-cancel-button="true"
-      confirm-text="去绑定"
-      content="首次使用请先绑定您的车牌"
-      @confirm="$u.route({ url: 'pages/myCars/myCars' })"
-    ></u-modal>
+		<u-modal v-model="bindCarShow" title="绑定车牌号" :show-cancel-button="true" confirm-text="去绑定"
+			content="首次使用请先绑定您的车牌" @confirm="$u.route({ url: 'pages/myCars/myCars' })"></u-modal>
 
 		<!-- ===================================== 停车场信息弹框 ===================================== -->
-    <u-popup
-      class="popup-order-details"
-      v-model="showOrderDetails"
-      mode="center"
-      width="90%"
-      border-radius="20"
-    >
-      <view class="popup-order-details-til">停车场信息</view>
-      <view class="popup-order-details-con">
-        <dl>
-          <dt>路段名称:</dt>
-          <dd>{{ popupOrderDetails.roadName }}</dd>
-        </dl>
-        <dl>
-          <dt>路段编码:</dt>
-          <dd>{{ popupOrderDetails.roadNo }}</dd>
-        </dl>
-        <dl>
-          <dt>联系人:</dt>
-          <dd>{{ popupOrderDetails.manager }}</dd>
-        </dl>
-        <dl>
-          <dt>联系电话:</dt>
-          <dd @click="phoneCall(popupOrderDetails.telephone)">{{ popupOrderDetails.telephone }}</dd>
-        </dl>
-      </view>
-      <view class="popup-order-details-footer" @click="closeOrderDetails">知道了</view>
-    </u-popup>
-    
+		<u-popup class="popup-order-details" v-model="showOrderDetails" mode="center" width="90%" border-radius="20">
+			<view class="popup-order-details-til">停车场信息</view>
+			<view class="popup-order-details-con">
+				<dl>
+					<dt>路段名称:</dt>
+					<dd>{{ popupOrderDetails.roadName }}</dd>
+				</dl>
+				<dl>
+					<dt>路段编码:</dt>
+					<dd>{{ popupOrderDetails.roadNo }}</dd>
+				</dl>
+				<dl>
+					<dt>联系人:</dt>
+					<dd>{{ popupOrderDetails.manager }}</dd>
+				</dl>
+				<dl>
+					<dt>联系电话:</dt>
+					<dd @click="phoneCall(popupOrderDetails.telephone)">{{ popupOrderDetails.telephone }}</dd>
+				</dl>
+			</view>
+			<view class="popup-order-details-footer" @click="closeOrderDetails">知道了</view>
+		</u-popup>
+
 		<!-- ===================================== 支付方式弹框 ===================================== -->
-    <PaymentMethod
-      :payWayPop="payWayPop"
-      :curOrderList="curOrderList"
-      :jumpUrl="jumpUrl"
-      @closePaymentMethod="closePaymentMethod"
-    ></PaymentMethod>
-    <u-toast ref="uToast" />
-  </view>
+		<PaymentMethod
+			:payWayPop="payWayPop"
+			:curOrderList="curOrderList"
+			:jumpUrl="jumpUrl"
+			@closePaymentMethod="closePaymentMethod"
+		></PaymentMethod>
+		<u-toast ref="uToast" />
+	</view>
 </template>
 
 <script>
-import getUrlParams from '../../utils/getUrlParams.js'
-import PaymentMethod from '@/pages/paymentMethod/paymentMethod.vue'
-export default {
-  components: {
-    PaymentMethod
-  },
-  data () {
-    return {
-			// 城市选择框
-			cityOpen: false,
-			// 选中城市
-      city: '贵州省',
-			// 搜索框值
-      keyword: '',
-			// 轮播图
-      bannerList: [
-        {
-          image: require('@/static/img/index-banner01.png')
-        }
-      ],
-			// 订单列表
-      orderList: [],
-			// 微信code
-      code: null,
-			// 手动,无感
-      orderNav: '',
-			// 绑定车询问弹窗
-      bindCarShow: false,
-			// 是否线上订单细节
-      showOrderDetails: false,
-			// 订单详情
-      popupOrderDetails: [],
-			// 消息列表
-      noticeList: [],
-      // 优惠活动广告图
-      promotionBannerList: [
-        {
-          id: 1,
-          image: '/static/img/promotion-banner-1.png',
-          title: '1分钱停车'
-        },
-        {
-          id: 2,
-          image: '/static/img/promotion-banner-2.png',
-          title: '八折停车'
-        }
-      ],
-			// 签约状态
-      contractStatus: '',
-      vehicleId: '',
-      recordList: [],
-      // 支付方式弹框
-      payWayPop: false,
-      // 订单号
-      curOrderList: [],
-			// 当前位置经纬度
-      latLongItude: {},
-			// 跳转地址
-      jumpUrl: '',
-			// 宫格菜单列表
-			gridList: [
-				{
-					url: 'pages/payLists/payLists',
-					imageUrl: '../../static/img/index-content-nav-01.png',
-					title: '停车缴费'
-				},
-				{
-					url: 'pages/favourableActivity/favourableActivity',
-					imageUrl: '../../static/img/index-content-nav-02.png',
-					title: '优惠活动'
-				},
-				{
-					url: 'pages/myCars/myCars',
-					imageUrl: '../../static/img/index-content-nav-03.png',
-					title: '车辆管理'
-				},
-				{
-					url: 'pages/searchparking/searchparking',
-					imageUrl: '../../static/img/index-content-nav-04.png',
-					title: '我的停车'
+	import getUrlParams from '../../utils/getUrlParams.js'
+	import PaymentMethod from '@/pages/paymentMethod/paymentMethod.vue'
+	export default {
+		components: {
+			PaymentMethod
+		},
+		data() {
+			return {
+				// 城市选择框
+				cityOpen: false,
+				// 选中城市
+				city: '贵州省',
+				// 搜索框值
+				keyword: '',
+				// 轮播图
+				bannerList: [{
+					image: require('@/static/img/index-banner01.png')
+				}],
+				// 订单列表
+				orderList: [],
+				// 微信code
+				code: null,
+				// 手动,无感
+				orderNav: '',
+				// 绑定车询问弹窗
+				bindCarShow: false,
+				// 是否线上订单细节
+				showOrderDetails: false,
+				// 订单详情
+				popupOrderDetails: [],
+				// 消息列表
+				noticeList: [],
+				// 优惠活动广告图
+				promotionBannerList: [{
+						id: 1,
+						image: '/static/img/promotion-banner-1.png',
+						title: '1分钱停车'
+					},
+					{
+						id: 2,
+						image: '/static/img/promotion-banner-2.png',
+						title: '八折停车'
+					}
+				],
+				// 签约状态
+				contractStatus: '',
+				vehicleId: '',
+				recordList: [],
+				// 支付方式弹框
+				payWayPop: false,
+				// 订单号
+				curOrderList: [],
+				// 当前位置经纬度
+				latLongItude: {},
+				// 跳转地址
+				jumpUrl: '',
+				// 宫格菜单列表
+				gridList: [{
+						url: 'pages/payLists/payLists',
+						imageUrl: '../../static/img/index-content-nav-01.png',
+						title: '停车缴费'
+					},
+					{
+						url: 'pages/favourableActivity/favourableActivity',
+						imageUrl: '../../static/img/index-content-nav-02.png',
+						title: '优惠活动'
+					},
+					{
+						url: 'pages/myCars/myCars',
+						imageUrl: '../../static/img/index-content-nav-03.png',
+						title: '车辆管理'
+					},
+					{
+						url: 'pages/searchparking/searchparking',
+						imageUrl: '../../static/img/index-content-nav-04.png',
+						title: '我的停车'
+					}
+				],
+				totalActualAmount: '', //缴费总额
+				totalPayAmount: '', //应支付总额
+				totalCount: '', //缴费总笔数 
+				totalPayCount: '' //应支付总笔数
+			}
+		},
+		onLoad(page) {
+			const locationLocaturl = window.location.search
+			const type = getUrlParams(locationLocaturl, 'type')
+			if (type && type === 'jumpurl') {
+				const jumpurl = localStorage.getItem('jumpUrl')
+				if (jumpurl) {
+					uni.showLoading({
+						title: '正在跳转中...'
+					})
+					setTimeout(() => {
+						uni.hideLoading()
+						location.href = jumpurl
+					}, 0)
 				}
-			],
-		totalActualAmount: '',  //缴费总额
-		totalPayAmount: '',  //应支付总额
-		totalCount: '',   //缴费总笔数 
-		totalPayCount: '' //应支付总笔数
-    }
-  },
-  onLoad(page) {
-	const locationLocaturl = window.location.search
-	const type = getUrlParams(locationLocaturl, 'type')
-	if (type && type === 'jumpurl') {
-		const jumpurl = localStorage.getItem('jumpUrl')
-		if (jumpurl) {
-			uni.showLoading({
-				title: '正在跳转中...'
-			})
-			setTimeout(() => {
-				uni.hideLoading()
-				location.href = jumpurl
-			}, 0)
+			}
+		},
+		onShow() {
+			this.handleGetIndexData()
+			this.getLocation()
+			const locationLocaturl = window.location.search
+			this.code = getUrlParams(locationLocaturl, 'code')
+			if (this.code && !this.$store.state.vuex_wxinfo.openId) {
+				this.handleGetWXInfo(this.code)
+			};
+		},
+		methods: {
+			// 定位
+			getLocation() {
+				const that = this
+				if (navigator.geolocation) {
+					// 判断是否有这个对象
+					navigator.geolocation.getCurrentPosition(function(pos) {
+						that.latLongItude = {
+							latitude: pos.coords.latitude,
+							longitude: pos.coords.longitude
+						}
+						that.latitude = pos.coords.latitude
+						that.longitude = pos.coords.longitude
+						that.getCityNameByLonLat(that.latLongItude)
+					}, function(err) {
+						// 错误处理
+						switch (err.code) {
+							case 1:
+								alert('位置服务被拒绝。')
+								break
+							case 2:
+								alert('暂时获取不到位置信息。')
+								break
+							case 3:
+								alert('获取信息超时。')
+								break
+							default:
+								alert('未知错误。')
+								break
+						}
+					})
+				} else {
+					alert('当前系统不支持GPS API')
+				};
+			},
+			// 通过经纬度获取地区详细信息
+			getCityNameByLonLat({
+				longitude,
+				latitude
+			} = {}) {
+				const that = this
+				uni.showLoading({
+					title: '加载中',
+					mask: true
+				})
+				const str = `output=jsonp&key=BOGBZ-2BZ33-O4L32-Y3QJR-PGN66-RFFEL&location=${latitude},${longitude}`
+				this.$jsonp('https://apis.map.qq.com/ws/geocoder/v1/?' + str, {}).then(res => {
+					uni.hideLoading()
+					if (res.status == 0) {
+						if (res.result.ad_info) {
+							that.city = res.result.ad_info.district
+						}
+					}
+				})
+			},
+			// 轮播图点击
+			swiperClick(item) {
+				this.$u.route({
+					url: 'pages/bannerDetails/bannerDetails',
+					params: {
+						id: this.bannerList[item].id
+					}
+				})
+			},
+			// 切换无感和手动
+			orderNavclick() {
+				uni.showLoading({
+					title: '加载中'
+				});
+				console.log('this.recordList[1]', this.recordList[1]);
+				console.log('orderNav', this.orderNav)
+				if (!this.recordList[1]) {
+					uni.hideLoading();
+					return
+				}
+				this.$u.api.feePay({
+						vehicleId: this.recordList[1]
+					})
+					.then(res => {
+						console.log('res', res);
+						if (res?.code == 200) {
+							this.handleGetIndexData()
+						} else {
+
+							// this.$refs.uToast.show({
+							//   title: res?.msg,
+							//   type: 'error'
+							// })
+						}
+						uni.hideLoading()
+					}).catch(err => {
+						console.log('orderNavclick err', err)
+					})
+			},
+			/**
+			 * 跳转页面
+			 * path 跳转路径
+			 * flag 是否存储
+			 * */
+			openPage(path, flag) {
+				this.$u.route({
+					url: path
+				})
+				if (flag) {
+					uni.setStorage({
+						key: 'messageBack',
+						data: 'pages/index/index'
+					})
+				}
+			},
+			// 搜索
+			handleSearch() {
+				uni.reLaunch({
+					url: `/pages/parkingLists/parkingLists?keyword=${this.keyword}`
+				})
+			},
+			// 城市选择
+			handleCitySelect() {
+				this.cityOpen = true
+			},
+			// 城市选择下拉变化
+			cityChange(e) {
+				if (e.area) {
+					this.city = e.area.label
+				} else if (e.city) {
+					this.city = e.city.label
+				} else {
+					this.city = e.province.label
+				}
+			},
+			// 获取首页数据
+			handleGetIndexData() {
+				uni.showLoading({
+					title: '加载中'
+				})
+				this.$u.api.getIndexData()
+					.then(res => {
+						if (res.code === 200) {
+							// 轮播
+							const bannerList = []
+							const banner = res.data?.advs
+							banner.forEach(item => {
+								const obj = {
+									image: item.bannerUrl,
+									id: item.id,
+									name: item.name,
+									content: item.content
+								}
+								bannerList.push(obj)
+							})
+							if (bannerList.length > 0) {
+								this.bannerList = bannerList
+							}
+							// 是否有绑定车牌: 没有则通过弹框去绑定
+							const vehicleList = res.data?.vehicleList ?? []
+							if (vehicleList.length === 0) {
+								this.bindCarShow = true
+							}
+							// 无感和手动
+							const enableFeepay = []
+							const orderList = res.data?.orderList ?? []
+							orderList.forEach(item => {
+								if (item.enableFeepay) {
+									enableFeepay.push(item.enableFeepay)
+								} else {
+									enableFeepay.push(0)
+								}
+								enableFeepay.push(item.vehicleId)
+								if (item.contractStatus) {
+									enableFeepay.push(item.contractStatus)
+								} else {
+									enableFeepay.push(0)
+								}
+							})
+							this.totalActualAmount = res.data?.payedInfo?.totalActualAmount
+							this.totalCount = res.data?.payedInfo?.totalCount
+							this.totalPayAmount = res.data?.payingInfo?.totalPayAmount
+							this.totalPayCount = res.data?.payingInfo?.totalCount
+							this.recordList = enableFeepay
+							this.orderNav = enableFeepay[0]
+							this.contractStatus = enableFeepay[2]
+							this.orderList = res.data.orderList
+							// 消息提示
+							const newsList = []
+							const news = res.data?.news ?? []
+							news.forEach(item => {
+								newsList.push(item.content)
+							})
+							this.noticeList = newsList
+							uni.hideLoading()
+						} else {
+							this.$refs.uToast.show({
+								title: res.msg,
+								type: 'error'
+							})
+							uni.hideLoading()
+						}
+					}).catch(err => {
+						console.log('err', err)
+						this.$refs.uToast.show({
+							title: '系统异常',
+							type: 'error'
+						})
+						uni.hideLoading()
+					})
+			},
+			// 去支付,选择支付方式
+			goPay(orderId) {
+				const href = location.href.split('#')
+				this.jumpUrl = href[0] + '#/pages/center/order/orderDetails/orderDetails?orderId=' + orderId + '&type=open'
+				this.payWayPop = true
+				this.curOrderList = []
+				this.curOrderList.push(orderId)
+			},
+			// 获取路段详情
+			onRoadInfo(item) {
+				this.$u.api.roadInfoById({
+						id: item.roadId
+					})
+					.then(res => {
+						this.popupOrderDetails = res.data
+						this.showOrderDetails = true
+					}).catch(err => {
+						this.$refs.uToast.show({
+							title: '系统异常',
+							type: 'error'
+						})
+					})
+			},
+			// 关闭路段详情弹框
+			closeOrderDetails() {
+				this.showOrderDetails = false
+			},
+			// 打电话
+			phoneCall(phone) {
+				uni.makePhoneCall({
+					phoneNumber: phone
+				})
+			},
+			/**
+			 * 点击优惠活动的广告图
+			 * */
+			promotionBannerClick(cur) {
+				this.promotionBannerList.forEach((item, index) => {
+					if (cur === index) {
+						this.$u.route({
+							url: 'pages/favourableActivity/favourableActivity',
+							params: {
+								title: item.title,
+								id: item.id
+							}
+						})
+					}
+				})
+			},
+			// 关闭支付弹框
+			closePaymentMethod() {
+				this.payWayPop = false
+			}
 		}
 	}
-  },
-  onShow () {
-    this.handleGetIndexData()
-    this.getLocation()
-    const locationLocaturl = window.location.search
-    this.code = getUrlParams(locationLocaturl, 'code')
-    if (this.code && !this.$store.state.vuex_wxinfo.openId) { this.handleGetWXInfo(this.code) };
-  },
-  methods: {
-    // 定位
-    getLocation () {
-      const that = this
-      if (navigator.geolocation) {
-        // 判断是否有这个对象
-        navigator.geolocation.getCurrentPosition(function (pos) {
-          that.latLongItude = { latitude: pos.coords.latitude, longitude: pos.coords.longitude }
-          that.latitude = pos.coords.latitude
-          that.longitude = pos.coords.longitude
-          that.getCityNameByLonLat(that.latLongItude)
-        }, function (err) {
-          // 错误处理
-          switch (err.code) {
-            case 1:
-              alert('位置服务被拒绝。')
-              break
-            case 2:
-              alert('暂时获取不到位置信息。')
-              break
-            case 3:
-              alert('获取信息超时。')
-              break
-            default:
-              alert('未知错误。')
-              break
-          }
-        })
-      } else {
-				alert('当前系统不支持GPS API')
-      };
-    },
-    // 通过经纬度获取地区详细信息
-    getCityNameByLonLat ({ longitude, latitude } = {}) {
-      const that = this
-      uni.showLoading({
-        title: '加载中',
-        mask: true
-      })
-      const str = `output=jsonp&key=BOGBZ-2BZ33-O4L32-Y3QJR-PGN66-RFFEL&location=${latitude},${longitude}`
-      this.$jsonp('https://apis.map.qq.com/ws/geocoder/v1/?' + str, {}).then(res => {
-        uni.hideLoading()
-        if (res.status == 0) {
-          if (res.result.ad_info) {
-            that.city = res.result.ad_info.district
-          }
-        }
-      })
-    },
-    // 轮播图点击
-    swiperClick (item) {
-      this.$u.route({
-        url: 'pages/bannerDetails/bannerDetails',
-        params: {
-          id: this.bannerList[item].id
-        }
-      })
-    },
-    // 切换无感和手动
-    orderNavclick () {
-      uni.showLoading({
-        title: '加载中'
-      });
-	  console.log('this.recordList[1]',this.recordList[1]);
-	  console.log('orderNav',this.orderNav)
-	  if(!this.recordList[1]){uni.hideLoading();return}
-      this.$u.api.feePay({ vehicleId: this.recordList[1] })
-        .then(res => {
-			console.log('res',res);
-          if (res?.code == 200) {
-            this.handleGetIndexData()
-          } else {
-			  
-						// this.$refs.uToast.show({
-						//   title: res?.msg,
-						//   type: 'error'
-						// })
-					}
-          uni.hideLoading()
-        }).catch(err =>{
-			console.log('orderNavclick err',err)
-		})
-    },
-    /**
-     * 跳转页面
-     * path 跳转路径
-     * flag 是否存储
-     * */
-    openPage (path, flag) {
-      this.$u.route({
-        url: path
-      })
-      if (flag) {
-        uni.setStorage({
-          key: 'messageBack',
-          data: 'pages/index/index'
-        })
-      }
-    },
-    // 搜索
-    handleSearch () {
-      uni.reLaunch({
-        url: `/pages/parkingLists/parkingLists?keyword=${this.keyword}`
-      })
-    },
-    // 城市选择
-    handleCitySelect () {
-      this.cityOpen = true
-    },
-    // 城市选择下拉变化
-    cityChange (e) {
-      if (e.area) {
-        this.city = e.area.label
-      } else if (e.city) {
-        this.city = e.city.label
-      } else {
-        this.city = e.province.label
-      }
-    },
-    // 获取首页数据
-    handleGetIndexData () {
-      uni.showLoading({
-        title: '加载中'
-      })
-      this.$u.api.getIndexData()
-        .then(res => {
-          if (res.code === 200) {
-            // 轮播
-            const bannerList = []
-            const banner = res.data?.advs
-            banner.forEach(item => {
-              const obj = {
-                image: item.bannerUrl,
-                id: item.id,
-                name: item.name,
-                content: item.content
-              }
-              bannerList.push(obj)
-            })
-            if (bannerList.length > 0) {
-              this.bannerList = bannerList
-            }
-            // 是否有绑定车牌: 没有则通过弹框去绑定
-            const vehicleList = res.data?.vehicleList ?? []
-            if (vehicleList.length === 0) {
-              this.bindCarShow = true
-            }
-            // 无感和手动
-            const enableFeepay = []
-						const orderList = res.data?.orderList ?? []
-            orderList.forEach(item => {
-              if (item.enableFeepay) {
-                enableFeepay.push(item.enableFeepay)
-              } else {
-                enableFeepay.push(0)
-              }
-              enableFeepay.push(item.vehicleId)
-              if (item.contractStatus) {
-                enableFeepay.push(item.contractStatus)
-              } else {
-                enableFeepay.push(0)
-              }
-            })
-			this.totalActualAmount = res.data?.payedInfo?.totalActualAmount
-			this.totalCount = res.data?.payedInfo?.totalCount
-			this.totalPayAmount = res.data?.payingInfo?.totalPayAmount
-			this.totalPayCount = res.data?.payingInfo?.totalCount
-            this.recordList = enableFeepay
-            this.orderNav = enableFeepay[0]
-            this.contractStatus = enableFeepay[2]
-            this.orderList = res.data.orderList
-            // 消息提示
-            const newsList = []
-            const news = res.data?.news ?? []
-            news.forEach(item => {
-              newsList.push(item.content)
-            })
-            this.noticeList = newsList
-            uni.hideLoading()
-          } else {
-            this.$refs.uToast.show({
-              title: res.msg,
-              type: 'error'
-            })
-            uni.hideLoading()
-          }
-        }).catch(err => {
-			console.log('err',err)
-          this.$refs.uToast.show({
-            title: '系统异常',
-            type: 'error'
-          })
-          uni.hideLoading()
-        })
-    },
-    // 去支付,选择支付方式
-    goPay (orderId) {
-			const href = location.href.split('#')
-			this.jumpUrl = href[0] + '#/pages/center/order/orderDetails/orderDetails?orderId=' + orderId + '&type=open'
-      this.payWayPop = true
-      this.curOrderList = []
-      this.curOrderList.push(orderId)
-    },
-    // 获取路段详情
-    onRoadInfo (item) {
-      this.$u.api.roadInfoById({
-        id: item.roadId
-      })
-        .then(res => {
-          this.popupOrderDetails = res.data
-          this.showOrderDetails = true
-        }).catch(err => {
-          this.$refs.uToast.show({
-            title: '系统异常',
-            type: 'error'
-          })
-        })
-    },
-    // 关闭路段详情弹框
-    closeOrderDetails () {
-      this.showOrderDetails = false
-    },
-    // 打电话
-    phoneCall (phone) {
-      uni.makePhoneCall({
-        phoneNumber: phone
-      })
-    },
-    /**
-     * 点击优惠活动的广告图
-     * */
-    promotionBannerClick (cur) {
-      this.promotionBannerList.forEach((item, index) => {
-        if (cur === index) {
-          this.$u.route({
-            url: 'pages/favourableActivity/favourableActivity',
-            params: {
-              title: item.title,
-              id: item.id
-            }
-          })
-        }
-      })
-    },
-    // 关闭支付弹框
-    closePaymentMethod () {
-      this.payWayPop = false
-    }
-  }
-}
 </script>
 
 <style lang="scss" scoped>
-@import "./index.scss";
+	@import "./index.scss";
 </style>

+ 6 - 2
pages/parkingLock/parkingLock.vue

@@ -15,11 +15,15 @@
 					<view>{{orderInfo.spaceName}}</view>
 				</view>
 				<view class="parking-lock-info-item">
-					<view>入场时间</view>
+					<view>免费时长</view>
+					<view>15分钟</view>
+				</view>
+				<view class="parking-lock-info-item">
+					<view>开始计费</view>
 					<view>{{orderInfo.inTime}}</view>
 				</view>
 				<view class="parking-lock-info-item">
-					<view>出场时间</view>
+					<view>结束计费</view>
 					<view>{{orderInfo.outTime}}</view>
 				</view>
 				<view class="parking-lock-info-item">

+ 1 - 1
pages/paymentMethod/paymentMethod.vue

@@ -28,7 +28,7 @@
 					</view>
 					<view class="pay-way-item pay-way-item-jh" @click="wechatPay">
 						<image src="../../static/img/juhe-icon.png" mode=""></image>
-						<view class="title">聚合支付</view>
+						<view class="title">微信/支付宝</view>
 					</view>
 				</view>
 				<button class="pay-way-close-btn" @click="closePaymentMethod">关闭</button>

+ 45 - 42
static/html/wxPayCallback.html

@@ -1,4 +1,3 @@
-<!--周世豪,20210716-->
 <html>
 <head>
     <meta charset="utf-8">
@@ -9,53 +8,58 @@
     <script type="text/javascript" src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
     <script type="text/javascript" charset="UTF-8" src="https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js"></script>
     <style type="text/css">
-			body {
-				margin: 0;
-				padding: 0;
-				width: 100%;
-				height: 600px;
-			}
-			.container {
-				height: 100%;
-				padding: 50px 0;
-				text-align: center;
-				background: linear-gradient(138deg, #7EBAB8 0%, #48999A 100%);
-				box-shadow: 0px 2px 4px 0px #0B7C7D;
-			}
-			.text-img {
-				width: calc(100% - 40px);
-				margin: 0 auto;
-			}
-			.car-img {
-				width: 100%;
-				margin-top: 39px;
-			}
-			.button {
-				display: inline-block;
-				width: calc(100% - 84px);
-				height: 6vh;
-				line-height: 6vh;
-				text-decoration: none;
-				margin-top: 4vh;
-				outline: none;
-				border: none;
-				background: #FFFFFF;
-				box-shadow: 0px 7px 13px 0px rgba(0, 105, 106, 0.26);
-				border-radius: 10px;
-				font-size: 1.1em;
-				font-weight: 500;
-				color: #1D8587;
-				font-family: 'PingFangSC-Medium, PingFang SC';
-			}
+    	body {
+    		margin: 0;
+    		padding: 0;
+    		width: 100%;
+    		height: 600px;
+    	}
+    	.container {
+    		height: 100%;
+    		padding: 50px 0;
+    		text-align: center;
+    		background: linear-gradient(138deg, #7EBAB8 0%, #48999A 100%);
+    		box-shadow: 0px 2px 4px 0px #0B7C7D;
+    	}
+    	.text-img {
+    		margin: 0 auto;
+    	}
+    	.car-img {
+    		margin-top: 39px;
+    	}
+    	.button {
+    		display: inline-block;
+    		width: calc(100% - 84px);
+    		height: 6vh;
+    		line-height: 6vh;
+    		text-decoration: none;
+    		margin-top: 4vh;
+    		outline: none;
+    		border: none;
+    		background: #FFFFFF;
+    		box-shadow: 0px 7px 13px 0px rgba(0, 105, 106, 0.26);
+    		border-radius: 10px;
+    		font-size: 1.1em;
+    		font-weight: 500;
+    		color: #1D8587;
+    		font-family: 'PingFangSC-Medium, PingFang SC';
+    	}
     </style>
 </head>
 <body>
     <div class="container">
 		<div class="text-img">
+<<<<<<< HEAD
+			<img src="https://h5.pdzhtc.com/static/img/text-html-bg.png" alt="" width="290" height="100"/>
+		</div>
+		<div class="car-img">
+			<img src="https://h5.pdzhtc.com/static/img/car-html-bg.png" alt="" width="300" height="170"/>
+=======
 			<img src="https://h5.pdzhtc.com/static/img/text-html-bg.png" alt="" width="80%" height="20%"/>
 		</div>
 		<div class="car-img">
 			<img src="https://h5.pdzhtc.com/static/img/car-html-bg.png" alt="" width="65%" height="25%"/>
+>>>>>>> 07d8f3d90719874f4d560a7a8a47ab08f65cf0fc
 		</div>
 		<a href="javascript:goToBgzchina()" class="button">回到普定智慧停车</a>
 	</div>
@@ -86,11 +90,10 @@
                                height:960};//高度可选(参考说明文档)
         var postData = JSON.stringify(mchData);
         parent.postMessage(postData,'https://payapp.weixin.qq.com');
-    
+        
+        const jumpUrl = localStorage.getItem('jumpUrl')
         //测试跳转到其他页面【非必需】
         function goToBgzchina() {
-			// let jumpUrl = localStorage.getItem('jumpUrl') || 'https://h5.pdzhtc.com';
-			// alert('111',jumpUrl)
             var mchData = {
                 action: 'jumpOut',
                 jumpOutUrl: 'https://h5.pdzhtc.com?type=jumpurl' //要跳转到的页面。注意:不支持跳转到小程序