wkyy 3 years ago
parent
commit
d5272d1d96
3 changed files with 7 additions and 9 deletions
  1. 3 3
      pages/index/index.vue
  2. 2 2
      pages/searchPile/searchPile.vue
  3. 2 4
      pages/user/car/carAdd.vue

+ 3 - 3
pages/index/index.vue

@@ -58,9 +58,9 @@
 			<view class="text"> 
 			<view class="text"> 
 				
 				
 				<view class="station-title">
 				<view class="station-title">
-					<text class="title-left" v-if="stationData.type == '1'">快充</text>
-					<text class="title-left" v-if="stationData.type == '2'">慢充</text>
-					<text class="title-left" v-if="stationData.type == '1,2'">快充&慢充</text>
+					<text class="title-left" v-if="stationData.type == '1'" style="color: #9D9FFF;">快充</text>
+					<text class="title-left" v-if="stationData.type == '2'" style="color: #00B962;">慢充</text>
+					<text class="title-left" v-if="stationData.type == '1,2'" style="color: #00BAC8;">快/慢</text>
 					<text class="title-right">{{stationData.name}}</text>
 					<text class="title-right">{{stationData.name}}</text>
 				</view>
 				</view>
 				
 				

+ 2 - 2
pages/searchPile/searchPile.vue

@@ -157,7 +157,7 @@
 						</view>
 						</view>
 					</view>
 					</view>
 					<view class="park">
 					<view class="park">
-						<text class="park-p">p</text>
+						<text class="park-p" style="color: #FFFFFF;">p</text>
 						<text class="park-text">2小时免费停车</text>
 						<text class="park-text">2小时免费停车</text>
 					</view>
 					</view>
 					<view class="free">
 					<view class="free">
@@ -212,7 +212,7 @@
 								</view>
 								</view>
 								<view class="card_item" style="border-bottom: #F1F4F3; border-bottom-width: 2rpx;border-style: solid;border-top-width: 0rpx;border-left-width: 0rpx;border-right-width:0rpx; padding-bottom:20rpx">
 								<view class="card_item" style="border-bottom: #F1F4F3; border-bottom-width: 2rpx;border-style: solid;border-top-width: 0rpx;border-left-width: 0rpx;border-right-width:0rpx; padding-bottom:20rpx">
 									<view style="display: flex;flex-direction: row;">
 									<view style="display: flex;flex-direction: row;">
-										<view style="background-color: #7DB1FF;padding-left: 10rpx;padding-right: 10rpx;">
+										<view style="background-color: #7DB1FF;padding-left: 10rpx;padding-right: 10rpx;color: #FFFFFF;">
 											P
 											P
 										</view>
 										</view>
 										<label>{{item.park}}</label>
 										<label>{{item.park}}</label>

+ 2 - 4
pages/user/car/carAdd.vue

@@ -2,7 +2,7 @@
 	<view>
 	<view>
 		<u-navbar title="车辆管理">
 		<u-navbar title="车辆管理">
 			<view class="slot-wrap">
 			<view class="slot-wrap">
-				<span class="navBtn" :style="form.id ? '': 'color: #E68C91;'" @click="showDelete">删除车辆</span>
+				<span class="navBtn" v-if="form.id" @click="showDelete">删除车辆</span>
 			</view>
 			</view>
 		</u-navbar>
 		</u-navbar>
 		<view>
 		<view>
@@ -94,9 +94,7 @@
 				})
 				})
 			},
 			},
 			showDelete() {
 			showDelete() {
-				if(this.form.id) {
-					this.show = true;
-				}
+				this.show = true;
 			},
 			},
 			confirmDelete() {
 			confirmDelete() {
 				uni.showLoading({
 				uni.showLoading({