郑州第一人民医院UI

personage.html 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>个人中心</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <link href="../css/mui.min.css" rel="stylesheet" />
  10. <link rel="stylesheet" href="../css/iconfont.css" />
  11. <link rel="stylesheet" href="../css/inits.css" />
  12. <script src="../js/zepto.js?1.1"></script>
  13. <script src="../js/mui.min.js?1.1"></script>
  14. <script src="../js/jquery.min.js?1.1"></script>
  15. <script src="../Script/Common/huayi.config.js?1.1"></script>
  16. <script src="../Script/Common/huayi.http.js?1.1"></script>
  17. <style>
  18. .mui-bar-popover {
  19. width: 30%;
  20. }
  21. .mui-popover.mui-bar-popover .mui-table-view {
  22. width: 100%;
  23. }
  24. .san {
  25. font-size: 14px;
  26. margin-right: 5px
  27. }
  28. .nav_a {
  29. border-right: 1px solid #ccc;
  30. }
  31. .time {
  32. text-align: right;
  33. }
  34. .mui-table-view .mui-media-object {
  35. /* line-height: 71px; */
  36. max-width: 80px;
  37. height: 80px;
  38. }
  39. input[type=search] {
  40. border: 1px solid #ccc;
  41. border-radius: 18px;
  42. background-color: rgb(255, 255, 255);
  43. }
  44. .mui-table-view {
  45. margin-top: 20px;
  46. }
  47. .head-img {
  48. width: 50px;
  49. height: 50px;
  50. margin-right: 10px;
  51. }
  52. .index-message {
  53. width: 80%;
  54. /*height: 150px;*/
  55. margin: 0 auto;
  56. background-color: #fff;
  57. box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .16);
  58. position: relative;
  59. top: -30px;
  60. border-radius: 5px;
  61. text-align: center;
  62. }
  63. .back {
  64. width: 60%;
  65. margin: 0 auto;
  66. border-radius: 50px;
  67. text-align: center;
  68. }
  69. .mui-table-view {
  70. border-radius: 50px;
  71. }
  72. #exit {
  73. width: 100%;
  74. padding: 12px;
  75. border-radius: 50px;
  76. }
  77. #CC {
  78. /* width: 100px; */
  79. /* height: 100px; */
  80. position: relative;
  81. top: -50px;
  82. border-radius: 50%;
  83. }
  84. .img_ {
  85. width: 100px;
  86. height: 100px;
  87. border-radius: 50%;
  88. border: 2px solid #fff;
  89. }
  90. .box15 {
  91. margin: 40px auto;
  92. width: 320px;
  93. min-height: 310px;
  94. padding: 10px;
  95. position: relative;
  96. background: -webkit-gradient(linear, 100% 100%, 50% 10%, from(#fff), to(#f3f3f3), color-stop(.1, #fff));
  97. border: 1px solid #ccc;
  98. -webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
  99. -webkit-border-bottom-right-radius: 60px 5px;
  100. }
  101. .box15:before {
  102. content: '';
  103. width: 98%;
  104. z-index: -1;
  105. height: 100%;
  106. padding: 0 0 1px 0;
  107. position: absolute;
  108. bottom: 0;
  109. right: 0;
  110. background: -webkit-gradient(linear, 0% 20%, 0% 92%, from(#fff), to(#f9f9f9), color-stop(.1, #fff));
  111. border: 1px solid #ccc;
  112. -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
  113. -webkit-border-bottom-right-radius: 60px 5px;
  114. -webkit-transform: skew(2deg, 2deg) translate(3px, 8px)
  115. }
  116. .box15:after {
  117. content: '';
  118. width: 98%;
  119. z-index: -1;
  120. height: 98%;
  121. padding: 0 0 1px 0;
  122. position: absolute;
  123. bottom: 0;
  124. right: 0;
  125. background: -webkit-gradient(linear, 0% 20%, 0% 100%, from(#f3f3f3), to(#f6f6f6), color-stop(.1, #fff));
  126. border: 1px solid #ccc;
  127. -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  128. -webkit-transform: skew(2deg, 2deg) translate(-1px, 2px)
  129. }
  130. .box15_ribbon {
  131. position: absolute;
  132. top: 0;
  133. left: 0;
  134. width: 130px;
  135. height: 40px;
  136. background: -webkit-gradient(linear, 555% 20%, 0% 92%, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0.0)), color-stop(.1, rgba(0, 0, 0, 0.2)));
  137. border-left: 1px dashed rgba(0, 0, 0, 0.1);
  138. border-right: 1px dashed rgba(0, 0, 0, 0.1);
  139. -webkit-box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
  140. -webkit-transform: rotate(-30deg) skew(0, 0) translate(-30px, -20px);
  141. }
  142. #userRole {
  143. display: none;
  144. }
  145. </style>
  146. </head>
  147. <body>
  148. <!--<ul class="mui-table-view mui-table-view-chevron" style="margin-top: 15px">
  149. <li class="mui-table-view-cell mui-media">
  150. <a class="mui-navigate-right Img-box" href="#account">
  151. <img class=" mui-pull-left head-img" id="head-img" src="../img/shuijiao.jpg">
  152. <div class="mui-media-body">
  153. <div style="margin: 8px 0;">
  154. <span class="size-16">蓝胖子</span> <span>领导</span>
  155. </div>
  156. <h5 class="mui-ellipsis">我的账号:18839115206</h5>
  157. </div>
  158. </a>
  159. </li>
  160. </ul>-->
  161. <!--<ul class="mui-table-view mui-table-view-chevron">
  162. <li class="mui-table-view-cell">
  163. <a id="Question" class="mui-navigate-right">
  164. 常见问题 <i class="mui-pull-right "></i></a>
  165. </li>
  166. <li class="mui-table-view-cell">
  167. <a id="feedback" class="mui-navigate-right">
  168. 问题反馈 <i class="mui-pull-right "></i></a>
  169. </li>
  170. <li class="mui-table-view-cell">
  171. <a href="#about" class="mui-navigate-right">
  172. 保密协议 <i class="mui-pull-right "></i></a>
  173. </li>
  174. <li class="mui-table-view-cell">
  175. <a href="#" id="update">
  176. 版本更新 <i class="mui-pull-right update"></i></a>
  177. </li>
  178. </ul>-->
  179. <!--<ul class="mui-table-view">
  180. <li class="mui-table-view-cell" style="text-align: center;">
  181. <a id="exit" class="">退出</a>
  182. </li>
  183. </ul>-->
  184. <div>
  185. <!--背景图片-->
  186. <div>
  187. <div>
  188. <img src="../img/per_bg_01.png" alt="" style="height: 150px;width: 100%;" />
  189. </div>
  190. <div class="index-message">
  191. <div>
  192. <div id="CC">
  193. </div>
  194. <div style="position: relative;top: -40px;">
  195. <h3 class="userdata"></h3>
  196. <h5 id="userRole">员工</h5>
  197. </div>
  198. </div>
  199. <div class="box15_ribbon"></div>
  200. </div>
  201. <div class="back">
  202. <button class="mui-btn" id="exit" class="">切换账号</button>
  203. </div>
  204. </div>
  205. </div>
  206. <script type="text/javascript">
  207. //获取用户信息
  208. $(document).ready(function () {
  209. var userdata = localStorage.getItem("username");
  210. var weixin_name = localStorage.getItem("weixin_name");
  211. var weixin_img = localStorage.getItem("weixin_img");
  212. var userRole = localStorage.getItem("userRole");
  213. if (userRole) {
  214. $('#userRole').show();
  215. } else {
  216. $('#userRole').hide();
  217. }
  218. $(".userdata").text(userdata)
  219. $('<img class="img_" src="' + weixin_img + '" alt="" />').appendTo($('#CC'));
  220. $("#exit").on('tap', function () {
  221. var btnArray = ['否', '是'];
  222. mui.confirm('要切换到管理员账号吗?', '温馨提示', btnArray, function (e) {
  223. if (e.index == 1) {
  224. localStorage.clear();
  225. window.location.href = "../login.html";
  226. } else {
  227. }
  228. })
  229. });
  230. });
  231. </script>
  232. </body>
  233. </html>