更改图片以及修改底部

This commit is contained in:
952108534@qq.com 2022-01-13 18:27:31 +08:00
parent 7661e6e6da
commit 151ad0235e

View File

@ -4,7 +4,7 @@
<Myheader></Myheader>
<unlogin></unlogin>
<tabs></tabs>
<div class="online" ></div>
<div class="online" id="fixed-catbar-seperator"></div>
<div class="rc-top"></div>
<div class="rc-usermain ts-product-detail rc-max-width--xl rc-layout-container rc-two-column rc-border-bottom rc-border-colour--brand4">
<!--
@ -148,7 +148,7 @@
</ul>
<div class="tuntop" @click="toTop" v-show="gotop">
<img src="../../assets/image/turntop.png" alt="">
回到顶部
<span>回到顶部</span>
</div>
</div>
<Myfooter v-on:litentop='showmesg'></Myfooter>
@ -356,8 +356,9 @@ this.usermessage= JSON.parse(localStorage.getItem("userInfo"));
...mapMutations(["changemessage"]),
handleScroll(e)
{
let fixedCatbarSeperator = document.getElementById("fixed-catbar-seperator");
let fixedCatbarSeperator = document.querySelector("#fixed-catbar-seperator");
let scrolltop = document.documentElement.scrollTop || document.body.scrollTop;
if(fixedCatbarSeperator!=='null' ){
if((scrolltop-fixedCatbarSeperator.offsetTop))
{
this.gotop = true
@ -366,6 +367,8 @@ this.usermessage= JSON.parse(localStorage.getItem("userInfo"));
{
this.gotop = false;
}
}
},
lianxi(item,index){
console.log(item,index);