Authored by 郝肖肖

有货币不可以使用,提示

... ... @@ -366,11 +366,14 @@
</dl>
{{/if}}
<dl class="play-bi-pan pan">
<dt class="{{#unless yohoCoinCompute.yohoCoinClick}}not-btn{{/unless}}">使用有货币支付</dt>
<dt class="{{#unless yohoCoinCompute.yohoCoinClick}}not-btn{{/unless}}">
<span class="not-btn-tip red {{#if yohoCoinCompute.yohoCoinClick}}hide{{/if}}">抱歉,您的订单实付款不满足有货币使用条件</span>使用有货币支付
</dt>
<dd>
<div class="errbitip red"></div>
<ul class="play-pan" id="biprice" data-yoho-coin-num={{yohoCoinCompute.yohoCoinNum}} data-yoho-coin-click={{yohoCoinCompute.yohoCoinClick}}>
<li>
<div class="float-left">
<div class="float-left num-list-width">
有货币满<span class="sign-amount num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个即可使用,每次使用有货币为<span class="sign-amount num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>的整数倍
</div>
<div class="float-right yoho-coin-help">?
... ... @@ -379,10 +382,10 @@
<div class="yoho-coin-help-dialog-title">有货币使用条件:</div>
<div class="yoho-coin-help-dialog-content">
<ul>
<li>(1)订单金额大于20元(含)</li>
<li>(2)有货币数量大于<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个含)</li>
<li>(3)有货币支付不得超过每笔订单应付金额{{yohoCoinCompute.yoho_coin_pay_rule.max_pay_rate_desc}}</li>
<li>备注:使用有货币数量为<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>的整数倍,100有货币抵1元。</li>
<li>1.订单金额大于20元(含20元)</li>
<li>2.有货币数量大于<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个(含<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个)</li>
<li>3.每笔支付不得超过应付金额{{yohoCoinCompute.yoho_coin_pay_rule.max_pay_rate_desc}}</li>
<li>备注:使用有货币数量为<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}的整数倍,100有货币抵1元。</li>
</ul>
</div>
</div>
... ... @@ -404,7 +407,6 @@
</div>
</li>
</ul>
<div class="errbitip red"></div>
</dd>
</dl>
... ...
... ... @@ -278,8 +278,11 @@ var Order = {
//有货币清零状态更新
$('dl.play-bi-pan').find('dt').removeClass('not-btn');
$('.not-btn-tip').addClass('hide');
if (!data.yohoCoinCompute.yohoCoinClick) {
//不可以使用状态
$('dl.play-bi-pan').find('dt').addClass('not-btn');
$('.not-btn-tip').removeClass('hide');
}
$('#biprice').data('.yoho-coin-click', data.yohoCoinCompute.yohoCoinClick);
$('#biprice').find('.num-limit-coin').html(data.yohoCoinCompute.yoho_coin_pay_rule.num_limit);
... ...
... ... @@ -127,6 +127,7 @@
.red {
color: #e8044f!important;
text-align: center;
}
.orange {
... ... @@ -157,6 +158,11 @@
cursor: auto;
}
.not-btn-tip {
position: absolute;
right: 150px;
}
.pan dd {
display: none;
border: 1px #ccc solid;
... ... @@ -247,8 +253,7 @@
.play-right {
float: right;
width: 50%;
width: 405px;
width: 410px;
.pan {
text-align: right;
... ... @@ -354,12 +359,16 @@
width: 100%;
height: 166px;
.num-list-width {
width: 360px;
}
.yoho-coin-help-link {
color: #027cf9;
}
li {
margin-top: 18px;
margin-top: 15px;
overflow: hidden;
&:last-child {
... ... @@ -387,8 +396,8 @@
background-color: #fff;
border: 1px solid #000;
margin-top: 10px;
width: 340px;
height: 140px;
width: 280px;
height: 150px;
padding: 15px;
text-align: left;
cursor: auto;
... ...