diff --git a/front/public/static/js/rem.js b/front/public/static/js/rem.js index 7be96650..8f834260 100644 --- a/front/public/static/js/rem.js +++ b/front/public/static/js/rem.js @@ -2,7 +2,7 @@ * @Author: hisense.wuhongjian * @Date: 2021-06-15 18:50:17 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-06-10 15:45:52 + * @LastEditTime: 2022-07-06 10:54:11 * @Description: 告诉大家这是什么 */ ;(function (doc, win) { @@ -19,6 +19,7 @@ } */ clientWidth > 1920 ? (clientWidth = 1920) : clientWidth docEl.style.fontSize = clientWidth / 19.2 + 'px' + docEl.style.overflowY = 'auto' } if (!doc.addEventListener) return recalc() diff --git a/front/src/App.vue b/front/src/App.vue index ee08e473..aeb2000e 100644 --- a/front/src/App.vue +++ b/front/src/App.vue @@ -28,7 +28,7 @@ @import '~@/vab/styles/vab.less'; #vue-admin-beautiful{ max-width: 1920px; - max-height: 1080px; + // max-height: 1080px; margin: auto; height: 100%; position: relative; diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index edc0a605..2d232f3f 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -20,6 +20,7 @@ {{ item.name }} + --> + { mynoticeFlag.value = true - document.documentElement.style.overflowY = 'hidden' + // document.documentElement.style.overflowY = 'hidden' }) mynoticeDom.addEventListener('mouseout', () => { mynoticeFlag.value = false @@ -274,7 +277,7 @@ if (mynotice) { mynotice.addEventListener('mouseover', () => { mynoticeFlag.value = true - document.documentElement.style.overflowY = 'hidden' + // document.documentElement.style.overflowY = 'hidden' }) mynotice.addEventListener('mouseout', () => { mynoticeFlag.value = false