|
@@ -2,8 +2,9 @@
|
|
|
<view>
|
|
|
<ujp-navbar title="站点详情">
|
|
|
<view slot="right" style="margin-right: 10px;" @click="openModalBl=true">
|
|
|
- <view class="iconfont qr-code">
|
|
|
- 
|
|
|
+
|
|
|
+ <view class="iconfont service">
|
|
|
+ 
|
|
|
</view>
|
|
|
</view>
|
|
|
</ujp-navbar>
|
|
@@ -389,17 +390,18 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 价格信息 -->
|
|
|
- <view class="price-infos" v-if="pricesInfoCurrent">
|
|
|
+ <view class="price-infos" v-if="pricesInfoCurrent2">
|
|
|
<view class="title">
|
|
|
- 价格信息<text>({{pricesInfoCurrent.startTime}}-{{pricesInfoCurrent.endTime}})</text>
|
|
|
- </view>
|
|
|
- <view class="classify" v-if="!personInfo||personInfo.userType==1">
|
|
|
+ 价格信息<text>({{pricesInfoCurrent2.startTime}}-{{pricesInfoCurrent2.endTime}})</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="classify" v-if="(!personInfo||personInfo.userType==1)&&station&&(station.giveDiscount||(pricesInfoCurrent2.discountServicePrice))">
|
|
|
<view class="item item-visitor">
|
|
|
<view class="visitor">
|
|
|
游客价
|
|
|
</view>
|
|
|
<view class="unit-price">
|
|
|
- <text>{{(pricesInfoCurrent.servicePrice+pricesInfoCurrent.electricityPrice).toFixed(2)}}</text>
|
|
|
+ <text>{{(pricesInfoCurrent2.servicePrice+pricesInfoCurrent2.electricityPrice).toFixed(2)}}</text>
|
|
|
|
|
|
<text class="unit">元/度</text>
|
|
|
</view>
|
|
@@ -411,12 +413,28 @@
|
|
|
</view>
|
|
|
<view class="unit-price">
|
|
|
|
|
|
- <text>{{pricesInfoCurrent.costPrice}}</text>
|
|
|
+ <text>{{pricesInfoCurrent2.costPrice.toFixed(2)}}</text>
|
|
|
|
|
|
<text class="unit">元/度</text>
|
|
|
<text class="register" @click="gotoUrl('pages/login/login')">注册</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+ <view class="classify" v-else>
|
|
|
+
|
|
|
+
|
|
|
+ <view class="item item-member-all">
|
|
|
+ <view class="visitor">
|
|
|
+ 当前电价
|
|
|
+ </view>
|
|
|
+ <view class="unit-price">
|
|
|
+
|
|
|
+ <text>{{pricesInfoCurrent2.costPrice.toFixed(2)}}</text>
|
|
|
+
|
|
|
+ <text class="unit">元/度</text>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<!-- 提示 -->
|
|
|
<p class="hint">*该价格为含服务费价格,实际价格以扫码价格为准。</p>
|
|
@@ -483,7 +501,7 @@
|
|
|
>
|
|
|
|
|
|
<template v-if="station">
|
|
|
- <template v-if="(personInfo&&personInfo.userType==2)&&(station.giveDiscount||(pricesInfoCurrent2.discountServicePrice))">
|
|
|
+ <template v-if="(personInfo&&personInfo.userType==2)&&(station.giveDiscount||(item.discountServicePrice))">
|
|
|
<span class="chats1" :style="'height:'+getH(item.discountServicePrice)">{{item.discountServicePrice}}</span>
|
|
|
|
|
|
</template>
|
|
@@ -518,7 +536,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 附加信息 -->
|
|
|
- <view class="overhead-infos">
|
|
|
+ <view class="overhead-infos" v-if="stationDetail&&(stationDetail.station.describe||stationDetail.station.parkingDescription)">
|
|
|
<view class="item" v-if="stationDetail.station.describe" >
|
|
|
<view class="title">
|
|
|
营业时间
|
|
@@ -1280,7 +1298,32 @@
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .oldTextClassF{
|
|
|
+ .stationDetail .title{
|
|
|
+ font-size: 62rpx;
|
|
|
+
|
|
|
+ }
|
|
|
+ .stationDetail .position .address{
|
|
|
+ font-size: 38rpx;
|
|
|
+ }
|
|
|
+ .stationDetail .type .type-box .box-top .pile-type{
|
|
|
+ font-size: 38rpx;
|
|
|
+ color: #101010;
|
|
|
+ }
|
|
|
+ .stationDetail .pile-state .gun-details .item .itemShowOpen .itemView .infos .gun-name{
|
|
|
+ font-size: 48rpx;
|
|
|
+ }
|
|
|
+ .stationDetail .price-infos .title{
|
|
|
+ font-size: 38rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ .service {
|
|
|
+ font-size: 24px;
|
|
|
+ color: #101010;
|
|
|
+
|
|
|
+ }
|
|
|
page {
|
|
|
background-color: #F2F2F2;
|
|
|
|
|
@@ -1375,19 +1418,20 @@
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
.block {
|
|
|
- width: 88rpx;
|
|
|
+ width: 96rpx;
|
|
|
height: 40rpx;
|
|
|
line-height: 40rpx;
|
|
|
border-radius: 50px;
|
|
|
background-color: rgba(0, 185, 98, 1);
|
|
|
color: rgba(255, 255, 255, 1);
|
|
|
font-size: 22rpx;
|
|
|
- text-align: center;
|
|
|
+ text-align: center;
|
|
|
+ padding:0 4rpx;
|
|
|
}
|
|
|
|
|
|
.address {
|
|
|
width: 460rpx;
|
|
|
- margin-left: 16rpx;
|
|
|
+ //margin-left: 16rpx;
|
|
|
color: rgba(16, 16, 16, 1);
|
|
|
font-size: 32rpx;
|
|
|
line-height: 44rpx;
|
|
@@ -1440,7 +1484,7 @@
|
|
|
}
|
|
|
.type-box {
|
|
|
//width: 334rpx;
|
|
|
- //padding: 16rpx 84rpx;
|
|
|
+ padding: 8rpx 0;
|
|
|
width: 32%;
|
|
|
border-radius: 8rpx;
|
|
|
background-color: rgba(255, 255, 255, 1);
|
|
@@ -1731,7 +1775,12 @@
|
|
|
color: #27B148;
|
|
|
width: 60%;
|
|
|
}
|
|
|
-
|
|
|
+ // 会员价
|
|
|
+ .item-member-all {
|
|
|
+ color: #27B148;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
.register {
|
|
|
padding: 4rpx 12rpx;
|
|
|
height: 24px;
|
|
@@ -1844,8 +1893,8 @@
|
|
|
justify-content: flex-end;
|
|
|
border :1px solid #f9f9f9;
|
|
|
.chats0{
|
|
|
- background-color: #ff8b17;
|
|
|
- color: #ffecdd;
|
|
|
+ // background-color: #ff8b17;
|
|
|
+ // color: #ffecdd;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
|
|
@@ -1862,7 +1911,7 @@
|
|
|
}
|
|
|
.chats1{
|
|
|
background: #dcdcdc;
|
|
|
- min-height: 40rpx
|
|
|
+ min-height: 30rpx
|
|
|
}
|
|
|
.chats2{
|
|
|
background: #80e0a6;
|