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

61 lines
2.8 KiB
HTML
Executable File

{extend name="default/shops/base" /}
{block name="title"}新增帐号-卖家中心{__block__}{/block}
{block name="css"}
<link href="__STATIC__/plugins/validator/jquery.validator.css?v={$v}" rel="stylesheet">
{/block}
{block name="content"}
<div class="wst-body">
<div class="wst-shop-head"><span>新增帐号</span></div>
<div class="wst-clear"></div>
<div class="wst-shop-content">
<form name="editForm" id="editForm" autocomplete="off">
<table class='wst-form uinfo-form' >
<tr>
<td width="100"><font color='red'>*</font>用户名</td>
<td class="uinfo">
<input type="hidden" id="token" value='{:WSTConf("CONF.pwdModulusKey")}'/>
<input type='hidden' id='id' name='id' class="ipt" value='0' />
<input id="loginName" name="loginName" class="ipt wst-regist-input" tabindex="1" maxlength="30" autocomplete="off" onpaste="return false;" style="ime-mode:disabled;" placeholder="邮箱/用户名/手机号" data-rule='请输入用户名:required;' type="text" onkeyup="javascript:WST.isChinese(this,1)"/>
</td>
</tr>
<tr>
<td><font color='red'>*</font>密码</td>
<td class="uinfo">
<input id="loginPwd" name="loginPwd" class="ipt wst-regist-input" tabindex="2" style="ime-mode:disabled;" autocomplete="off" type="password" placeholder="6-16位字符" data-rule='请输入密码:required;'/>
</td>
</tr>
<tr>
<td><font color='red'>*</font>确认密码</td>
<td class="uinfo">
<input id="reUserPwd" name="reUserPwd" class="ipt wst-regist-input" tabindex="3" autocomplete="off" type="password" placeholder="6-16位字符" data-rule="确认密码: required; match(loginPwd)"/>
</td>
</tr>
<tr>
<td><font color='red'>*</font>角色</td>
<td>
<select id="roleId" data-rule="required" class="ipt">
{volist name="roles" id="role"}
<option value="{$role['id']}">{$role["roleName"]}</option>
{/volist}
</select>
</td>
</tr>
<tr>
<td colspan='2' style="text-align:center">
<a class='s-btn' href="javascript:add()">&nbsp;</a>&nbsp;&nbsp;
<a class='s-btn2' href='{:url("home/shopusers/index")}'>&nbsp;</a>
</td>
</tr>
</table>
</form>
</div>
</div>
{/block}
{block name="footer"}
{include file="default/footer" /}
{/block}
{block name="js"}
<script type="text/javascript" src="__STATIC__/js/rsa.js"></script>
<script type='text/javascript' src='__STYLE__/shops/shopusers/shopusers.js?v={$v}'></script>
<script type="text/javascript" src="__STATIC__/plugins/validator/jquery.validator.min.js?v={$v}"></script>
{/block}