From 003c06bc9cb9ca61dac024b5bde468f556af3e1f Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Wed, 2 Nov 2022 21:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/Index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 864afef3..fd1c8d46 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -489,9 +489,9 @@ export default { //console.log(this.course.pageIndex,'this.course.pageIndex'); //加此判断,是为了没有数据时的闪动问题 //if(this.course.pageIndex >1){ - if (scrollTop > 830) { + if (scrollTop > 1176) { document.querySelector("#fixd-box").style.cssText = - "position: fixed;top: -885px;width:"+outerWidth+"px"; + "position: fixed;top: -882px;width:"+outerWidth+"px"; } else { document.querySelector("#fixd-box").style.cssText = "position: static"; }