Authored by 周少峰

Merge branch 'release/4.9.1.0'

... ... @@ -11595,7 +11595,7 @@ if (location.href.match(/is_promotion=(.*)[&]*/)) {
});
define("js/home/currency", ["jquery"], function(require, exports, module){
/**
* 我的YOHO
* 我的有货
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2016/3/22
*/
... ... @@ -15641,7 +15641,7 @@ var Order = {
activity: 0, //活动
carriage: 0, //邮费
juan: 0, //优惠卷
yohocoin: 0 //YOHO
yohocoin: 0 //有货
},
/*view 交互*/
UI: {
... ... @@ -15706,7 +15706,7 @@ var Order = {
}
});
// 使用优惠券、使用yoho币点击展开
// 使用优惠券、使用有货币点击展开
e.$pan.find('dt').click(function() {
var pan = $(this).parent('dl.pan');
... ... @@ -15851,8 +15851,8 @@ var Order = {
dArr[i].promotion = (tipsStr ? tipsStr : '优惠券') + '<span class="juan-modify">[修改]</span>:';
}
if (dArr[i].promotion === 'YOHO币:') {
dArr[i].promotion = 'YOHO币<span class="bi-modify">[修改]</span>:';
if (dArr[i].promotion === '有货币:') {
dArr[i].promotion = '有货币<span class="bi-modify">[修改]</span>:';
}
if (dArr[i].isExpress) {
... ... @@ -16123,7 +16123,7 @@ var Order = {
} else if (d.yohoCoin * 1 > $('.play-pan em').text() * 1) {
$('.errbitip').html('您的YOHO币不足');
$('.errbitip').html('您的有货币不足');
$('#biprice').removeClass('is-select');
} else {
... ... @@ -16157,7 +16157,7 @@ var Order = {
});
});
// 修改yoho
// 修改有货
$(document).on('click', '.bi-modify', function() {
... ... @@ -16174,7 +16174,7 @@ var Order = {
if (!/^\d+$/.test(val + '')) {
e.$errorTip.html('请输入一个正整数');
} else if (val * 1 > $(this).data('bi') * 1) {
e.$errorTip.html('您的YOHO币不足');
e.$errorTip.html('您的有货币不足');
} else {
e.$errorTip.html('抵扣' + (val / 100).toFixed(2) + '元');
}
... ... @@ -17629,7 +17629,7 @@ var TicketCat = {
el.$ticketMobile.text(window.cookie('ticketMobileInput'));
}
// 使用优惠券、使用yoho币点击展开
// 使用优惠券、使用有货币点击展开
el.$pan.find('dt').click(function() {
var pan = $(this).parent('dl.pan');
... ... @@ -17654,7 +17654,7 @@ var TicketCat = {
$('.errbitip').html('请输入一个正整数');
$('#biprice').removeClass('is-select');
} else if (selectData.yohoCoin * 1 > $('.play-pan em').text() * 1) {
$('.errbitip').html('您的YOHO币不足');
$('.errbitip').html('您的有货币不足');
$('#biprice').removeClass('is-select');
} else {
el.$loading.show();
... ... @@ -17676,7 +17676,7 @@ var TicketCat = {
}
});
// 修改yoho
// 修改有货
$(document).on('click', '.bi-modify', function() {
var $pan = $('.play-bi-pan');
... ... @@ -17690,7 +17690,7 @@ var TicketCat = {
if (!/^\d+$/.test(val + '')) {
el.$errorTip.html('请输入一个正整数');
} else if (val * 1 > $(this).data('bi') * 1) {
el.$errorTip.html('您的YOHO币不足');
el.$errorTip.html('您的有货币不足');
} else {
el.$errorTip.html('抵扣' + (val / 100).toFixed(2) + '元');
}
... ... @@ -17778,8 +17778,8 @@ var TicketCat = {
for (i = 0; i < dArr.length; i++) {
if (dArr[i].promotion === 'YOHO币:') {
dArr[i].promotion = 'YOHO币<span class="bi-modify">[修改]</span>:';
if (dArr[i].promotion === '有货币:') {
dArr[i].promotion = '有货币<span class="bi-modify">[修改]</span>:';
}
if (dArr[i].isExpress) {
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.

2.8 KB | W: | H:

2.42 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
No preview for this file type

2.8 KB | W: | H:

2.42 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin