...
|
...
|
@@ -130,7 +130,7 @@ |
|
|
</div>
|
|
|
<else/>
|
|
|
<div class="de_footerLeft">
|
|
|
<div class="de_footerLeftLi cancel">
|
|
|
<div class="de_footerLeftLi collection">
|
|
|
<div class="de_footerLeftImg" onclick="cancel_goods_collection({$data.id})">
|
|
|
<img src="__TMPL__/public/assets/images/xin (1).png" alt="">
|
|
|
</div>
|
...
|
...
|
@@ -279,7 +279,7 @@ |
|
|
|
|
|
$.post("{:url('Goodsdetails/cancel_goods_collection')}",{goods_id:id},function(data){
|
|
|
if(data){
|
|
|
$('.cancel').html("<div class='de_footerLeftImg' onclick='goods_collection("+id+")'><img src='__TMPL__/public/assets/images/26.png' id='imgsss'></div><p id='shoucang'>收藏</p>");
|
|
|
$('.collection').html("<div class='de_footerLeftImg' onclick='goods_collection("+id+")'><img src='__TMPL__/public/assets/images/26.png' id='imgsss'></div><p id='shoucang'>收藏</p>");
|
|
|
}else{
|
|
|
alert('取消收藏失败');
|
|
|
}
|
...
|
...
|
|