Browse Source

修改界面

renmy 4 months ago
parent
commit
d990fcd749
1 changed files with 13 additions and 17 deletions
  1. 13 17
      pages/power-changer/index.vue

+ 13 - 17
pages/power-changer/index.vue

@@ -46,36 +46,32 @@
 					</view>
 					<view class="list">
 						<view class="carLeft">
-							<PannelTitle words="车牌识别器" :value="vehicleInfo.plateComState ? '正常' : '异常'"
-								:flag="vehicleInfo.plateComState" />
-						</view>
-						<view class="carRight">
-							<PannelTitle words="车辆识别" :value="vehicleInfo.plateState == 1 ? '成功' : '未识别'"
+							<PannelTitle words="车辆识别" :value="vehicleInfo.plateState == 1 ? '成功' : '未识别'"
 								:flag="vehicleInfo.plateState" @handleStatusShow="handleStatusShow"/>
 						</view>
+						<view class="carRight">
+							<PannelTitle words="鉴权状态" :value="vehicleInfo.authState ? '已通过' : '未通过'"
+								:flag="vehicleInfo.authState" />
+						</view>
 
 					</view>
 					<view class="list">
-						<view class="carLeft">
-							<PannelTitle words="车辆到位" :value="vehicleInfo.sensorState ? '已到位' : '未到位'"
-								:flag="vehicleInfo.sensorState" />
+						<view class="carLeft">
+							<PannelTitle words="连接状态" :value="vehicleInfo.conState == 1 ? '已连接' : vehicleInfo.conState == 0 ?'未连接':'—'"
+								:flag="vehicleInfo.conState == 1" />
 						</view>
 						<view class="carRight">
-							<PannelTitle words="连接状态" :value="vehicleInfo.conState == 1 ? '已连接' : vehicleInfo.conState == 0 ?'未连接':'—'"
-								:flag="vehicleInfo.conState == 1" />
+							<PannelTitle words="车辆到位" :value="vehicleInfo.sensorState ? '已到位' : '未到位'"
+								:flag="vehicleInfo.sensorState" />
 						</view>
-
 					</view>
 					<view class="list">
 						<view class="carLeft">
-							<PannelTitle words="鉴权状态" :value="vehicleInfo.authState ? '已通过' : '未通过'"
-								:flag="vehicleInfo.authState" />
-						</view>
-						<view class="carRight">
-							<PannelTitle circle="false" words="解锁状态"
-								:value="vehicleInfo.lockState==null ? '—': vehicleInfo.lockState?'已上锁' : '已解锁'"
+							<PannelTitle circle="false" words="解锁状态"
+								:value="vehicleInfo.lockState==null ? '—': vehicleInfo.lockState?'已上锁' : '已解锁'"
 								@ExchangeMessage="ExchangeMessage" :flag="vehicleInfo.lockState == 0" />
 						</view>
+						
 					</view>
 
 				</view>