Mine.vue 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <template>
  2. <div style=" overflow-y: scroll;padding-bottom: 5rem;">
  3. <div style="background-image: url('../../assets/images/bc.png');background-size: 100% 100%;">
  4. <div class="home_header">个人中心</div>
  5. <div class="home_header_line"></div>
  6. <div class="home_con_body">
  7. <div class="main_header">
  8. <div class="header">
  9. <div class="img_content">
  10. <img src="../../assets/home/userimg.png" style="width: 100%;height: 100%;" alt="" />
  11. </div>
  12. <div class="info_content">
  13. <div>王小伟</div>
  14. <div style="font-size: 0.9rem; margin-top: 0.5rem;text-align: center;color: #ABDFFF;">
  15. 管理员
  16. </div>
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. <!-- ////////////////////// -->
  23. <div>
  24. <!-- 工厂包装 -->
  25. <div class="item">
  26. <div class="item_title">
  27. 工厂类型
  28. <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
  29. p-id="3994" width="25" height="25">
  30. <path
  31. d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
  32. fill="#888888" p-id="3995"></path>
  33. </svg>
  34. </div>
  35. </div>
  36. <div class="item" style="margin-bottom: 0.5rem">
  37. <div class="item_title" style="border: none">
  38. 包装列表
  39. <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
  40. p-id="3994" width="25" height="25">
  41. <path
  42. d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
  43. fill="#888888" p-id="3995"></path>
  44. </svg>
  45. </div>
  46. </div>
  47. <!-- 运输安装 -->
  48. <div class="item">
  49. <div class="item_title">
  50. 运输列表
  51. <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
  52. p-id="3994" width="25" height="25">
  53. <path
  54. d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
  55. fill="#888888" p-id="3995"></path>
  56. </svg>
  57. </div>
  58. </div>
  59. <div class="item">
  60. <div class="item_title" style="border: none">
  61. 安装信息
  62. <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
  63. p-id="3994" width="25" height="25">
  64. <path
  65. d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
  66. fill="#888888" p-id="3995"></path>
  67. </svg>
  68. </div>
  69. </div>
  70. <!-- //版本信息 -->
  71. <div class="item" style="margin-top: 0.5rem">
  72. <div class="item_title" style="border: none">
  73. 版本信息
  74. <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
  75. p-id="3994" width="25" height="25">
  76. <path
  77. d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
  78. fill="#888888" p-id="3995"></path>
  79. </svg>
  80. </div>
  81. </div>
  82. <div class="return_item" @click="handleReturn">
  83. <div>退出</div>
  84. </div>
  85. </div>
  86. </div>
  87. </template>
  88. <script>
  89. export default {
  90. data() {
  91. return {
  92. }
  93. },
  94. methods: {
  95. handleReturn() {
  96. localStorage.removeItem('mobile_token');
  97. this.$router.push('/')
  98. }
  99. }
  100. }
  101. </script>
  102. <style lang="scss" scoped>
  103. .home_con_body {
  104. width: 100%;
  105. padding: 1rem;
  106. padding-top: 0px;
  107. box-sizing: border-box;
  108. }
  109. .home_header {
  110. height: 3.125rem;
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. color: #fff;
  115. font-size: 1.125rem;
  116. font-weight: 600;
  117. }
  118. .home_header_line {
  119. width: 100%;
  120. height: .0625rem;
  121. background-color: #fff;
  122. opacity: 0.2;
  123. }
  124. .item {
  125. display: flex;
  126. justify-content: space-between;
  127. align-items: center;
  128. width: 100%;
  129. background-image: url('../../assets/home/gcbj.png');
  130. color: #fff;
  131. padding: 0 1rem;
  132. box-sizing: border-box;
  133. }
  134. .return_item {
  135. text-align: center;
  136. background-image: url('../../assets/home/quit.png');
  137. background-size: 100% 100%;
  138. color: #fff;
  139. width: 95%;
  140. margin: 0 auto;
  141. margin-top: 1.5rem;
  142. font-size: 1.06rem;
  143. font-weight: 500;
  144. color: #A51626;
  145. div {
  146. font-size: 1.2rem;
  147. padding: 1rem 0;
  148. font-weight: bold;
  149. }
  150. }
  151. .item_icon {
  152. width: 20%;
  153. text-align: center;
  154. }
  155. .item_title {
  156. font-size: 1rem;
  157. display: flex;
  158. justify-content: space-between;
  159. align-items: center;
  160. width: 100%;
  161. padding: 0 2rem;
  162. box-sizing: border-box;
  163. padding: 1rem 0;
  164. }
  165. .img_content {
  166. width: 6.3rem;
  167. border-radius: 50%;
  168. height: 6.56rem;
  169. overflow: hidden;
  170. margin: 1.5rem;
  171. }
  172. .info_content {
  173. div {
  174. font-size: 1.25rem;
  175. font-weight: bold;
  176. }
  177. }
  178. .main_header {
  179. background: #ffffff00;
  180. margin-bottom: 2rem;
  181. }
  182. .header {
  183. display: flex;
  184. color: #fff;
  185. flex-direction: column;
  186. align-items: center;
  187. }
  188. </style>