|
|
@@ -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; |
|
|
|