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) } }, 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' //王笑