| @@ -148,6 +148,10 @@ | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div @click="backTop()" class="backTopbox"> | |||||
| <img class="backTop" src="http://121.42.63.138:9091/autoSR/static/images/system/images/backTop.png" alt=""> | |||||
| </div> | |||||
| </div> | </div> | ||||
| </template> | </template> | ||||
| @@ -173,10 +177,26 @@ export default { | |||||
| }; | }; | ||||
| }, | }, | ||||
| mounted() { | mounted() { | ||||
| // this.myChartinit(); | |||||
| this.zkhousePage(); | this.zkhousePage(); | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| backTop(){ | |||||
| document.documentElement.offsetHeight=0 | |||||
| console.log('111111111111111',document.documentElement.offsetHeight) | |||||
| }, | |||||
| movePlace(index){ | |||||
| if(index==0){ | |||||
| return | |||||
| }else { | |||||
| var as55=this.objlist[index-1].id; | |||||
| var shu='#'+as55; | |||||
| console.log(shu); | |||||
| // $('body,html').animate({scrollTop: $(shu).offset().top-80}, 500); | |||||
| } | |||||
| }, | |||||
| houseChange() { | houseChange() { | ||||
| this.getorgCode(); | this.getorgCode(); | ||||
| }, | }, | ||||
| @@ -345,6 +365,25 @@ export default { | |||||
| </script> | </script> | ||||
| <style scoped="scoped" lang="scss" > | <style scoped="scoped" lang="scss" > | ||||
| .backTopbox{ | |||||
| width: 40px; | |||||
| height: 40px; | |||||
| border-radius: 50%; | |||||
| background: #D0EDFF; | |||||
| position:fixed; | |||||
| bottom: 40px; | |||||
| right: 40px; | |||||
| border: none; | |||||
| display: flex; | |||||
| align-items: center; | |||||
| justify-content: center; | |||||
| z-index: 9999; | |||||
| } | |||||
| .backTop{ | |||||
| display: block; | |||||
| width: 16px; | |||||
| height: 20px; | |||||
| } | |||||
| .box-center { | .box-center { | ||||
| width: 100%; | width: 100%; | ||||
| padding: 15px; | padding: 15px; | ||||
| @@ -3,9 +3,9 @@ | |||||
| * https://cli.vuejs.org/zh/config/ | * https://cli.vuejs.org/zh/config/ | ||||
| */ | */ | ||||
| // const url = 'http://pigx-gateway' | // 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.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://192.168.31.100:9999' //王笑 | ||||
| // const url = 'http://nitu5e.natappfree.cc' //王笑 | // const url = 'http://nitu5e.natappfree.cc' //王笑 | ||||