|
@@ -15,7 +15,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="sign">
|
|
<view class="sign">
|
|
<view class="sign-1" v-if="stationDetail.station.giveDiscount">
|
|
<view class="sign-1" v-if="stationDetail.station.giveDiscount">
|
|
- 会员享服务费{{stationDetail.station.discountRatio/10}}折</view>
|
|
|
|
|
|
+ 服务费{{stationDetail.station.discountRatio/10}}折</view>
|
|
<view class="sign-2" v-if="stationDetail.station.tagList.length != 0"
|
|
<view class="sign-2" v-if="stationDetail.station.tagList.length != 0"
|
|
v-for="(tagName,tagIndex) in stationDetail.station.tagList" :key="tagIndex">{{tagName}}</view>
|
|
v-for="(tagName,tagIndex) in stationDetail.station.tagList" :key="tagIndex">{{tagName}}</view>
|
|
</view>
|
|
</view>
|
|
@@ -529,7 +529,18 @@
|
|
|
|
|
|
let data = res.data;
|
|
let data = res.data;
|
|
|
|
|
|
- _self.stationDetail = data;
|
|
|
|
|
|
+ _self.stationDetail = data;
|
|
|
|
+
|
|
|
|
+ if(_self.stationDetail.station.parkingDescription != null) {
|
|
|
|
+ var tagList = _self.stationDetail.station.tagList;
|
|
|
|
+ for (var i = 0; i < tagList.length; i++) {
|
|
|
|
+ if(tagList[i] == _self.stationDetail.station.parkingDescription) {
|
|
|
|
+ tagList.splice(i,1);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ _self.stationDetail.station.tagList = tagList;
|
|
|
|
+ }
|
|
|
|
+
|
|
if(distance){
|
|
if(distance){
|
|
_self.stationDetail.station.distance=distance
|
|
_self.stationDetail.station.distance=distance
|
|
}
|
|
}
|