Browse Source

站点详情

常志远 2 years ago
parent
commit
f3260fc707

+ 6 - 0
assets/img/riLine-charging-pile-line Copy.svg

@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="20" height="20" style="border-color: rgba(0,0,0,0);border-width: bpx;border-style: undefined" filter="none">
+    
+    <g>
+    <path d="M18.667 25.333h1.333v2.667h-17.333v-2.667h1.333v-20c0-0.736 0.597-1.333 1.333-1.333v0h12c0.736 0 1.333 0.597 1.333 1.333v0 10.667h2.667c1.473 0 2.667 1.194 2.667 2.667v0 5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v0-9.333h-2.667c-0.736 0-1.333-0.597-1.333-1.333v0-4.781l-2.209-2.209 1.885-1.885 6.6 6.6c0.241 0.241 0.391 0.574 0.391 0.941 0 0 0 0.001 0 0.001v-0 12c0 2.209-1.791 4-4 4s-4-1.791-4-4v0-5.333h-2.667v6.667zM6.667 25.333h9.333v-18.667h-9.333v18.667zM12 14.667h4l-5.333 8v-5.333h-4l5.333-8v5.333z" fill="rgba(143.055,207.06,176.97,1)"></path>
+    </g>
+  </svg>

+ 6 - 0
assets/img/riLine-map-pin-time-line.svg

@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="20" height="20" style="border-color: rgba(187,187,187,1);border-width: 0px;border-style: solid" filter="none">
+    
+    <g>
+    <path d="M22.6 21.267c1.689-1.689 2.733-4.022 2.733-6.599 0-5.155-4.179-9.333-9.333-9.333s-9.333 4.179-9.333 9.333c0 2.577 1.045 4.91 2.733 6.599l6.6 6.6 6.6-6.6zM16 31.637l-8.485-8.485c-2.172-2.172-3.515-5.172-3.515-8.485 0-6.627 5.373-12 12-12s12 5.373 12 12c0 3.314-1.343 6.314-3.515 8.485l-8.485 8.485zM17.333 14.667h5.333v2.667h-8v-9.333h2.667v6.667z" fill="rgba(143.055,207.06,176.97,1)"></path>
+    </g>
+  </svg>

+ 6 - 0
assets/img/riLine-navigation-line.svg

@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="20" height="20" style="border-color: rgba(187,187,187,1);border-width: 0px;border-style: solid" filter="none">
+    
+    <g>
+    <path d="M6.62 6.795l4.728 16.547 4.053-8.107 7.516-3.007-16.297-5.433zM3.865 3.067l25.075 8.357c0.268 0.091 0.457 0.34 0.457 0.633 0 0.279-0.172 0.518-0.415 0.618l-0.004 0.002-11.644 4.657-5.9 11.8c-0.112 0.22-0.337 0.369-0.596 0.369-0.303 0-0.559-0.202-0.64-0.479l-0.001-0.005-7.183-25.137c-0.016-0.055-0.026-0.118-0.026-0.183 0-0.368 0.298-0.667 0.667-0.667 0.076 0 0.149 0.013 0.217 0.036l-0.005-0.001z" fill="rgba(143.055,207.06,176.97,1)"></path>
+    </g>
+  </svg>

+ 6 - 0
assets/img/riLine-parking-box-line.svg

@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="20" height="20" style="border-color: rgba(187,187,187,1);border-width: 0px;border-style: solid" filter="none">
+    
+    <g>
+    <path d="M5.333 4h21.333c0.736 0 1.333 0.597 1.333 1.333v0 21.333c0 0.736-0.597 1.333-1.333 1.333v0h-21.333c-0.736 0-1.333-0.597-1.333-1.333v0-21.333c0-0.736 0.597-1.333 1.333-1.333v0zM6.667 6.667v18.667h18.667v-18.667h-18.667zM12 9.333h4.667c2.577 0 4.667 2.089 4.667 4.667s-2.089 4.667-4.667 4.667v0h-2v4h-2.667v-13.333zM14.667 12v4h2c1.105 0 2-0.895 2-2s-0.895-2-2-2v0h-2z" fill="rgba(143.055,207.06,176.97,1)"></path>
+    </g>
+  </svg>

