2019-09-06 23:53:10 +08:00

29 lines
1.5 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="layui-tab-item layui-form">
<table class='wst-form wst-box-top'>
<tr>
<th width='150'>密码加密传输:</th>
<td><input type="checkbox" {if $object['isCryptPwd']==1}checked{/if} value='1' class="ipt" id="isCryptPwd" name="isCryptPwd" lay-skin="switch" lay-filter="isCryptPwd" lay-text="开|关"><span style='color:gray;margin-left:5px;'>开启则用户登录、支付密码加密后再进行提交。<font color='red'>注意该功能需开启openssl扩展支持!</font></span>
</td>
</tr>
<tr class='pwdCryptKeyTr' {if $object['isCryptPwd']==0}style='display:none'{/if}>
<th width='150'>商城密匙:</th>
<td>
<textarea id='pwdPrivateKey' style='height:250px' class="ipt" placeholder='请输入用于登录、支付密码加密传输的密匙,请勿留空'>{$object['pwdPrivateKey']}</textarea>
</td>
</tr>
<tr class='pwdCryptKeyTr' {if $object['isCryptPwd']==0}style='display:none'{/if}>
<th width='150'>Modulus</th>
<td>
<textarea id='pwdModulusKey' class="ipt" placeholder='请输入用于登录、支付密码加密传输的16进制公钥请勿留空'>{$object['pwdModulusKey']}</textarea>
</td>
</tr>
{if ($grant)}
<tr>
<td colspan='2' align="center">
<button type="button" class="btn btn-primary btn-mright" onclick='javascript:edit()'><i class="fa fa-check"></i>保存</button>
<button class="btn" onclick='javascript:resetForm()'><i class="fa fa-refresh"></i>重置</button>
</td>
</tr>
{/if}
</table>
</div>