userInfo.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!DOCTYPE html>
  2. <html style=" background-color: #f2f2f2; height: 100%">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>个人资料</title>
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="format-detection" content="telephone=no">
  12. <link rel="stylesheet" href="../layui/css/layui.css" media="all" />
  13. <link rel="stylesheet" href="../css/user.css" media="all" />
  14. <style>
  15. html body {
  16. height: 100%;
  17. }
  18. .flexBox {
  19. display: flex;
  20. align-items: center;
  21. height: 100%;
  22. }
  23. .layui-userInfo {
  24. height: 400px;
  25. width: 600px;
  26. margin: 0 auto;
  27. }
  28. .layui-text em,
  29. .layui-word-aux {
  30. color: #333 !important;
  31. }
  32. </style>
  33. <script id="demo" type="text/html">
  34. <form class="layui-form" lay-filter="userInfo">
  35. <div class="layui-form-item">
  36. <label class="layui-form-label">账号:</label>
  37. <div class="layui-input-block">
  38. <div class="layui-form-mid layui-word-aux">{{d.name || ''}}</div>
  39. </div>
  40. </div>
  41. <div class="layui-form-item">
  42. <label class="layui-form-label">姓名:</label>
  43. <div class="layui-input-block">
  44. <div class="layui-form-mid layui-word-aux">{{d.realName || ''}}</div>
  45. </div>
  46. </div>
  47. <div class="layui-form-item" pane="">
  48. <label class="layui-form-label">性别:</label>
  49. <div class="layui-input-block">
  50. <div class="layui-form-mid layui-word-aux">{{d.sex || ''}}</div>
  51. </div>
  52. </div>
  53. <div class="layui-form-item">
  54. <label class="layui-form-label">区域:</label>
  55. <div class="layui-input-block">
  56. <div class="layui-form-mid layui-word-aux">{{d.areaName || ''}}</div>
  57. </div>
  58. </div>
  59. <div class="layui-form-item">
  60. <label class="layui-form-label">角色:</label>
  61. <div class="layui-input-block">
  62. <div class="layui-form-mid layui-word-aux">{{d.roleName || ''}}</div>
  63. </div>
  64. </div>
  65. <div class="layui-form-item">
  66. <label class="layui-form-label">手机号码:</label>
  67. <div class="layui-input-block">
  68. <div class="layui-form-mid layui-word-aux">{{d.phone || ''}}</div>
  69. </div>
  70. </div>
  71. </form>
  72. </script>
  73. </head>
  74. <body class="childrenBody">
  75. <div class="flexBox">
  76. <div class="layui-card layui-userInfo layui-container">
  77. <div class="layui-card-header">个人信息</div>
  78. <div class="layui-card-body" style="padding: 25px 30px 0 0">
  79. <div id="view"></div>
  80. </div>
  81. </div>
  82. </div>
  83. </body>
  84. <script type="text/javascript">
  85. function loadJS(url) {
  86. document.write("<script src='" + url + "?ver=" + new Date().getTime() + "'><\/script>")
  87. }
  88. loadJS("../layui/layui.js");
  89. loadJS("../js/ajaxhook.min.js");
  90. loadJS("../js/config.js");
  91. loadJS("user.js");
  92. </script>
  93. </html>