diff --git a/src/views/Home/KUNGalgameMainPage.vue b/src/views/Home/KUNGalgameMainPage.vue index f43f5560..d1635d45 100644 --- a/src/views/Home/KUNGalgameMainPage.vue +++ b/src/views/Home/KUNGalgameMainPage.vue @@ -18,7 +18,7 @@ import MainPageFooter from './footer/MainPageFooter.vue' height: 1500px; display: flex; flex-direction: column; - // background-image: url(../../assets/images/bg/bg1.png); + background-image: url(../../assets/images/bg/bg1.png); /* background-image: url(../../assets/images/bg/bg2.png); */ background-repeat: no-repeat; background-position: center; diff --git a/src/views/Home/content/MainPageContent.vue b/src/views/Home/content/MainPageContent.vue index 77934db0..7892331d 100644 --- a/src/views/Home/content/MainPageContent.vue +++ b/src/views/Home/content/MainPageContent.vue @@ -23,11 +23,6 @@ import MainPageArticle from './article/MainPageArticle.vue' width: 100%; height: 1px; flex-grow: 21; - /* 背景图片 */ - /* background-image: url(../img/bg.png); - background-repeat: no-repeat; - background-position: center; - background-size: cover; */ } .main-container { height: 100%; @@ -39,8 +34,6 @@ import MainPageArticle from './article/MainPageArticle.vue' width: 80%; /* 可视页面的最小宽度 */ min-width: 700px; - /* 盒子边线在内部,页面缩小到最小时右侧不留白 */ - box-sizing: border-box; height: 100%; margin: 0 auto; /* 可视内容区为弹性盒 */ @@ -53,6 +46,5 @@ import MainPageArticle from './article/MainPageArticle.vue' /* 设置背景边框和圆角 */ border-radius: 5px; padding: 5px; - overflow: hidden; } diff --git a/src/views/Home/content/aside/MainPageAside.vue b/src/views/Home/content/aside/MainPageAside.vue index 507de1c1..e21597a2 100644 --- a/src/views/Home/content/aside/MainPageAside.vue +++ b/src/views/Home/content/aside/MainPageAside.vue @@ -4,8 +4,7 @@ import { Icon } from '@iconify/vue' // 导入 Vue 函数 import { ref } from 'vue' import AsideActive from './components/AsideActive.vue' -// 导入 animate css -import 'animate.css' + import Aside from './components/Aside.vue' // 用户点击折叠左侧区域 @@ -36,26 +35,15 @@ const handleFold = () => { style="font-size: 17px" v-if="!isActive" /> - 折叠左侧区域 + 折叠左侧区域 + +