建材商城系统20241014
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

235 lines
4.9 KiB

  1. <template>
  2. <view class="page">
  3. <navbar
  4. title="我的团队"
  5. leftClick
  6. @leftClick="$utils.navigateBack"
  7. bgColor="#DC2828"
  8. color="#fff"
  9. />
  10. <view class="team">
  11. <view class="team-message">
  12. <view class="leftImage">
  13. <image src="" mode=""></image>
  14. </view>
  15. <view class="number-team">
  16. <view class="top-number">
  17. <text style="font-weight: 500;">13845131854</text>
  18. <view class="salesman">一级业务员</view>
  19. </view>
  20. <view class="bottom-number">
  21. <view class="performance">
  22. <view class="team-sum">
  23. 团队总业绩
  24. </view>
  25. <view class="figure">
  26. <text style="margin-left: 30rpx; color: #DC2828; font-weight: 600;"></text><text class="money">66666</text>
  27. </view>
  28. </view>
  29. <view class="withdraw">
  30. <view class="withdraw-button">
  31. 去提现
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="user">
  39. <text>直销用户</text>
  40. </view>
  41. <view class="user-list">
  42. <view class="head" v-for="(item,index) in 20">
  43. <view class="headImage">
  44. <image src="" mode=""></image>
  45. </view>
  46. <view class="info">
  47. <view class="name">
  48. 用户138xxxxxxxx
  49. </view>
  50. <view class="headBtn">
  51. 下单量<text>12</text> | 佣金 <text style="color: darkorange;">120</text>
  52. </view>
  53. <view class="tips">
  54. 已加入平台<text>120</text>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. export default {
  63. data() {
  64. return {
  65. };
  66. }
  67. }
  68. </script>
  69. <style lang="scss">
  70. .page{
  71. .team{
  72. height: 250rpx;
  73. background-color: #DC2828;
  74. padding-top: 50rpx;
  75. .team-message{
  76. height: 200rpx;
  77. width: 90%;
  78. background-color: #fff;
  79. margin: 0 30rpx;
  80. position: relative;
  81. border-radius: 10rpx;
  82. .leftImage {
  83. width: 150rpx;
  84. height: 150rpx;
  85. background-image: url(/static/image/center/3.png);
  86. background-size: 100% 100%;
  87. overflow: hidden;
  88. border-radius: 50%;
  89. margin-right: 15rpx;
  90. display: inline-block;
  91. position: absolute;
  92. top: 25rpx;
  93. left: 26rpx;
  94. }
  95. .number-team{
  96. width: 70%;
  97. display: inline-block;
  98. position: absolute;
  99. top: 0rpx;
  100. left: 202rpx;
  101. .top-number{
  102. height: 70rpx;
  103. position: relative;
  104. border-bottom: #DC2828 dotted 1rpx;
  105. display: flex;
  106. align-items: center;
  107. margin: 0 20rpx;
  108. .salesman{
  109. position: absolute;
  110. height: 40rpx;
  111. width: 160rpx;
  112. text-align: center;
  113. background-color: #FF6700;
  114. border-radius: 50rpx;
  115. display: inline;
  116. margin-left: 240rpx;
  117. color: #fff;
  118. font-size: 24rpx;
  119. }
  120. }
  121. .bottom-number{
  122. height: 120rpx;
  123. position: relative;
  124. .performance{
  125. width: 50%;
  126. height: 100%;
  127. display: inline-block;
  128. position: absolute;
  129. top: 0rpx;
  130. .team-sum{
  131. display: inline-block;
  132. width: 180rpx;
  133. background-color: #F99F9F;
  134. border-radius: 50rpx;
  135. text-align: center;
  136. margin: 0rpx 20rpx;
  137. margin-top: 8rpx;
  138. color: #DC2828;
  139. font-size: 26rpx;
  140. }
  141. .figure{
  142. height: 60rpx;
  143. line-height: 60rpx;
  144. display: flex;
  145. // align-items: center;
  146. padding-top: 10rpx;
  147. .money{
  148. font-size: 40rpx;
  149. color: #DC2828;
  150. display: inline-block;
  151. font-weight: 600;
  152. }
  153. }
  154. }
  155. .withdraw{
  156. width: 50%;
  157. height: 100%;
  158. display: inline-block;
  159. position: absolute;
  160. right: 0rpx;
  161. display: flex;
  162. justify-content: center;//横轴居中
  163. align-items: center;//竖轴居中
  164. .withdraw-button{
  165. background-color: #DC2828;
  166. color: #fff;
  167. border-radius: 50rpx;
  168. text-align: center;
  169. height: 62rpx;
  170. width: 200rpx;
  171. line-height: 62rpx;
  172. }
  173. }
  174. }
  175. }
  176. }
  177. }
  178. .user{
  179. height: 120rpx;
  180. background-color: #fff;
  181. display: flex;
  182. align-items: center;
  183. padding-left: 30rpx;
  184. }
  185. .user-list{
  186. margin: 0 20rpx;
  187. .head {
  188. z-index: -1;
  189. display: flex;
  190. background-color: #fff;
  191. padding: 0rpx 20rpx;
  192. align-items: center;
  193. position: relative;
  194. height: 100rpx;
  195. margin-top: 20rpx;
  196. border-radius: 20rpx;
  197. .headImage {
  198. width: 75rpx;
  199. height: 75rpx;
  200. background-image: url(/static/image/center/3.png);
  201. background-size: 100% 100%;
  202. overflow: hidden;
  203. border-radius: 50%;
  204. margin-right: 15rpx;
  205. }
  206. .info {
  207. font-size: 22rpx;
  208. .name {
  209. font-size: 26rpx;
  210. color: #333;
  211. }
  212. .tips {
  213. font-size: 22rpx;
  214. color: #999999;
  215. margin-top: 10rpx;
  216. }
  217. }
  218. .headBtn {
  219. position: absolute;
  220. right: 60rpx;
  221. top: 38rpx;
  222. color: #333;
  223. font-size: 26rpx;
  224. }
  225. }
  226. }
  227. }
  228. </style>