shike.uc.main
<div class="user-main">
<ul class="user-tab clearfix">
<li id="tab_action_pay" class="current"><a href="charge.php?action=pay"><span>在线充值</span></a></li>
<li id="tab_action_card"><a href="charge.php?action=card"><span>充值卡充值</span></a></li>
<li id="tab_action_record"><a href="charge.php?action=record"><span>充值记录</span></a></li>
</ul>
<form method="post" action="charge.php" onsubmit="return check();" id="dform" class="user-list">
<input type="hidden" name="auto" value="0">
<input type="hidden" name="action" value="confirm">
<table class="table-pub">
<tbody>
<tr>
<th><label class="validation">充值金额</label></th>
<td>
<input type="text" name="amount" size="10" value="" id="amount" maxlength="8"> 元 <span id="damount" class="f_red"></span>
</td>
</tr>
<tr>
<th><label class="validation">支付平台</label></th>
<td>
<table cellspacing="3" cellpadding="3" class="c_p">
<tbody>
<tr onclick="Dd('alipay').checked=true;">
<td><input type="radio" name="bank" value="alipay" id="alipay" checked=""></td>
<td><img src="http://www.www.cc/mark/shike/file/image/logo_alipay.gif" alt=""></td>
<td>手续费 1%</td>
</tr>
</tbody>
</table>
<span id="dbank" class="f_red"></span>
</td>
</tr>
<tr>
<th height="50"></th>
<td>
<button type="submit" class="btn-fun"><span>下一步</span></button>
</td>
</tr>
</tbody>
</table>
</form>
<script type="text/javascript">
function check() {
if ( !Dd('amount').value ) {
Dmsg('请填写充值金额', 'amount');
return false;
}
if ( Dd('amount').value < 10 ) {
Dmsg('金额最少10', 'amount');
return false;
}
}
</script>
<script>
seajs.use(['account'], function (account) {
account.active_menu('charge');
account.active_tab('action_pay');
})
</script>
</div>