From a354c373bcf9846abaac5eea46de536908f8bbd1 Mon Sep 17 00:00:00 2001
From: 康凯 <kangk26@foxmail.com>
Date: Mon, 23 May 2022 18:37:24 +0800
Subject: [PATCH] bug:页面内容过长,无法滚动查看更多
---
src/views/layout/listIndex.vue | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/views/layout/listIndex.vue b/src/views/layout/listIndex.vue
index f450b0c..8d47cad 100644
--- a/src/views/layout/listIndex.vue
+++ b/src/views/layout/listIndex.vue
@@ -10,9 +10,9 @@
</transition>
</div>
<mt-tabbar v-model="dataType" :fixed="true">
+ <mt-tab-item id="3">红色景区</mt-tab-item>
<mt-tab-item id="1">红色记忆</mt-tab-item>
<mt-tab-item id="2">红色精神</mt-tab-item>
- <mt-tab-item id="3">红色景区</mt-tab-item>
<mt-tab-item id="4">红色人物</mt-tab-item>
</mt-tabbar>
</div>
@@ -121,34 +121,42 @@
}
.mint-tabbar {
- height: 10vh;
+ height: 45px;
background: white;
z-index: 9;
}
.mint-tabbar /deep/ .mint-tab-item {
- padding: 20px 0;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
}
.mint-tabbar /deep/ .mint-tab-item-label {
+ width: 7.75rem;
+ height: 100%;
+ border-top: 1px solid white;
+
font-size: 1.75rem;
font-family: Source Han Sans CN;
font-weight: 400;
- line-height: 1.93rem;
+ line-height: 3.5rem;
color: #767676;
opacity: 1;
}
.mint-tabbar /deep/ .is-selected {
background-color: white;
- border-top: 0.5vh solid #BC0000;
}
.mint-tabbar /deep/ .is-selected .mint-tab-item-label {
+ border-top: 1px solid #BC0000;
+
font-size: 1.75rem;
font-family: Source Han Sans CN;
font-weight: bold;
- line-height: 1.93rem;
+ line-height: 3.5rem;
color: #BC0000;
opacity: 1;
}
--
Gitblit v1.9.3