info.html 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <title>设置我的资料</title>
  2. <div class="layui-card layadmin-header">
  3. <div class="layui-breadcrumb" lay-filter="breadcrumb">
  4. <a lay-href="">主页</a>
  5. <a><cite>设置</cite></a>
  6. <a><cite>我的资料</cite></a>
  7. </div>
  8. </div>
  9. <div class="layui-fluid">
  10. <div class="layui-row layui-col-space15">
  11. <div class="layui-col-md12">
  12. <div class="layui-card">
  13. <div class="layui-card-header">设置我的资料</div>
  14. <div class="layui-card-body" pad15>
  15. <div class="layui-form" lay-filter="">
  16. <div class="layui-form-item">
  17. <label class="layui-form-label">我的角色</label>
  18. <div class="layui-input-inline">
  19. <select name="role" lay-verify="">
  20. <option value="1" selected>超级管理员</option>
  21. <option value="2" disabled>普通管理员</option>
  22. <option value="3" disabled>审核员</option>
  23. <option value="4" disabled>编辑人员</option>
  24. </select>
  25. </div>
  26. <div class="layui-form-mid layui-word-aux">当前角色不可更改为其它角色</div>
  27. </div>
  28. <div class="layui-form-item">
  29. <label class="layui-form-label">用户名</label>
  30. <div class="layui-input-inline">
  31. <input type="text" name="username" value="xianxin" readonly class="layui-input">
  32. </div>
  33. <div class="layui-form-mid layui-word-aux">不可修改,一般用于后台登入名</div>
  34. </div>
  35. <div class="layui-form-item">
  36. <label class="layui-form-label">昵称</label>
  37. <div class="layui-input-inline">
  38. <input type="text" name="nickname" value="贤心" lay-verify="nickname" autocomplete="off" placeholder="请输入昵称" class="layui-input">
  39. </div>
  40. </div>
  41. <div class="layui-form-item">
  42. <label class="layui-form-label">性别</label>
  43. <div class="layui-input-block">
  44. <input type="radio" name="sex" value="男" title="男">
  45. <input type="radio" name="sex" value="女" title="女" checked>
  46. </div>
  47. </div>
  48. <div class="layui-form-item">
  49. <label class="layui-form-label">头像</label>
  50. <div class="layui-input-inline">
  51. <input name="avatar" lay-verify="required" id="LAY_avatarSrc" placeholder="图片地址" value="http://cdn.layui.com/avatar/168.jpg" class="layui-input">
  52. </div>
  53. <div class="layui-input-inline layui-btn-container" style="width: auto;">
  54. <button type="button" class="layui-btn layui-btn-primary" id="LAY_avatarUpload">
  55. <i class="layui-icon">&#xe67c;</i>上传图片
  56. </button>
  57. <button class="layui-btn layui-btn-primary" layadmin-event="avartatPreview">查看图片</button >
  58. </div>
  59. </div>
  60. <div class="layui-form-item">
  61. <label class="layui-form-label">手机</label>
  62. <div class="layui-input-inline">
  63. <input type="text" name="cellphone" value="" lay-verify="phone" autocomplete="off" class="layui-input">
  64. </div>
  65. </div>
  66. <div class="layui-form-item">
  67. <label class="layui-form-label">邮箱</label>
  68. <div class="layui-input-inline">
  69. <input type="text" name="email" value="" lay-verify="email" autocomplete="off" class="layui-input">
  70. </div>
  71. </div>
  72. <div class="layui-form-item layui-form-text">
  73. <label class="layui-form-label">备注</label>
  74. <div class="layui-input-block">
  75. <textarea name="remarks" placeholder="请输入内容" class="layui-textarea"></textarea>
  76. </div>
  77. </div>
  78. <div class="layui-form-item">
  79. <div class="layui-input-block">
  80. <button class="layui-btn" lay-submit lay-filter="setmyinfo">确认修改</button>
  81. <button type="reset" class="layui-btn layui-btn-primary">重新填写</button>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <script>
  91. layui.use('set', layui.factory('set'));
  92. </script>