+ 160 - 12
pages/searchPile/stationAndPile/stationDetails.vue

@@ -13,17 +13,59 @@
 			<view class="station-name">
 				{{stationDetail.station.name}}
 			</view>
+			<view class="sign">
+				<view class="sign-1">会员享服务费8.5折</view>
+				<view class="sign-2">包月卡</view>
+				<view class="sign-2">服务费代金券</view>
+				<view class="sign-2">超级代金券</view>
+			</view>
+			<view class="infos-item between">
+				
+				<view class="position"><view class="img-box"><img src="../../../assets/img/riLine-navigation-line.svg" alt=""></view>湖北省荆州市沙市区江津东路附155号荆鹏软件园侧门院内</view>
+				 <view class="distance">小于100米<text class="iconfont">&#xe600;</text></view>
+			</view>
+			<view class="infos-item">
+				<view class="date"><text><img src="../../../assets/img/riLine-map-pin-time-line.svg" alt=""></text>周一到周日 07:00~22:00 (节假日除外)</view>
+			</view>
+			<view class="infos-item between">
+				<view class="park "><text><img src="../../../assets/img/riLine-parking-box-line.svg" alt=""></text>2小时停车免费</view>
+				<view class="iconfont park-font">
+					&#xe600;
+				</view>
+			</view>
+			<view class="infos-item between">
+				<view class="date"><text><img src="../../../assets/img/riLine-charging-pile-line Copy.svg" alt="">
+				</text>直流快充/交流慢充</view>
+				<view class="free">
+					<view class="fast">
+						<view class="fast-font">
+							快
+						</view>
+						<view class="num">
+							3/4
+						</view>
+					</view>
+					<view class="slow">
+						<view class="slow-font">
+							慢
+						</view>
+						<view class="num">
+							3/4
+						</view>
+					</view>
+				</view>
+			</view>
 
-			<view class="details-item" style="margin-top: 16px;">
+			<!-- <view class="details-item" style="margin-top: 16px;">
 				<view class="iconfont font5"
 					:style="stationDetail.station.type.indexOf('1')>=0?(stationDetail.station.type.indexOf('2')>=0?'color: #00BAC8;':'color: #9d9fff;'):('color: #00b962;')">
 					&#xe60a;</view>
-				<!--				style="color: #00b962;"-->
+				
 				<view class="item-text oldTextjp2" oldstyle="font-size: 16px;">
 					{{(stationDetail.station.type.indexOf('1')>=0?'直流快充':'')}}{{(stationDetail.station.type.indexOf(',')>=0?'/':'')}}{{(stationDetail.station.type.indexOf('2')>=0?'交流慢充':'')}}
 				</view>
-			</view>
-			<view class="details-item">
+			</view> -->
+			<!-- <view class="details-item">
 				<view class="iconfont font5" style="color: #4e94ff;">&#xe60e;</view>
 				<view class="item-text oldTextjp2" oldstyle="font-size: 16px;" >
 					<template v-if="stationDetail.station.distance">
@@ -36,24 +78,23 @@
 							color: #5c95f8;
 							margin-left: 10px;" @click="getPoint()">重新定位</span>
 				</view>
-			</view>
-			<view class="details-item" v-if="stationDetail.station.describe">
+			</view> -->
+			<!-- <view class="details-item" v-if="stationDetail.station.describe">
 				<view class="iconfont font5" style="color: #ffad79;">&#xe621;</view>
 				<view class="item-text oldTextjp2" oldstyle="font-size: 16px;">
 					{{stationDetail.station.describe}}
 				</view>
-			</view>
+			</view> -->
 			
-			<view class="details-item">
+		<!-- 	<view class="details-item">
 				<img class="iconfont font5" src="@/assets/img/riLine-coupon-3-line.svg"  style="width: 40rpx;" >
