123456789101112131415161718192021222324252627282930313233343536 |
- <form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='layui-form layui-card' autocomplete="off">
- <div class="layui-card-body">
- <div class="layui-row margin-bottom-15">
- <label class="layui-col-xs2 think-form-label">用户名</label>
- <label class="layui-col-xs10">
- {notempty name='vo.id'} <input name="name" required value='{$vo.name|default=""}' style="background-color: #e6e6e6" readonly class="layui-input">{/notempty}
- {empty name='vo.id'} <input name="name" required value='{$vo.name|default=""}' placeholder="请输入用户名" class="layui-input">{/empty}
- </label>
- </div>
- <div class="layui-row margin-bottom-15">
- <label class="layui-col-xs2 think-form-label">登录手机号</label>
- <label class="layui-col-xs10">
- {notempty name='vo.id'} <input name="phone" required value='{$vo.phone|default=""}' style="background-color: #e6e6e6" readonly class="layui-input">{/notempty}
- {empty name='vo.id'} <input name="phone" required value='{$vo.phone|default=""}' placeholder="请输入登录手机号" class="layui-input">{/empty}
- </label>
- </div>
- <div class="layui-row margin-bottom-15">
- <label class="layui-col-xs2 think-form-label">登录密码</label>
- <label class="layui-col-xs10">
- <input name="password" required value='{$vo.password|default=""}' placeholder="请输入登录密码" class="layui-input">
- </label>
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="layui-form-item text-center">
- {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
- <button class="layui-btn" type='submit'>保存数据</button>
- <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
- </div>
- </form>
|