From f2aad2d248b2b8944d43996d8e3a90651f0ee3c5 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Mon, 22 Nov 2021 16:00:24 +0800 Subject: [PATCH] init --- src/views/Statistics/index.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/views/Statistics/index.vue b/src/views/Statistics/index.vue index b4744ee..32a81ed 100644 --- a/src/views/Statistics/index.vue +++ b/src/views/Statistics/index.vue @@ -189,8 +189,6 @@ export default { methods: { backTop(){ - // console.log(this.$refs.boxcenter.offsetHeight) - // console.log($('#avue-view').scrollTop()) $('#avue-view').scrollTop(0) }, movePlace(index){ @@ -199,11 +197,7 @@ export default { }else { var as55=this.objlist[index-1].id; var shu='#ids'+as55; - // console.log(shu); - // // $('body,html').animate({scrollTop: $(shu).offset().top-80}, 500); - // console.log($(shu).offset().top); - // console.log($(shu)); - $('#avue-view').scrollTop(($(shu).offset().top)-80) + $('#avue-view').scrollTop(($(shu).offset().top)-200) } },