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 {