Browse Source

cart change

voice
张家华 4 years ago
parent
commit
bbbf2ff245
  1. 5
      src/subpackage/retail/pages/index/index.vue

5
src/subpackage/retail/pages/index/index.vue

@ -352,6 +352,9 @@ export default {
else { else {
this.addToCartList(); // this.addToCartList(); //
this.cartListStatusChange(); // this.cartListStatusChange(); //
this.cartTotalPrice = this.totalPrice;
this.cartTotalCount = this.totalCount;
this.isShowCartList = true; this.isShowCartList = true;
this.calcCartTotalPriceAndCount(); // this.calcCartTotalPriceAndCount(); //
} }
@ -393,8 +396,6 @@ export default {
this.totalPrice = price.toFixed(2); this.totalPrice = price.toFixed(2);
this.totalCount = count; this.totalCount = count;
this.cartTotalPrice = this.totalPrice;
this.cartTotalCount = this.totalCount;
}, },
// //

Loading…
Cancel
Save