...
|
...
|
@@ -97,9 +97,11 @@ function compute(coin) { |
|
|
var res;
|
|
|
|
|
|
if (data.code === 200) {
|
|
|
|
|
|
res = data.data;
|
|
|
|
|
|
// update yoho coin max use num
|
|
|
$coin.data('max', res.canUseCoinNum);
|
|
|
|
|
|
// update yoho coin using
|
|
|
$('#using-coin-cont').html(coinTpl(res));
|
|
|
|
...
|
...
|
@@ -212,7 +214,9 @@ $('.balance-detail').on('click', '.modify-coin', function() { |
|
|
});
|
|
|
|
|
|
// delivery way change trigger compute
|
|
|
$('input[name="delivery-way-radio"]').change(compute);
|
|
|
$('input[name="delivery-way-radio"]').change(function() {
|
|
|
compute();
|
|
|
});
|
|
|
|
|
|
// 去支付
|
|
|
$('#go-pay').click(function() {
|
...
|
...
|
|