From a4d6da52050d126d75ea76649153931711f2a8d8 Mon Sep 17 00:00:00 2001 From: fwb Date: Thu, 5 Sep 2024 10:00:02 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=85=B3=E4=BA=8E=E6=88=91=E4=BB=AC'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/views/scientificResearch/index.vue | 19 ++++++++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.env.development b/.env.development index 88e1f30..0c9a25a 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '教学一体化平台' -# VITE_APP_BASE_API = 'http://39.106.16.162:8080' -VITE_APP_BASE_API = 'http://127.0.0.1:8080' \ No newline at end of file +VITE_APP_BASE_API = 'http://39.106.16.162:8080' +# VITE_APP_BASE_API = 'http://127.0.0.1:8080' \ No newline at end of file diff --git a/src/views/scientificResearch/index.vue b/src/views/scientificResearch/index.vue index f6ef0db..b6ecef6 100644 --- a/src/views/scientificResearch/index.vue +++ b/src/views/scientificResearch/index.vue @@ -8,11 +8,11 @@
- +
- + + + @@ -44,19 +44,24 @@ onMounted(()=>{ margin-bottom: 30px; } .card-header{ - font-size: 20px; + font-size: 25px; color: #6da0ff; text-align: center; font-weight: bold; } .news_main{ padding: 20px; - height: 65vh; + height: 80vh; font-size: 20px; line-height: 1.5; overflow-y: auto; } -.news_main::-webkit-scrollbar { +.textSty{ + width: 100%; + height:65vh; + border: none; +} +.textSty::-webkit-scrollbar{ width: 0px; }