wallet
parent
a9a0403d72
commit
283d28f239
|
|
@ -47,7 +47,7 @@
|
|||
<form class="am-form form-validation-plugins-recharge-pay" action="{{:MyUrl('admin/order/pay')}}" method="POST" request-type="ajax-reload">
|
||||
<!-- 支付方式 -->
|
||||
<div class="business-item am-form-group">
|
||||
<h3>选择支付</h3>
|
||||
<label>选择支付</label>
|
||||
{{if !empty($buy_payment_list)}}
|
||||
<ul class="payment-list" data-type="payment">
|
||||
{{foreach $buy_payment_list as $payment}}
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
{{if empty($buy_payment_list)}}
|
||||
<div class="table-no"><i class="am-icon-warning"></i> 没有支付方式</div>
|
||||
{{/if}}
|
||||
<input type="number" name="payment_id" data-validation-message="请选择支付方式" value="" required />
|
||||
<input type="number" name="payment_id" min="1" data-validation-message="请选择支付方式" value="0" required />
|
||||
</div>
|
||||
|
||||
<div class="am-form-group">
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
.thin, .pay-list { overflow:hidden; }
|
||||
.thin .so { width:66%; }
|
||||
.thin_sub { font-weight:100; margin:10px 0px 0px 10px; cursor: pointer; }
|
||||
.so-list { width:100%; margin-top: 20px; }
|
||||
.so-list { width:100%; margin-top: 10px; }
|
||||
.so-list * { font-size:1.2rem !important; }
|
||||
.so-list input { height:28px; display:inline !important; }
|
||||
.time input, .so-list .chosen-container { background:#FFF !important; }
|
||||
|
|
@ -31,9 +31,21 @@
|
|||
.so-list select { width: calc(100% - 44px); display: -webkit-inline-box; }
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
.user-content-body .data-list {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/**
|
||||
* 账户信息
|
||||
*/
|
||||
.user-content-body .am-alert-secondary {
|
||||
background-color: #f6f6f6;
|
||||
border-color: #ececec;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.user-content-body .available .integral-value {
|
||||
color: #4CAF50;
|
||||
}
|
||||
|
|
@ -48,10 +60,10 @@
|
|||
font-weight: 700;
|
||||
}
|
||||
.user-content-body .integral-tips {
|
||||
color: #c27300;
|
||||
background: #e7e3d9;
|
||||
color: #d7b27d;
|
||||
background: #f8f5ee;
|
||||
padding: 3px 6px;
|
||||
border: 1px solid #e7d8c2;
|
||||
border: 1px solid #f4eadb;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
|
@ -87,6 +99,7 @@
|
|||
/**
|
||||
* 业务弹窗
|
||||
*/
|
||||
.user-content-body .business-item label { margin-bottom: 0px; }
|
||||
.user-content-body .business-item h3 { font-weight: 700; }
|
||||
.user-content-body .business-item ul { padding: 5px 1px; overflow: hidden; }
|
||||
.user-content-body .business-item ul li { border:1px solid transparent ;overflow: hidden; float: left; cursor: pointer; padding: 5px; border: 1px solid #eee; margin: 0 10px 10px 0; background: #fff; }
|
||||
|
|
|
|||
|
|
@ -6,13 +6,14 @@ $(function()
|
|||
// 混合列表选择
|
||||
$('.business-item ul li').on('click', function()
|
||||
{
|
||||
var value = '';
|
||||
if($(this).hasClass('selected'))
|
||||
{
|
||||
$('form.form-validation-plugins-recharge-pay input[name='+$(this).parent().data('type')+'_id]').val(0);
|
||||
$(this).removeClass('selected');
|
||||
} else {
|
||||
$('form.form-validation-plugins-recharge-pay input[name='+$(this).parent().data('type')+'_id]').val($(this).data('value'));
|
||||
value = $(this).data('value');
|
||||
$(this).addClass('selected').siblings('li').removeClass('selected');
|
||||
}
|
||||
$('form.form-validation-plugins-recharge-pay input[name='+$(this).parent().data('type')+'_id]').val(value).blur();
|
||||
});
|
||||
});
|
||||
Loading…
Reference in New Issue