You've already forked guangan
价格
This commit is contained in:
@ -64,21 +64,21 @@
|
||||
let tpls = '订单号 <b class="font-code">{{d.main.order_no}}</b> ';
|
||||
if (d.main.amount_real > 0) {
|
||||
if (d.main.status > 3) {
|
||||
tpls += '<br>已支付 <b class="font-code">{{str2num(d.main.amount_real)}}</b> 元';
|
||||
tpls += '<br>已支付 <b class="font-code">{{str2num(d.main.amount_real)}}</b> 积分';
|
||||
} else {
|
||||
tpls += '<br>需支付 <b class="font-code">{{str2num(d.main.amount_real)}}</b> 元';
|
||||
tpls += '<br>需支付 <b class="font-code">{{str2num(d.main.amount_real)}}</b> 积分';
|
||||
}
|
||||
} else {
|
||||
tpls += '<br>无需支付';
|
||||
}
|
||||
if (d.main.amount_express > 0) {
|
||||
tpls += ' ( 随减 <b class="font-code">{{str2num(d.main.amount_reduct)}}</b> 元,含邮费 <b class="font-code">{{str2num(d.main.amount_express)}}</b> 元)';
|
||||
tpls += ' ( 随减 <b class="font-code">{{str2num(d.main.amount_reduct)}}</b> 积分,含邮费 <b class="font-code">{{str2num(d.main.amount_express)}}</b> 积分)';
|
||||
} else {
|
||||
tpls += ' ( 随减 <b class="font-code">{{str2num(d.main.amount_reduct)}}</b> 元,包邮免费 )';
|
||||
tpls += ' ( 随减 <b class="font-code">{{str2num(d.main.amount_reduct)}}</b> 积分,包邮免费 )';
|
||||
}
|
||||
tpls += '<br>'
|
||||
if (d.main.amount_balance > 0) {
|
||||
tpls += "余额 " + d.main.amount_balance + " 元,"
|
||||
tpls += "余额 " + d.main.amount_balance + " 积分,"
|
||||
} else {
|
||||
tpls += '未使用余额,'
|
||||
}
|
||||
@ -88,7 +88,7 @@
|
||||
tpls += '未使用积分,'
|
||||
}
|
||||
if (d.main.coupon_code) {
|
||||
tpls += "优惠券 " + d.main.coupon_amount + "元,"
|
||||
tpls += "优惠券 " + d.main.coupon_amount + "积分,"
|
||||
} else {
|
||||
tpls += '未使用优惠券。'
|
||||
}
|
||||
@ -108,7 +108,7 @@
|
||||
' <div>' +
|
||||
' <span>{{d.gname}}</span>' +
|
||||
' <span class="ta-pl-5 color-desc">{{str2name(d.gspec)}}</span><br>' +
|
||||
' <span>{{d.stock_sales}}件 x {{str2num(d.price_selling)}}元/件,计 {{str2num(d.total_price_selling)}}元</span> ' +
|
||||
' <span>{{d.stock_sales}}件 x {{str2num(d.price_selling)}}积分/件,计 {{str2num(d.total_price_selling)}}积分</span> ' +
|
||||
' </div>' +
|
||||
' </div>' +
|
||||
'</div>'
|
||||
|
Reference in New Issue
Block a user