建材商城系统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.

281 lines
5.6 KiB

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