Browse Source

巡店详情 - 暂无数据样式更改

chenrui 4 years ago
parent
commit
e7afce7a2c

+ 5 - 5
pages/shopTourDetails/shopTourDetails.vue

@@ -1,12 +1,12 @@
 <template>
 	<view class="shopTourDetails">
 		<view class="shopTourDetails-wrap">
-			<scroll-view scroll-y class="scroll-con-l">
+			<scroll-view scroll-y class="scroll-con-l" v-if="itemList.length != 0">
 				<view class="item-con" v-for="(item, index) in itemList" :key="index">
 					<view :class="['item-tit', nowInd==index ? 'active' : '']" @click="changeType(index)">{{item.assessItemName}}</view>
 				</view>
 			</scroll-view>
-			<scroll-view scroll-y class="scroll-con-r">
+			<scroll-view scroll-y class="scroll-con-r" v-if="itemList.length > 0">
 				<view class="item-con" v-for="(item, index) in evaluationItemsList" :key="index">
 					<view class="item-tit">{{item.assessTargetName}}</view>
 					<view class="item-main">
@@ -18,9 +18,9 @@
 				</view>
 				<u-empty text="暂无数据" img-width="120" v-if="itemList.length > 0 && evaluationItemsList.length == 0" mode="list"></u-empty>
 			</scroll-view>
-		</view>
-		<view style="width: 100%;padding-top: 10vh;" v-if="itemList.length == 0">
-			<u-empty text="暂无数据" img-width="120" mode="list"></u-empty>
+			<view style="width: 100%;" v-if="itemList.length == 0">
+				<u-empty text="暂无数据" img-width="120" mode="list"></u-empty>
+			</view>
 		</view>
 		<!-- 查看评论 -->
 		<comment-popup :openPopup="openPopup" :comments="comments" :taskTargetPhotoList="taskTargetPhotoList" @close="closePopup" />

File diff suppressed because it is too large
+ 3 - 3
unpackage/dist/dev/app-plus/app-service.js


File diff suppressed because it is too large
+ 14 - 14
unpackage/dist/dev/app-plus/app-view.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/app-plus/hybrid/html/imgEdit/ped.min.js


Some files were not shown because too many files changed in this diff