129 lines
3.0 KiB
HTML
Executable File
129 lines
3.0 KiB
HTML
Executable File
{extend name="default/base" /}
|
|
|
|
{block name="title"}我的购物车 - {:WSTConf('CONF.mallName')}{__block__}{/block}
|
|
|
|
{block name="css"}
|
|
|
|
<link href="__STYLE__/css/carts.css?v={$v}" rel="stylesheet">
|
|
|
|
{/block}
|
|
|
|
{block name="main"}
|
|
|
|
<div class="wst-container">
|
|
|
|
<input type="hidden" id="token" value='{:WSTConf("CONF.pwdModulusKey")}'/>
|
|
|
|
<div class="pay-sbox-head">
|
|
|
|
<a href='{$Request.root.true}'>首页</a> > 支付
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div class="pay-tip2"></div>
|
|
|
|
</div>
|
|
|
|
<div class='pay-sbox'>
|
|
|
|
<div class="balance-box">
|
|
|
|
<div class='tips-box'>待支付订单总额:<span class="wst-fred">¥{$needPay}</span></div>
|
|
|
|
<div class='wst-wallet-box'>
|
|
|
|
<div class='wst-wallte-item'>
|
|
|
|
钱包余额:<span class="wst-fred">¥{$userMoney}</span>
|
|
|
|
</div>
|
|
|
|
<div style='float:right;'>支付:<span class="wst-fred">¥{$needPay}</span></div>
|
|
|
|
</div>
|
|
|
|
{if ($userMoney>=$needPay)}
|
|
|
|
<div class="pbox">
|
|
|
|
<input type='hidden' id='key' value='{$paykey}' class='j-ipt' autocomplete="off" />
|
|
|
|
{if ($hasPayPwd==1)}
|
|
|
|
支付密码:<input type='password' class='u-query j-ipt' id='payPwd' autocomplete='off'>
|
|
|
|
<a class='pbox-tip' target='_blank' href='{:url("home/users/editPayPass")}'>忘记密码?</a>
|
|
|
|
{else}
|
|
|
|
您尚未设置支付密码,请先设置支付密码
|
|
|
|
<div id="paypwd-box" class="j-paypwd-box" style="display:none;padding:20px;">
|
|
|
|
<table class="wst-table">
|
|
|
|
<tr class="wst-login-tr">
|
|
|
|
<td align='right'>支付密码:</td>
|
|
|
|
<td><input type="password" class='j-ipt' id="payPwd" name="payPwd" style="width:250px;" maxlength="60" aria-required="true"></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="wst-login-tr">
|
|
|
|
<td align='right'>确认支付密码:</td>
|
|
|
|
<td><input type="password" class="ipt n-invalid" id="reNewPass" name="reNewPass" style="width:250px;" maxlength="60" aria-required="true" aria-invalid="true"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
<div class="pbox2">
|
|
|
|
{if($hasPayPwd==1)}
|
|
|
|
<button class="pay-btn" type="button" style="width:100px;height: 30px;" onclick='javascript:payByWallet()'>确认支付</button>
|
|
|
|
{else}
|
|
|
|
<button class="pay-btn" type="button" style="width:100px;height: 30px;" onclick='javascript:setPaypwd()'>去设置支付密码</button>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<div class="pbox">
|
|
|
|
<img src='__STYLE__/img/icon_jinggao.png'> 很抱歉,您的钱包余额不足,不能进行支付。<a class='pbox-tip' href='javascript:void(0)' onclick="javascript:history.go(-1)">返回上一页</a>。
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/block}
|
|
|
|
{block name="js"}
|
|
|
|
<script type="text/javascript" src="__STATIC__/js/rsa.js"></script>
|
|
|
|
<script type='text/javascript' src='__STYLE__/js/carts.js?v={$v}'></script>
|
|
|
|
{/block} |