From c6d1034e484238c96f4837a5f3adea63dcc2d481 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Mon, 22 Nov 2021 15:55:49 +0800 Subject: [PATCH 1/2] init --- vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index b514bbc..db6248b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,9 +3,9 @@ * https://cli.vuejs.org/zh/config/ */ // const url = 'http://pigx-gateway' -// const url = 'http://39.97.167.65:9999' //测试 +const url = 'http://39.97.167.65:9999' //测试 // const url = 'http://192.168.31.169:9999' //长龙 -const url = 'http://192.168.31.134:9999' //嘉豪 +// const url = 'http://192.168.31.134:9999' //嘉豪 // const url = 'http://192.168.31.100:9999' //王笑 // const url = 'http://nitu5e.natappfree.cc' //王笑 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 2/2] 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) } },