mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 19:07:25 +08:00
新版楼层装修样式修改以及链接修改
This commit is contained in:
@@ -234,9 +234,4 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.width_1200_auto {
|
||||
width: 1184px;
|
||||
margin: 0 auto;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -110,19 +110,23 @@ export default {
|
||||
appendList:[
|
||||
{
|
||||
icon:"support",
|
||||
label:"帮助中心"
|
||||
label:"帮助中心",
|
||||
path:"/article"
|
||||
},
|
||||
{
|
||||
icon:"feedback",
|
||||
label:"问题反馈"
|
||||
label:"我的评论",
|
||||
path:"/home/CommentList"
|
||||
},
|
||||
{
|
||||
icon:"notice",
|
||||
label:"平台公告"
|
||||
label:"收货地址",
|
||||
path:"/home/MyAddress"
|
||||
},
|
||||
{
|
||||
icon:"notification",
|
||||
label:"我的消息"
|
||||
label:"我的消息",
|
||||
path:"/home/MsgList"
|
||||
},
|
||||
],
|
||||
recentList:[
|
||||
@@ -148,7 +152,6 @@ export default {
|
||||
methods: {
|
||||
// 快捷跳转中心
|
||||
entryControl(val){
|
||||
console.log(val)
|
||||
this.$router.push(val.path)
|
||||
},
|
||||
},
|
||||
@@ -322,7 +325,7 @@ export default {
|
||||
float: left;
|
||||
padding: 0px;
|
||||
color: #fff;
|
||||
background-color: #6e6568;
|
||||
// background-color: #6e6568;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -65,12 +65,12 @@ export default {
|
||||
handleScrollx(){
|
||||
// console.log('滚动高度',window.pageYOffset) // 获取滚动条的高度
|
||||
// console.log(this.$refs.obtain.getBoundingClientRect().top) //获取到距离顶部的距离
|
||||
this.scrollHieght = Number(window.pageYOffset);//获取到距离顶部的距离
|
||||
this.scrollTops = Number(this.$refs.obtain.getBoundingClientRect().top); // 获取到距离顶部的距离
|
||||
this.topSearchShow = true; // 展示图钉
|
||||
if(this.scrollTops < -660){ // 超过隐藏
|
||||
this.topSearchShow = false;
|
||||
}
|
||||
// this.scrollHieght = Number(window.pageYOffset);//获取到距离顶部的距离
|
||||
// this.scrollTops = Number(this.$refs.obtain.getBoundingClientRect().top); // 获取到距离顶部的距离
|
||||
// this.topSearchShow = true; // 展示图钉
|
||||
// if(this.scrollTops < -660){ // 超过隐藏
|
||||
// this.topSearchShow = false;
|
||||
// }
|
||||
},
|
||||
toguid(path,id){
|
||||
var path =path;
|
||||
@@ -81,7 +81,7 @@ export default {
|
||||
change(status){ //获取是否获取到图钉
|
||||
this.open = status
|
||||
},
|
||||
gotoDemo(){ // 跳转到demo的位置
|
||||
gotoDemo(){ // 跳转到demo的位置
|
||||
if(this.open){ // 获取到图钉之后在跳转当前位置
|
||||
document.querySelector("#demo").scrollIntoView(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user