Authored by 郭成尧

Merge branch 'feature/bundleToCart' into release/5.6

... ... @@ -89,7 +89,7 @@
<section class="block">
<ul class="sale-invoice">
{{#if isOrdinaryCart}}
{{#if coupon.count}}
<li class="coupon">
<a href="{{#if isLimit}}javascript:void(0);{{else}}/cart/index/new/selectCoupon{{/if}}">
<span class="title">优惠券</span>
... ...
... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-04-06 16:51:52
* @Last Modified by: Targaryen
* @Last Modified time: 2017-04-12 14:01:07
* @Last Modified time: 2017-04-13 15:45:30
*/
const $ = require('yoho-jquery');
... ... @@ -114,6 +114,7 @@ let bundle = {
* @param {*} e
*/
bundleCheckHandle(e) {
let self = this;
let selectCheck = $(e.delegateTarget).find('.select');
let goodItem = $(e.delegateTarget).find('.good-item');
let skuData = [];
... ... @@ -142,6 +143,7 @@ let bundle = {
success: function(result) {
if (result.code === 200) {
selectCheck.toggleClass('checked');
self.handle.refreshPage(result.data);
}
loading.hideLoading();
}
... ...