From ab2644fd694f003b10f82b9f64ca53d44898e649 Mon Sep 17 00:00:00 2001 From: wangqiujuan0808 <578331299@qq.com> Date: Wed, 27 Mar 2024 09:29:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 2 +- src/{style.css => style.scss} | 18 ++++++++++++++++++ src/views/Home.vue | 8 ++++---- src/views/Room.vue | 8 +++++--- 4 files changed, 28 insertions(+), 8 deletions(-) rename src/{style.css => style.scss} (83%) diff --git a/src/main.js b/src/main.js index 77a3dfb..2fd0f54 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,5 @@ import { createApp } from 'vue' -import './style.css' +import './style.scss' import App from './App.vue' import router from './router' import ElementPlus from 'element-plus' diff --git a/src/style.css b/src/style.scss similarity index 83% rename from src/style.css rename to src/style.scss index 577287a..e8e5317 100644 --- a/src/style.css +++ b/src/style.scss @@ -28,6 +28,7 @@ body { place-items: center; min-width: 320px; min-height: 100vh; + font-size:18px; } h1 { @@ -81,3 +82,20 @@ button:focus-visible { background-color: #f9f9f9; } } +.el-header { +background: #ddd; + position: relative; + + .right-menu { + position: absolute; + right:20px; + height:60px; + line-height: 60px; + } + .middle-menu { + height:60px; + position: absolute; + left:50%; + line-height: 60px; + } +} diff --git a/src/views/Home.vue b/src/views/Home.vue index 63bde8c..28686b1 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,10 +1,10 @@