1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
- <div class="layui-card-body padding-left-40">
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">头像</span>
- <span class="color-desc margin-left-5"></span>
- <input name="avatar" type="hidden" value="{$vo.avatar|default=''}">
- <script>$('[name="avatar"]').uploadOneImage()</script>
- </label>
- <p class="help-block">登录用户账号创建</p>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">登录用户账号</span>
- <span class="color-desc margin-left-5">Username</span>
- <input name="username" value='{$vo.username|default=""}' required placeholder="请输入4位及以上字符登录用户账号" class="layui-input">
- </label>
- <p class="help-block">登录用户账号创建</p>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">用户联系手机</span>
- <span class="color-desc margin-left-5">Phone</span>
- <input type="tel" maxlength="11" autocomplete="off" autofocus name="mobile" value='{$vo.mobile|default=""}' pattern="^1[3-9][0-9]{9}$" placeholder="请输入用户联系手机" class="layui-input">
- </label>
- <p class="color-desc">可选,用户联系手机号码,需要填写正确的格式</p>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">新的登录密码</span>
- <span class="color-desc margin-left-5">New Password</span>
- <input type="password" name="pwd" maxlength="32" pattern="^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{6,32}$" placeholder="请输入新的登录密码(不修改不输入)" class="layui-input">
- </label>
- <p class="color-desc">密码必需包含大小写字母、数字、符号的任意两者组合。</p>
- </div>
- <div class="layui-form-item">
- <label class="relative block">
- <span class="color-green font-w7">重复登录密码</span>
- <span class="color-desc margin-left-5">Retype Password</span>
- <input type="password" name="repassword" maxlength="32" pattern="^(?![\d]+$)(?![a-zA-Z]+$)(?![^\da-zA-Z]+$).{6,32}$" placeholder="请输入重复登录密码(不修改不输入)" class="layui-input">
- </label>
- <p class="color-desc">密码必需包含大小写字母、数字、符号的任意两者组合。</p>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
- <div class="layui-form-item text-center">
- <button class="layui-btn" type='submit'>保存数据</button>
- <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
- </div>
- </form>
|