index.vue 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <template>
  2. <div class="page_my">
  3. <div class="myTop">
  4. <img src="../../assets/images/myBanner.png" alt />
  5. <div class="avatar">
  6. <img src="../../assets/images/one.jpg" alt />
  7. </div>
  8. <div class="userMain">
  9. <div class="userBox">
  10. <div class="userTxt">
  11. <p class="userName">小可耐</p>
  12. <p class="signature">一个无法用言语表达的好人</p>
  13. </div>
  14. <van-icon name="arrow" />
  15. </div>
  16. </div>
  17. <div class="invitebox">
  18. <img src="../../assets/images/invite.png" alt />
  19. </div>
  20. <div class="myInfo">
  21. <div class="myInfoLeft">
  22. <img src="../../assets/images/myIcon1.png" alt />
  23. <p>我的信息</p>
  24. </div>
  25. <van-icon class="arrow" name="arrow" />
  26. </div>
  27. </div>
  28. <div class="myBox">
  29. <div class="myBoxOne">
  30. <div class="myInfoLeft">
  31. <img src="../../assets/images/myIcon2.png" alt />
  32. <p>我的医院/组织/团队</p>
  33. </div>
  34. <van-icon class="arrow" name="arrow" />
  35. </div>
  36. <div class="myBoxTwo">
  37. <div class="myInfoLeft">
  38. <img src="../../assets/images/one.jpg" alt />
  39. <p>我的医院/组织/团队</p>
  40. </div>
  41. <div class="myInfoRight">
  42. <van-icon class="arrow" name="arrow" />
  43. </div>
  44. </div>
  45. <div class="myBoxTwo noBorder">
  46. <div class="myInfoLeft">
  47. <img src="../../assets/images/one.jpg" alt />
  48. <p>我的医院/组织/团队</p>
  49. </div>
  50. <div class="myInfoRight">
  51. <div class="myInfoRightBtn">管理</div>
  52. <van-icon class="arrow" name="arrow" />
  53. </div>
  54. </div>
  55. </div>
  56. <div class="myBox">
  57. <div class="myBoxOne">
  58. <div class="myInfoLeft">
  59. <img src="../../assets/images/myIcon3.png" alt />
  60. <p>创建医院/组织/团队</p>
  61. </div>
  62. <van-icon class="arrow" name="arrow" />
  63. </div>
  64. <div class="myBoxOne">
  65. <div class="myInfoLeft">
  66. <img src="../../assets/images/myIcon4.png" alt />
  67. <p>修改密码</p>
  68. </div>
  69. <van-icon class="arrow" name="arrow" />
  70. </div>
  71. </div>
  72. <div class="myBox">
  73. <div class="myBoxOne">
  74. <div class="myInfoLeft">
  75. <img src="../../assets/images/myIcon5.png" alt />
  76. <p>常见问题</p>
  77. </div>
  78. <van-icon class="arrow" name="arrow" />
  79. </div>
  80. <div class="myBoxOne">
  81. <div class="myInfoLeft">
  82. <img src="../../assets/images/myIcon6.png" alt />
  83. <p>意见反馈</p>
  84. </div>
  85. <van-icon class="arrow" name="arrow" />
  86. </div>
  87. <div class="myBoxOne">
  88. <div class="myInfoLeft">
  89. <img src="../../assets/images/myIcon7.png" alt />
  90. <p>关于我们</p>
  91. </div>
  92. <van-icon class="arrow" name="arrow" />
  93. </div>
  94. </div>
  95. <div class="myBox">
  96. <div class="myBoxOne">
  97. <div class="myInfoLeft">
  98. <img src="../../assets/images/myIcon8.png" alt />
  99. <p>退出登录</p>
  100. </div>
  101. <van-icon class="arrow" name="arrow" />
  102. </div>
  103. </div>
  104. </div>
  105. </template>
  106. <style lang="scss" scoped>
  107. .page_my {
  108. height: 100%;
  109. overflow-x: hidden;
  110. overflow-y: auto;
  111. background: #fafafa;
  112. .myTop {
  113. position: relative;
  114. height: 16.875rem;
  115. img {
  116. width: 100%;
  117. height: 11.25rem;
  118. }
  119. .avatar {
  120. position: absolute;
  121. left: 1rem;
  122. top: 2.5rem;
  123. width: 4.375rem;
  124. height: 4.375rem;
  125. background: rgba(50, 50, 50, 1);
  126. border: 2px solid rgba(255, 255, 255, 1);
  127. border-radius: 50%;
  128. img {
  129. border-radius: 50%;
  130. width: 100%;
  131. height: 100%;
  132. }
  133. }
  134. .userMain {
  135. position: absolute;
  136. left: 6.25rem;
  137. top: 3.375rem;
  138. width: 70%;
  139. color: #fff;
  140. }
  141. .userBox {
  142. display: flex;
  143. justify-content: space-between;
  144. align-items: center;
  145. }
  146. .userName {
  147. font-size: 1.25rem;
  148. margin-bottom: 0.625rem;
  149. }
  150. .signature {
  151. font-size: 0.75rem;
  152. }
  153. .invitebox {
  154. width: 21.5625rem;
  155. height: 4.75rem;
  156. position: absolute;
  157. top: 8.75rem;
  158. left: 0.9375rem;
  159. box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.16);
  160. img {
  161. height: 100%;
  162. width: 100%;
  163. }
  164. }
  165. .myInfo {
  166. width: 100%;
  167. height: 3.125rem;
  168. display: flex;
  169. align-items: center;
  170. justify-content: space-between;
  171. margin-top: 2.25rem;
  172. padding: 0 0.875rem;
  173. background: #fff;
  174. .myInfoLeft {
  175. display: flex;
  176. align-items: center;
  177. height: 100%;
  178. img {
  179. width: 1.125rem;
  180. height: 1.125rem;
  181. margin-right: 0.5rem;
  182. }
  183. p {
  184. margin-top: 0.125rem;
  185. }
  186. }
  187. .arrow {
  188. color: #9f9f9f;
  189. }
  190. }
  191. }
  192. .myBox {
  193. margin: 0.8125rem 0;
  194. background: #fff;
  195. > div:last-child {
  196. border: none;
  197. }
  198. .myBoxOne {
  199. width: 100%;
  200. height: 3.125rem;
  201. display: flex;
  202. align-items: center;
  203. justify-content: space-between;
  204. padding: 0 0.875rem;
  205. border-bottom: 1px solid #e5e5e5;
  206. .myInfoLeft {
  207. display: flex;
  208. align-items: center;
  209. height: 100%;
  210. img {
  211. width: 1.125rem;
  212. height: 1.125rem;
  213. margin-right: 0.5rem;
  214. }
  215. p {
  216. margin-top: 0.125rem;
  217. }
  218. }
  219. .arrow {
  220. color: #9f9f9f;
  221. }
  222. }
  223. .myBoxTwo {
  224. height: 3.125rem;
  225. display: flex;
  226. align-items: center;
  227. justify-content: space-between;
  228. padding-right: 0.875rem;
  229. background: #fff;
  230. margin-left: 2.5rem;
  231. border-bottom: 1px solid #e5e5e5;
  232. .myInfoLeft {
  233. display: flex;
  234. align-items: center;
  235. height: 100%;
  236. img {
  237. width: 1.875rem;
  238. height: 1.875rem;
  239. margin-right: 0.5rem;
  240. }
  241. p {
  242. margin-top: 0.125rem;
  243. }
  244. }
  245. .myInfoRight {
  246. display: flex;
  247. align-items: center;
  248. .myInfoRightBtn {
  249. width: 3.625rem;
  250. height: 1.875rem;
  251. background: rgba(255, 255, 255, 1);
  252. border: 1px solid rgba(51, 138, 251, 1);
  253. border-radius: 0.3125rem;
  254. text-align: center;
  255. line-height: 1.875rem;
  256. color: #338afb;
  257. font-size: 0.9375rem;
  258. margin-right: 0.625rem;
  259. }
  260. }
  261. .arrow {
  262. color: #9f9f9f;
  263. }
  264. }
  265. }
  266. }
  267. </style>