fix(关注/足迹): 优化交互逻辑

This commit is contained in:
2026-01-07 11:31:52 +08:00
parent 09c49365a3
commit aa2f13f3b2
10 changed files with 82 additions and 37 deletions

View File

@@ -2,6 +2,27 @@
margin-top: 100rpx;
}
.footprint-empty {
text-align: center;
padding: 140rpx $padding 80rpx $padding;
image {
width: 380rpx;
}
button {
min-width: 300rpx;
margin-top: 100rpx;
height: 70rpx;
line-height: 70rpx !important;
font-size: $font-size-base;
border-radius: 50rpx;
&.visit-the {
font-weight: bold;
}
}
}
.lineheight-clear {
}

View File

@@ -75,9 +75,6 @@ export default {
goodsImageError(index) {
this.collectionList[index].sku_image = this.$util.getDefaultImage().goods;
this.$forceUpdate();
},
toLogin() {
this.$refs.login.open();
},
}
}
};

View File

@@ -0,0 +1,8 @@
export default {
methods: {
// 跳转至登录页
toLogin() {
this.$refs.login.open();
}
}
}