From ef6159d225ce3c085031b7670e651c367dc6cb9b Mon Sep 17 00:00:00 2001
From: 康凯 <kangk26@foxmail.com>
Date: Mon, 23 May 2022 19:55:07 +0800
Subject: [PATCH] 样式
---
src/views/scenery/detail.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/scenery/detail.vue b/src/views/scenery/detail.vue
index 016e2f7..3c7f968 100644
--- a/src/views/scenery/detail.vue
+++ b/src/views/scenery/detail.vue
@@ -43,6 +43,9 @@
</div>
<div class="item-name">{{ item.name }}</div>
</div>
+ <div v-if="images.data.length <= 0" style="width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;font-size: 16px;">
+ <span>暂无数据</span>
+ </div>
</div>
</mt-tab-container-item>
<mt-tab-container-item id="3">
@@ -66,6 +69,9 @@
</div>
<div class="line" :key="item.key"></div>
</template>
+ <div v-if="videos.data.length <= 0" style="width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;font-size: 16px;">
+ <span>暂无数据</span>
+ </div>
</div>
</mt-tab-container-item>
</mt-tab-container>
@@ -504,11 +510,12 @@
.content-videos {
display: flex;
- flex-wrap: wrap;
+ flex-wrap: nowrap;
flex-direction: column;
justify-content: flex-start;
align-items: center;
+ width: 100%;
height: 65vh;
overflow: scroll;
padding-top: 4vh;
--
Gitblit v1.9.3