Ver a proveniência

init

newStyle
wangxiaohua há 3 anos
ascendente
cometimento
102e0eb7a0
2 ficheiros alterados com 42 adições e 3 eliminações
  1. +40
    -1
      src/views/Statistics/index.vue
  2. +2
    -2
      vue.config.js

+ 40
- 1
src/views/Statistics/index.vue Ver ficheiro

@@ -148,6 +148,10 @@
</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>
</template>

@@ -173,10 +177,26 @@ export default {
};
},
mounted() {
// this.myChartinit();
this.zkhousePage();
},
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() {
this.getorgCode();
},
@@ -345,6 +365,25 @@ export default {
</script>

<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 {
width: 100%;
padding: 15px;


+ 2
- 2
vue.config.js Ver ficheiro

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



Carregando…
Cancelar
Guardar