chenrui 4 роки тому
батько
коміт
917d2a370e
1 змінених файлів з 4 додано та 6 видалено
  1. 4 6
      pages/shopTourDetails/shopTourDetails.vue

+ 4 - 6
pages/shopTourDetails/shopTourDetails.vue

@@ -15,14 +15,12 @@
 						</view>
 						<text v-if="item.comments || item.taskTargetPhotoList" class="item-btn" @click="getComments(item)">查看评论</text>
 					</view>
-					<!-- <view class="item-footer">
-						考核时间:2020-09-09 14:29
-					</view> -->
 				</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;">
-			<u-empty text="暂无数据" img-width="120" v-if="itemList.length == 0" mode="list"></u-empty>
+		<view v-if="itemList.length == 0" style="width: 100%;padding-top: 10vh;">
+			<u-empty text="暂无数据" img-width="120" mode="list"></u-empty>
 		</view>
 		<!-- 查看评论 -->
 		<comment-popup :openPopup="openPopup" :comments="comments" :taskTargetPhotoList="taskTargetPhotoList" @close="closePopup" />
@@ -90,7 +88,7 @@
 	}
 </script>
 
-<style lang="scss" scoped>
+<style lang="scss">
 	page {
 		background-color: #f8f8f8;
 		height: calc(100vh - 48px);