From c4d5887516136eab370afc572693483e254a3dc0 Mon Sep 17 00:00:00 2001
From: 康凯 <kangk26@foxmail.com>
Date: Tue, 14 Dec 2021 16:08:42 +0800
Subject: [PATCH] 底部导航,高亮状态文字没有对齐的,并且高亮线和文字等宽

---
 src/views/scenery/list.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/scenery/list.vue b/src/views/scenery/list.vue
index 275e07b..239292b 100644
--- a/src/views/scenery/list.vue
+++ b/src/views/scenery/list.vue
@@ -116,7 +116,7 @@
 
 .line {
   width: 100%;
-  border: 1px solid #EEEEEE;
+  border-top: 1px solid #EEEEEE;
   margin-top: 3vh;
   margin-bottom: 3vh;
   opacity: 1;
@@ -124,12 +124,16 @@
 
 .data-list {
   width: 90%;
-  margin-left: 5%;
-  overflow: scroll;
+  height: 65vh;
+  display: flex;
+  flex-direction:column;
+  justify-content: flex-start;
+  align-items: center;
 }
 
 .data-list .line {
   width: 100%;
+  margin-top: 2vh;
   margin-bottom: 2vh;
 }
 
@@ -140,7 +144,6 @@
   align-items: flex-start;
 
   width: 100%;
-  margin-bottom: 2vh;
 }
 
 .data-list /deep/ .image-item .item-left {

--
Gitblit v1.9.3