Forráskód Böngészése

个人桩显示调整

zhengkaixin 2 éve
szülő
commit
67234ecf4b
1 módosított fájl, 12 hozzáadás és 2 törlés
  1. 12 2
      pages/searchPile/stationAndPile/stationDetails.vue

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

@@ -20,9 +20,16 @@
 		
 		
 		<view v-if="stationDetail.station!=null" class="station-details">
-			<u-image border-radius='15rpx' v-if="stationDetail.station != null && stationDetail.station.image != null"
+			<u-image border-radius='15rpx' v-if="stationDetail.station.stationType!=50&&stationDetail.station != null && stationDetail.station.image != null"
 				class="img" width="30.6%" height="75px" :src="stationDetail.station.image" loading-icon="photo"
-				@click="previewImage(stationDetail.station.image)"></u-image>
+				@click="previewImage(stationDetail.station.image)"></u-image>
+				
+			<u-image border-radius='15rpx' v-if="stationDetail.station.stationType==50&&stationDetail.station != null && stationDetail.station.image != null"
+				class="img" width="30.6%" height="55px" :src="stationDetail.station.image" loading-icon="photo"
+				@click="previewImage(stationDetail.station.image)"></u-image>
+				
+				
+					
 			<view class="station-name" :class="{
 				noImg:!(stationDetail.station != null && stationDetail.station.image != null)
 			}">
@@ -38,6 +45,9 @@
 					服务费{{station.discountRatio/10}}折</view>
 				<view class="sign-2" v-if="stationDetail.station.tagList.length != 0" 
 					v-for="(tagName,tagIndex) in stationDetail.station.tagList" :key="tagIndex">{{tagName}}</view>
+			</view>
+			<view  v-else  style="height: 30px;" >
+				&nbsp;
 			</view>
 			
 			<view class="infos-item "