浏览代码

Merge branch 'deploy' of http://git.chelingzhu.com/chelingzhu-web/storeCheck-app into deploy

lilei 4 年之前
父节点
当前提交
6574cdffe2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/shopTourDetails/commentPopup.vue

+ 1 - 1
pages/shopTourDetails/commentPopup.vue

@@ -3,7 +3,7 @@
 		<view class="popup-con">
 		<view class="popup-con">
 			<view class="popup-tit">查看评论</view>
 			<view class="popup-tit">查看评论</view>
 			<view class="popup-main">
 			<view class="popup-main">
-				<u-swiper :list="list" :autoplay="false" :height="400" class="popup-swiper" @click="clickSwiper"></u-swiper>
+				<u-swiper v-if="list.length > 0" :list="list" :autoplay="false" :height="400" class="popup-swiper" @click="clickSwiper"></u-swiper>
 				<view class="popup-des">{{comments}}</view>
 				<view class="popup-des">{{comments}}</view>
 			</view>
 			</view>
 		</view>
 		</view>