...
|
...
|
@@ -168,7 +168,7 @@ |
|
|
|
|
|
<div class="control-box">
|
|
|
<button class="button control-button" style="flex: 1">
|
|
|
<a style="position:relative">
|
|
|
<a href="javascript:void(0);" @click="yoho.goShopingCart()">
|
|
|
<i class="icon icon-bag"></i>
|
|
|
<span v-if="cartCount > 0" class="badge badge-tr">{{cartCount}}</span>
|
|
|
</a>
|
...
|
...
|
@@ -395,6 +395,7 @@ |
|
|
module.exports = {
|
|
|
data() {
|
|
|
return {
|
|
|
yoho: yoho,
|
|
|
intro: {},
|
|
|
entity: {
|
|
|
brand: {
|
...
|
...
|
@@ -407,7 +408,6 @@ |
|
|
},
|
|
|
showFeatureSelector: false,
|
|
|
cartCount: 0,
|
|
|
yoho: yoho,
|
|
|
|
|
|
/**
|
|
|
* 加入购物车回调
|
...
|
...
|
@@ -467,6 +467,9 @@ |
|
|
if (result.code === 200) {
|
|
|
tip('取消收藏成功');
|
|
|
this.entity.isCollect = 'N';
|
|
|
} else if (result.code === 403) {
|
|
|
// 未登陆
|
|
|
yoho.goLogin();
|
|
|
}
|
|
|
});
|
|
|
} else {
|
...
|
...
|
|