Authored by lore-w

点击删除收藏触发a链接跳转问题

... ... @@ -163,7 +163,6 @@ favContentHammer.on('tap', function(e) {
if (!$(e.target).hasClass('del-fav')) {
return;
}
diaLog.showDialog({
dialogText: '您确定要取消收藏吗?',
hasFooter: {
... ...
... ... @@ -88,6 +88,10 @@
height: auto;
overflow: hidden;
margin-top: pxToRem(20px);
a {
display: block;
}
}
.fav-img-box {
... ... @@ -171,6 +175,16 @@
}
&.del-fav {
width: 2rem;
height: 1.5rem;
position: absolute;
top: 50%;
margin-top: -0.75rem;
right: 0;
&:after {
content: '';
display: block;
$width: pxToRem(image_width(sprite-file($fav, fav-del)));
$height: pxToRem(image_height(sprite-file($fav, fav-del)));
... ... @@ -187,6 +201,7 @@
}
}
}
}
//品牌收藏
.fav-brand-swiper {
border-top: 1px solid #e0e0e0;
... ...