partnerDetail.vue 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <template>
  2. <view class="">
  3. <public-module></public-module>
  4. <view class="headers dis a-c j-start">
  5. <u-icon name="arrow-left" color="#333" size="38" @click="back"></u-icon>
  6. <text style="margin: auto;">管理人详情</text>
  7. </view>
  8. <view class="homeBackground"></view>
  9. <view class="intro dis a-c ">
  10. <image src="/static/image/my/wuxingb.png" mode=""></image>
  11. <view class="dis f-c ml-3">
  12. <text class="title">姓名</text>
  13. <text>18335592986</text>
  14. <view class="dis a-c">
  15. <text>推荐人:Fangfang</text>
  16. <view class="level dis a-c j-c ">
  17. 合伙人
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="body p-2" style="padding-top: 400rpx;">
  23. <view class="card mb-2" v-for="i in 10" :key="i" @click="partnerDetail">
  24. <view class="card-title dis a-c j-s mb-2">
  25. <view class="dis a-c ">
  26. <view class="avatar">
  27. <image src="/static/image/my/wuxingb.png" mode=""></image>
  28. </view>
  29. <text class="name ml-1">ZhangXiLin</text>
  30. </view>
  31. <text>2025.05.21 12:00:59 出单</text>
  32. </view>
  33. <view class="card-data dis a-c j-s ">
  34. <view class="view dis f-c a-c ">
  35. <text>wangxiaoyu</text>
  36. <text>代理人</text>
  37. </view>
  38. <view class="view dis f-c a-c ">
  39. <text>22,552.87</text>
  40. <text>保费</text>
  41. </view>
  42. <view class="view dis f-c a-c ">
  43. <text>152.87</text>
  44. <text>我的佣金</text>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. </template>
  51. <script>
  52. export default {
  53. data() {
  54. return {
  55. }
  56. },
  57. onLoad(e) {
  58. },
  59. methods: {
  60. back() {
  61. uni.navigateBack({
  62. delta: 1, // 返回的页面数,如果是1表示返回上一页
  63. success: function() {}
  64. });
  65. },
  66. onReachBottom() {
  67. if (this.pageRequest.pageNum >= this.totalPages) return;
  68. this.status = 'loading';
  69. this.pageRequest.pageNum = ++this.pageRequest.pageNum;
  70. setTimeout(async () => {
  71. let res = await this.$http.post('/sysPartner/querySysPartnerAPPPage', {
  72. ...this.pageRequest,
  73. source: this.source
  74. });
  75. if (res.code == '200') {
  76. this.totalSize = res.data.totalSize;
  77. this.directLsit = [...this.directLsit, ...res.data.content];
  78. }
  79. if (this.pageRequest.pageNum >= this.totalPages) this.status = 'nomore';
  80. else this.status = 'loading';
  81. }, 1000)
  82. },
  83. }
  84. }
  85. </script>
  86. <style lang="scss" scoped>
  87. .headers {
  88. position: fixed;
  89. top: 0;
  90. left: 0;
  91. height: auto;
  92. width: 100%;
  93. z-index: 999999;
  94. padding: 30rpx;
  95. padding-top: 50px;
  96. text {
  97. font-size: 36rpx;
  98. font-weight: bold;
  99. color: #000;
  100. }
  101. .right {
  102. position: absolute;
  103. right: 30rpx;
  104. image {
  105. width: 28rpx;
  106. height: 28rpx;
  107. margin-right: 4rpx;
  108. }
  109. text {
  110. font-weight: 400;
  111. color: #000;
  112. font-size: 24rpx;
  113. }
  114. }
  115. }
  116. //头部背景
  117. .homeBackground {
  118. position: fixed;
  119. top: 0;
  120. left: 0;
  121. z-index: 999;
  122. width: 100%;
  123. height: 176rpx;
  124. background: linear-gradient(180deg, #D1EFFE 0%, #FFFFFF 100%);
  125. border-bottom: 1rpx solid #f2f2f2;
  126. }
  127. .intro {
  128. position: fixed;
  129. top: 176rpx;
  130. left: 0;
  131. z-index: 999;
  132. width: 100%;
  133. padding: 25rpx 30rpx;
  134. box-sizing: border-box;
  135. background-color: #FFFFFF;
  136. image {
  137. width: 128rpx;
  138. height: 128rpx;
  139. }
  140. text {
  141. font-size: 28rpx;
  142. color: #666;
  143. }
  144. .title {
  145. font-size: 32rpx;
  146. color: #333;
  147. font-weight: bold;
  148. }
  149. .level {
  150. padding: 0 10rpx;
  151. box-sizing: border-box;
  152. font-size: 22rpx;
  153. color: #2D6DFF;
  154. border: 1rpx solid #2D6DFF;
  155. border-radius: 4rpx;
  156. margin-left: 20rpx;
  157. background: rgba(45, 109, 255, 0.1);
  158. }
  159. }
  160. //列表数据
  161. .card {
  162. background: #FFFFFF;
  163. border-radius: 10rpx;
  164. background-image: url("/static/card.png");
  165. background-size: 100% 100%;
  166. border-top: 1px solid;
  167. border-image: linear-gradient(270deg, rgba(45, 109, 255, 0), rgba(45, 109, 255, 1), rgba(45, 109, 255, 0)) 1 1;
  168. padding: 20rpx 30rpx 30rpx;
  169. .card-title {
  170. .avatar {
  171. width: 40rpx;
  172. height: 40rpx;
  173. border-radius: 50%;
  174. image {
  175. width: 100%;
  176. height: 100%;
  177. }
  178. }
  179. >text {
  180. font-size: 24rpx;
  181. color: #666;
  182. }
  183. .name {
  184. font-size: 30rpx;
  185. color: #333;
  186. font-weight: bold;
  187. }
  188. }
  189. .card-data {
  190. .view {
  191. width: 33.33%;
  192. text:first-child {
  193. font-size: 30rpx;
  194. color: #333;
  195. font-weight: bold;
  196. }
  197. text:last-child {
  198. font-size: 24rpx;
  199. color: #999;
  200. }
  201. }
  202. .view:nth-child(2) {
  203. border-left: 1rpx solid #eee;
  204. border-right: 1rpx solid #eee;
  205. }
  206. }
  207. }
  208. </style>