dataUser.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <template>
  2. <view>
  3. <u-navbar title="用户详情"></u-navbar>
  4. <view class="gradient-header">
  5. <view class="jpback">
  6. </view>
  7. </view>
  8. <view class="main">
  9. <view class="statistics ">
  10. <view class="data1">
  11. <view class="imgclass">
  12. <img class="img" src="@/assets/img/默认头像.png" mode=""></img>
  13. </view>
  14. <view class="item">
  15. <view class="name">
  16. 软件园
  17. </view>
  18. <view class="value">
  19. <image class="img img1" src="@/assets/img/userTab/index1-2.svg" mode=""></image>
  20. 123111
  21. <image class="img img2" src="@/assets/img/userTab/index1-1.svg" mode=""></image>
  22. 123111
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <u-divider border-color="#CFD2D5">已经到底了</u-divider>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. import jpContent from '@/components/JPcontent.vue'
  33. import * as echarts from 'echarts';
  34. export default {
  35. components: {
  36. jpContent
  37. },
  38. data() {
  39. return {
  40. echartsList: {},
  41. jpContentMap: {
  42. body1: 2,
  43. body2: 2,
  44. body3: 2,
  45. body4: 2,
  46. body5: 2,
  47. body6: 2,
  48. body7: 2,
  49. body8: 2,
  50. body9: 2,
  51. body10: 2,
  52. },
  53. };
  54. }
  55. }
  56. </script>
  57. <style lang="scss">
  58. .gradient-header {
  59. height: 0px;
  60. }
  61. .jpback {
  62. height: 268rpx;
  63. background: linear-gradient(180deg, rgba(203, 234, 255, 1) 0%, rgba(203, 234, 255, 0) 100%);
  64. }
  65. .main {
  66. padding: 32rpx;
  67. .no_statistics {
  68. margin-bottom: 24rpx;
  69. }
  70. .statistics {
  71. border-radius: 8px;
  72. background-color: rgba(255, 255, 255, 1);
  73. box-shadow: 0px 1px 6px 0px rgba(0, 59, 142, 0.05);
  74. margin-bottom: 24rpx;
  75. padding: 40rpx;
  76. .title {
  77. display: flex;
  78. align-items: center;
  79. margin-bottom: 32rpx;
  80. font-weight: bold;
  81. .img {
  82. width: 36rpx;
  83. height: 36rpx;
  84. vertical-align: middle;
  85. border-radius: 999px;
  86. }
  87. .change {
  88. display: flex;
  89. align-items: center;
  90. .change-img {
  91. width: 32rpx;
  92. height: 32rpx;
  93. vertical-align: middle;
  94. }
  95. text {
  96. margin-left: 8rpx;
  97. }
  98. }
  99. .text {
  100. color: rgba(16, 16, 16, 1);
  101. font-size: 36rpx;
  102. margin-left: 16rpx;
  103. display: flex;
  104. justify-content: space-between;
  105. align-items: center;
  106. width: 100%;
  107. .tag {
  108. border-radius: 4px;
  109. border: 1px solid rgba(187, 187, 187, 1);
  110. color: rgba(51, 51, 51, 1);
  111. font-size: 24rpx;
  112. padding: 1px 8rpx;
  113. margin-left: 8rpx;
  114. }
  115. }
  116. .change {
  117. margin-left: 16rpx;
  118. font-size: 24rpx;
  119. color: #838383;
  120. }
  121. .check-all {
  122. margin-left: auto;
  123. color: rgba(131, 131, 131, 1);
  124. font-size: 24rpx;
  125. }
  126. }
  127. }
  128. }
  129. .data1 {
  130. display: flex;
  131. .imgclass {
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. width: 72rpx;
  136. height: 72rpx;
  137. border-radius: 4px;
  138. background-color: #E5E5E5;
  139. }
  140. .item {
  141. margin-left: 16rpx;
  142. .name {
  143. font-size: 36rpx;
  144. color: rgba(16, 16, 16, 1);
  145. }
  146. .value {
  147. display: flex;
  148. align-items: center;
  149. color: rgba(119, 119, 119, 1);
  150. font-size: 24rpx;
  151. .img {
  152. width: 32rpx;
  153. height: 32rpx;
  154. margin-right: 8rpx;
  155. }
  156. .img1 {}
  157. .img2 {
  158. margin-left: 20rpx;
  159. }
  160. }
  161. }
  162. }
  163. </style>