Authored by Lynnic

收藏产品弹出提示

... ... @@ -37,6 +37,12 @@ likeHammer.on('tap', function(e) {
success: function(data) {
if (data.code === 200) {
$this.toggleClass('liked');
if ('cancel' === opt) {
tip.show('取消收藏成功');
} else if ('ok' === opt) {
tip.show('收藏成功');
}
} else if (data.code === 400) {
location.href = data.data;//未登录跳转登录页
} else {
... ...
... ... @@ -45,9 +45,6 @@ $basicBtnC:#eb0313;
font-size: pxToRem(24px);
background-color: $tableCellC;
float: left;
&:last-child {
border-bottom: none;
}
&:nth-child(even) {
border-right: none;
}
... ...
... ... @@ -66,12 +66,6 @@
}
}
}
// .material-type {
// width: pxToRem(581px);
// height: pxToRem(99px);
// border-top: 1px solid $borderC;
// padding: pxToRem(17px) 0;
// }
}
.wash-tips{
padding-top:pxToRem(18px);
... ...
... ... @@ -113,8 +113,8 @@
</div>
{{/ enterStore}}
<div id="productDesc"></div>
<!-- {{> product/product-description}} -->
<!-- <div id="productDesc"></div> -->
{{> product/product-description}}
{{> product/recommend-for-you}}
{{#cartInfo}}
... ... @@ -139,5 +139,4 @@
{{/if}}
</div>
{{> layout/footer}}
<div class="bottom-blank"></div>
\ No newline at end of file
{{> layout/footer}}
\ No newline at end of file
... ...