From 59e92693fd3e0da90c9cb457c98b0b4fd8e4e6ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Thu, 29 Apr 2021 17:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=95=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/main.css | 2 +- src/components/page/PersonalCenter.vue | 33 +++++++++++++++++--------- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 16f84fb..eaa91cf 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -28,7 +28,7 @@ li { .content-box { - min-height: calc(100vh - 233px); + min-height: calc(100vh); padding-bottom: 30px; -webkit-transition: left .3s ease-in-out; transition: left .3s ease-in-out; diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index 3c8cbbf..084da68 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -2,7 +2,8 @@
- + +
-
+
职业 @@ -258,7 +259,7 @@
- +
@@ -711,10 +712,10 @@ export default { }, foldArch() { this.showArch = !this.showArch - this.$nextTick(() => { - document.body.scrollTop = document.querySelector('.content-box').scrollHeight - document.documentElement.scrollTop = document.querySelector('.content-box').scrollHeight - }) + // this.$nextTick(() => { + // document.body.scrollTop = document.querySelector('.content-box').scrollHeight + // document.documentElement.scrollTop = document.querySelector('.content-box').scrollHeight + // }) }, // 获取学科类别 getSubject(){ @@ -1022,6 +1023,16 @@ export default {