-				<!-- <view class="iconfont font5" style="color: #ffad79;">&#xe621;</view> -->
 				<view class="item-text oldTextjp2" oldstyle="font-size: 16px;">
 					本站<span v-if="stationDetail&&stationDetail.station&&stationDetail.station.giveDiscount">会员享服务费{{stationDetail.station.discountRatio/10}}折,</span>支持包月卡、服务费代金券和超级代金券等优惠活动
 					
 				</view>
-			</view>
+			</view> -->
 			
-			<view class="station-address" @click="map">
+			<!-- <view class="station-address" @click="map">
 				<img src="static/img/Frame 201.png" alt="">
 				<view class="address-text  oldTextjp" oldstyle="font-size: 16px;">
 					{{stationDetail.station.address}}
@@ -68,7 +109,7 @@
 				</view>
 
 
-			</view>
+			</view> -->
 		</view>
 
 		<view class="tabs-box">
@@ -940,6 +981,47 @@
 
 		}
 	}
+.between{
+	justify-content: space-between;
+}
+
+.infos-item{
+	display: flex;
+	padding: 14px 0;
+	align-items: center;
+	border-bottom: solid rgba(238, 242, 240, 100);
+	font-size: 16px;
+	.position{
+		width: 65%;
+		line-height: 20px;
+		margin-left: 8rpx;
+		display: flex;
+		align-items: center;
+		.img-box{
+			margin-right: 4px;
+		}
+	}
+	.distance{
+		color: rgba(0, 185, 98, 100);
+		font-size: 16px;
+	}
+	text{
+		margin-right: 4px;
+		
+		img{
+			vertical-align: middle;
+		}
+		
+	}
+	.date,.park{
+		display: flex;
+		align-items: center;
+	}
+	.park-font{
+		font-size: 16px;
+		color: #999999;
+	}
+}
 
 	// 价格详情
 	.price-details {
@@ -1725,5 +1807,71 @@
 	}
 	
 }
+.sign{
+		display: flex;
+		flex-wrap: wrap;
+		margin-top: 8px;
+		width: 70%;
+		.sign-1{
+			line-height: 20px;
+			border-radius: 4px;
+			background-color: rgba(255, 255, 255, 100);
+			color: rgba(255, 139, 0, 100);
+			font-size: 12px;
+			text-align: center;
+			border: 1px solid rgba(255, 139, 0, 100);
+			padding: 0 4px;
+			margin-right: 8px;
+			margin-bottom: 4px;
+		}
+		.sign-2{
+			line-height: 20px;
+			border-radius: 4px;
+			background-color: rgba(255, 255, 255, 100);
+			color: rgba(153, 153, 153, 100);
+			font-size: 12px;
+			text-align: center;
+			border: 1px solid rgba(204, 204, 204, 100);
+			padding: 0 4px;
+			margin-right: 8px;
+			margin-bottom: 4px;
+		}
+	}
+	.free{
+		display: flex;
+	    align-items: center;
+		.slow,.fast{
+			display: flex;
+			.fast-font{
+				width: 20px;
+				height: 20px;
+				line-height: 20px;
+				border-radius: 4px;
+				background-color: rgba(186, 240, 215, 100);
+				color: rgba(0, 130, 69, 100);
+				font-size: 14px;
+				text-align: center;
+				margin-right: 4px;
+			}
+			.slow-font{
+				width: 20px;
+				height: 20px;
+				line-height: 20px;
+				border-radius: 4px;
+				background-color: rgba(226, 226, 226, 100);
+				color: rgba(128, 128, 128, 100);
+				font-size: 14px;
+				text-align: center;
+				margin-right: 4px;
+			}
+			.num{
+				font-size: 16px;color: rgba(0, 145, 67, 100);
+				line-height: 20px;
+			}
+		}
+		.slow{
+			margin-left: 20px;
+		}
+	}
 
 </style>