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/memory/detail.vue | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/views/memory/detail.vue b/src/views/memory/detail.vue
index f87ce00..ffc0086 100644
--- a/src/views/memory/detail.vue
+++ b/src/views/memory/detail.vue
@@ -6,7 +6,7 @@
<div class="title-introduce">{{ titleIntroduce }}</div>
</div>
<div class="title-right">
- <div class="online-preview" @click="OnlinePreview(basisInfo.file)">在线浏览</div>
+<!-- <div class="online-preview" @click="OnlinePreview(basisInfo.file)">在线浏览</div>-->
</div>
</div>
<div class="content">
@@ -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>
@@ -341,7 +347,7 @@
align-items: center;
width: 100%;
- height: 84vh;
+ min-height: 84vh;
background: #F8F8F8;
}
@@ -504,13 +510,14 @@
.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;
+ overflow-y: auto;
padding-top: 4vh;
background: #FFFFFF;
border-radius: 0 0 30px 30px;
--
Gitblit v1.9.3