1
This commit is contained in:
parent
c231ed0832
commit
24b7fadee1
@ -9,7 +9,7 @@
|
||||
<div v-if="item.desc" class="side-desc" v-html="item.desc"></div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="top-btn">
|
||||
<div class="top-btn" @click="goTop">
|
||||
<div class="side-label">
|
||||
<img src="~/assets//image/icon/top.png" alt="返回顶部" />
|
||||
<h4>{{ $t('common.TOP') }}</h4>
|
||||
@ -47,6 +47,11 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
goTop() {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -32,6 +32,7 @@ export default {
|
||||
],
|
||||
script: [
|
||||
// { type:"text/javascript" , src: 'https://api.map.baidu.com/api?v=1.0&type=webgl&ak=otBoKESzaUj1nGjWiehnCP3AUyRKgikx'}
|
||||
// {type:"text/javascript" , src: 'http://101.245.103.204/embed.min.js',id:"BC985VI4DnedSaIQ",defer:true}
|
||||
]
|
||||
},
|
||||
env: {
|
||||
|
Loading…
Reference in New Issue
Block a user