Browse Source

Merge branch 'master' of http://git.2weisou.com/wangxiao/zkPCproject into master

newStyle
lancer 2 years ago
parent
commit
3a3fb13bdb
2 changed files with 3 additions and 9 deletions
  1. +1
    -7
      src/views/Statistics/index.vue
  2. +2
    -2
      vue.config.js

+ 1
- 7
src/views/Statistics/index.vue View File

@@ -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)
}
},



+ 2
- 2
vue.config.js View File

@@ -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' //王笑



Loading…
Cancel
Save