twt 3 giorni fa
parent
commit
46e285913f
2 ha cambiato i file con 9 aggiunte e 4 eliminazioni
  1. 6 2
      pages/addjk/activityDetail.vue
  2. 3 2
      pages/addjk/jkDetail.vue

+ 6 - 2
pages/addjk/activityDetail.vue

@@ -33,7 +33,10 @@
 					<img src="../../static/img/jt2.png" alt="" class="shopjt">
 				</view>
 			</view>
-			<view class="shopCont">
+			<view class="shopCont"  v-if="shopckList.length == 0">
+				<view style="color: #666;">暂无门店</view>
+			</view>
+			<view class="shopCont" v-if="shopckList.length">
 				<view class="shopContLeft">
 					<view class="shopName">{{shopInfo.shopName}}</view>
 					<view class="shopaddress">{{shopInfo.address}}</view>
@@ -77,7 +80,8 @@
 				<view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
 					<view class="ckshopLine" v-for="(item,index) in shopckList" >
 						<view class="shoplineLeft">
-							<image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
+							<image :src="item.doorImg1" mode="" class="shopImg" v-if="item.doorImg1"></image>
+							<image :src="item.doorImg2" mode="" class="shopImg" v-else-if="item.doorImg2"></image>
 							<image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
 						</view>
 						<view class="shopright" style="padding-left: 20rpx;">

+ 3 - 2
pages/addjk/jkDetail.vue

@@ -79,8 +79,9 @@
 				<view style="padding: 0 24rpx; height: 65vh;overflow-y: scroll;">
 					<view class="ckshopLine" v-for="(item,index) in shopckList" >
 						<view class="shoplineLeft">
-							<image :src="item.photoPath" mode="" class="shopImg" v-if="item.photoPath"></image>
-							<image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
+						<image :src="item.doorImg1" mode="" class="shopImg" v-if="item.doorImg1"></image>
+						<image :src="item.doorImg2" mode="" class="shopImg" v-else-if="item.doorImg2"></image>
+						<image src="../../static/img/noimg.png" mode="" class="shopImg" v-else></image>
 						</view>
 						<view class="shopright" style="padding-left: 20rpx;">
 							<view class="shopTop">