wkyy пре 2 година
родитељ
комит
6ae8688f8c

+ 2 - 2
pages/index/index.vue

@@ -219,7 +219,7 @@
 					</view>
 					</view>
 				</view>
 				</view>
 				<view class="sign">
 				<view class="sign">
-					<view class="sign-1" v-if="stationData.giveDiscount">会员享服务费{{stationData.discountRatio/10}}折</view>
+					<view class="sign-1" v-if="stationData.giveDiscount">服务费{{stationData.discountRatio/10}}折</view>
 					<view class="sign-2" v-if="stationData.tagList.length != 0" v-for="(tagName,tagIndex) in stationData.tagList" :key="tagIndex">{{tagName}}</view>
 					<view class="sign-2" v-if="stationData.tagList.length != 0" v-for="(tagName,tagIndex) in stationData.tagList" :key="tagIndex">{{tagName}}</view>
 				</view>
 				</view>
 				<view class="price-free">
 				<view class="price-free">
@@ -682,7 +682,7 @@
 				newsApi.getBannerInfo(code).then((res) => {
 				newsApi.getBannerInfo(code).then((res) => {
 					this.bannerList =res.data;
 					this.bannerList =res.data;
 					uni.hideLoading()
 					uni.hideLoading()
-					 document.getElementsByClassName("uni-swiper-wrapper")[0].parentNode.style="background-color: rgb(255, 255, 255); height: 160px;"
+					 document.getElementsByClassName("uni-swiper-wrapper")[0].parentNode.style="background-color: rgb(255, 255, 255); height: 120px;"
 				 }).catch(error => {
 				 }).catch(error => {
 						uni.showToast({
 						uni.showToast({
 						
 						

+ 1 - 1
pages/searchPile/searchPile.vue

@@ -157,7 +157,7 @@
 							</view>
 							</view>
 						</view>
 						</view>
 						<view class="sign">
 						<view class="sign">
-							<view class="sign-1" v-if="item.giveDiscount">会员享服务费{{item.discountRatio/10}}折</view>
+							<view class="sign-1" v-if="item.giveDiscount">服务费{{item.discountRatio/10}}折</view>
 							<view class="sign-2" v-if="item.tagList.length != 0" v-for="(tagName,tagIndex) in item.tagList" :key="tagIndex">{{tagName}}</view>
 							<view class="sign-2" v-if="item.tagList.length != 0" v-for="(tagName,tagIndex) in item.tagList" :key="tagIndex">{{tagName}}</view>
 						</view>
 						</view>
 						<view class="price-free">
 						<view class="price-free">

+ 13 - 2
pages/searchPile/stationAndPile/stationDetails.vue

@@ -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
 						}
 						}