|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
<!-- 头部 -->
|
|
|
- <view>
|
|
|
+ <view class="top-box">
|
|
|
<view class="top">
|
|
|
<view class="">
|
|
|
荆州市 <text class="iconfont" style="color: #bdbdbd;"></text>
|
|
@@ -11,24 +11,28 @@
|
|
|
<text class="iconfont"></text> <text class="list">列表</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 条件选项 -->
|
|
|
- <view class="condition">
|
|
|
- <view class="condition-distance">
|
|
|
- 10公里<text class="iconfont" style="color: #bdbdbd;"></text>
|
|
|
- </view>
|
|
|
- <view class="condition-type">
|
|
|
- 直流快充<text class="iconfont" style="color: #bdbdbd;"></text>
|
|
|
- </view>
|
|
|
- <view class="condition-screen">
|
|
|
- 筛选<text class="iconfont" style="color: #bdbdbd;"></text>
|
|
|
- </view>
|
|
|
+ <!-- 条件选项 -->
|
|
|
+ <view class="condition">
|
|
|
+ <view class="condition-distance">
|
|
|
+ 10公里<text class="iconfont"
|
|
|
+ style="color: #bdbdbd;font-size: 24px;position: absolute;"></text>
|
|
|
+ </view>
|
|
|
+ <view class="condition-type">
|
|
|
+ 直流快充<text class="iconfont"
|
|
|
+ style="color: #bdbdbd;font-size: 24px;position: absolute;"></text>
|
|
|
+ </view>
|
|
|
+ <view class="condition-screen">
|
|
|
+ 筛选<text class="iconfont" style="color: #bdbdbd;font-size: 24px;position: absolute;"></text>
|
|
|
+ </view>
|
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+
|
|
|
<!-- 地图 -->
|
|
|
+ <view style="height: 88px;"></view>
|
|
|
<view class="map">
|
|
|
<view class="station-icon"><text class="iconfont"></text>
|
|
|
- <view class="corner"></view>
|
|
|
+ <view class="corner"></view>
|
|
|
</view>
|
|
|
<view class="station-icon2">
|
|
|
<view class="iconfont icon2-left"></view>
|
|
@@ -42,32 +46,38 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view class="station-icon3"><text class="iconfont"></text>
|
|
|
+ <view class="corner"></view>
|
|
|
+ </view>
|
|
|
<img src="/static/img/地图@1x.png" alt="">
|
|
|
</view>
|
|
|
+
|
|
|
<view class="charing-slow">
|
|
|
- <text class="fast-charge">快充</text> <text class="station-items">荆沙大道救助站充电站</text>
|
|
|
+ <text class="fast-charge">快/慢</text> <text class="station-items">荆鹏软件园充电站</text>
|
|
|
<view class="address">
|
|
|
湖北省荆州市沙市区江津东路附155号
|
|
|
</view>
|
|
|
<view class="price">
|
|
|
- <view class="num">1.25</view>
|
|
|
+ <view class="num">1.20</view>
|
|
|
<view class="unit">
|
|
|
起 元/度
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="park">
|
|
|
<text class="park-p">p</text>
|
|
|
- <text class="park-text">2小时免费停车</text>
|
|
|
- </view>
|
|
|
- <view class="free">
|
|
|
+ <text class="park-text">以实际费用为准</text>
|
|
|
<view class="free-num">
|
|
|
<text style="color:#009143;">空闲10</text>/总数10
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+ <view class="free">
|
|
|
+ <view class="scan-qrcode"> <text class="iconfont font"></text><text class="text">扫码充电</text>
|
|
|
+ </view>
|
|
|
<view class="distance">
|
|
|
- <text class="iconfont distance-font"></text>1.2公里 3分钟
|
|
|
+ <text class="iconfont distance-font"></text><text class="text">1.2公里 3分钟</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="img-box"><img src="/static/img/定位.png" alt=""></view>
|
|
|
</view>
|
|
|
|
|
|
<u-tabbar v-model="current" :list="tabbarList" active-color="#009143"></u-tabbar>
|
|
@@ -110,6 +120,15 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+ .top-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 88px;
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 999;
|
|
|
+ }
|
|
|
+
|
|
|
.top {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -118,9 +137,7 @@
|
|
|
color: #666666;
|
|
|
background-color: rgba(255, 255, 255, 100);
|
|
|
padding: 12px 16px;
|
|
|
- position: fixed;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
+
|
|
|
|
|
|
.u-search[data-v-1a326067] {
|
|
|
flex: 0.9;
|
|
@@ -133,26 +150,27 @@
|
|
|
}
|
|
|
|
|
|
.condition {
|
|
|
+ width: 100%;
|
|
|
height: 44px;
|
|
|
line-height: 20px;
|
|
|
padding: 12px 16px;
|
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
+
|
|
|
background-color: #fff;
|
|
|
|
|
|
.condition-type {
|
|
|
- margin-left: 12px;
|
|
|
+ margin-left: 36px;
|
|
|
}
|
|
|
|
|
|
.condition-screen {
|
|
|
- margin-left: 135px;
|
|
|
+ margin-left: 159px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.map {
|
|
|
width: 100%;
|
|
|
|
|
|
- height: 100%;
|
|
|
+ flex: 1;
|
|
|
position: relative;
|
|
|
|
|
|
img {
|
|
@@ -171,9 +189,37 @@
|
|
|
position: absolute;
|
|
|
top: 89px;
|
|
|
left: 38px;
|
|
|
- .corner{
|
|
|
- width: 0;
|
|
|
- height: 0;
|
|
|
+
|
|
|
+ .corner {
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ position: absolute;
|
|
|
+ top: 34px;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ margin: auto;
|
|
|
+ border-bottom: 4px solid transparent;
|
|
|
+ border-left: 4px solid transparent;
|
|
|
+ border-right: 4px solid transparent;
|
|
|
+ border-top: 6px solid #b58cff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .station-icon3 {
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ line-height: 36px;
|
|
|
+ text-align: center;
|
|
|
+ border: 1px solid rgba(0, 185, 98, 100);
|
|
|
+ color: #00b962;
|
|
|
+ border-radius: 999px;
|
|
|
+ position: absolute;
|
|
|
+ top: 124px;
|
|
|
+ left: 255px;
|
|
|
+
|
|
|
+ .corner {
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
position: absolute;
|
|
|
top: 34px;
|
|
|
left: 0;
|
|
@@ -182,7 +228,7 @@
|
|
|
border-bottom: 4px solid transparent;
|
|
|
border-left: 4px solid transparent;
|
|
|
border-right: 4px solid transparent;
|
|
|
- border-top: 6px solid #b58cff ;
|
|
|
+ border-top: 6px solid #b58cff;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -191,13 +237,14 @@
|
|
|
height: 36px;
|
|
|
line-height: 20px;
|
|
|
border-radius: 50px;
|
|
|
- background-color: rgba(0, 185, 98, 100);
|
|
|
+ background-color: #00bacb;
|
|
|
text-align: center;
|
|
|
display: flex;
|
|
|
position: absolute;
|
|
|
- top: 191px;
|
|
|
- left: 168px;
|
|
|
- .icon2-left{
|
|
|
+ top: 188px;
|
|
|
+ left: 146px;
|
|
|
+
|
|
|
+ .icon2-left {
|
|
|
width: 36px;
|
|
|
height: 36px;
|
|
|
line-height: 36px;
|
|
@@ -205,17 +252,19 @@
|
|
|
border: 1px solid rgba(0, 185, 98, 100);
|
|
|
border-radius: 999px;
|
|
|
background-color: #fff;
|
|
|
- color: #00b962;
|
|
|
+ color: #00bacb;
|
|
|
}
|
|
|
- .icon2-right{
|
|
|
+
|
|
|
+ .icon2-right {
|
|
|
color: #ffffff;
|
|
|
line-height: 14px;
|
|
|
padding: 4px;
|
|
|
}
|
|
|
}
|
|
|
- .corner2{
|
|
|
- width: 0;
|
|
|
- height: 0;
|
|
|
+
|
|
|
+ .corner2 {
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
position: absolute;
|
|
|
top: 36px;
|
|
|
left: 0;
|
|
@@ -224,8 +273,8 @@
|
|
|
border-bottom: 6px solid transparent;
|
|
|
border-left: 6px solid transparent;
|
|
|
border-right: 6px solid transparent;
|
|
|
- border-top: 8px solid #00b962 ;
|
|
|
-
|
|
|
+ border-top: 8px solid #00b962;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -245,7 +294,7 @@
|
|
|
height: 20px;
|
|
|
line-height: 20px;
|
|
|
border-radius: 50px;
|
|
|
- background-color: #9d9fff;
|
|
|
+ background-color: #00bac8;
|
|
|
color: rgba(255, 255, 255, 100);
|
|
|
font-size: 12px;
|
|
|
text-align: center;
|
|
@@ -309,7 +358,7 @@
|
|
|
|
|
|
.park-text {
|
|
|
display: inline-block;
|
|
|
- width: 300px;
|
|
|
+
|
|
|
height: 17px;
|
|
|
color: rgba(102, 102, 102, 100);
|
|
|
font-size: 12px;
|
|
@@ -317,6 +366,12 @@
|
|
|
margin-left: 4px;
|
|
|
margin-top: 2px;
|
|
|
}
|
|
|
+
|
|
|
+ .free-num {
|
|
|
+ margin-left: 119px;
|
|
|
+ font-size: 14px;
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.free {
|
|
@@ -326,9 +381,12 @@
|
|
|
border-top: 1px solid rgba(238, 242, 240, 100);
|
|
|
margin-top: 10px;
|
|
|
|
|
|
- .free-num {
|
|
|
- line-height: 52px;
|
|
|
- font-size: 16px
|
|
|
+ .iconfont {
|
|
|
+ font-size: 15px
|
|
|
+ }
|
|
|
+
|
|
|
+ .text {
|
|
|
+ margin-left: 4px;
|
|
|
}
|
|
|
|
|
|
.distance {
|
|
@@ -342,11 +400,35 @@
|
|
|
margin: 12px;
|
|
|
text-align: center;
|
|
|
|
|
|
- .distance-font {
|
|
|
- font-size: 16px
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ .scan-qrcode {
|
|
|
+ width: 100px;
|
|
|
+ height: 28px;
|
|
|
+ line-height: 28px;
|
|
|
+ border-radius: 50px;
|
|
|
+ margin: 12px 0px 12px 89px;
|
|
|
+ text-align: center;
|
|
|
+ border: 1px solid rgba(0, 185, 98, 100);
|
|
|
+ color: rgba(0, 185, 98, 100);
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .img-box{
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ line-height: 36px;
|
|
|
+ text-align: center;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius: 8px;
|
|
|
+ position: fixed;
|
|
|
+ top: 377px;
|
|
|
+ right: 16px;
|
|
|
+ img{
|
|
|
+ vertical-align:middle;
|
|
|
}
|
|
|
}
|
|
|
</style>
|