referral.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <template>
  2. <view class="box">
  3. <view class="contBox">
  4. <view class="top">
  5. <view class="topLeft">
  6. <view class="topLeftTitle">未提现返利</view>
  7. <view class="topLeftNum">839204.00</view>
  8. </view>
  9. <view class="topRight" @click="goRouter('extract')">提现</view>
  10. </view>
  11. <view class="xffl" @click="goRouter('myConnections')">
  12. <view class="xfflTitle">消费返利</view>
  13. <view class="xfflLine">
  14. <view class="xfflLineLeft">
  15. <view class="xfflyq"></view>
  16. <view class="xfflLineLeftTxt">一级人脉/返利</view>
  17. </view>
  18. <view class="xfflLineM">1242 人</view>
  19. <view class="xfflLineR">¥ 2932.00</view>
  20. </view>
  21. <view class="xfflLine">
  22. <view class="xfflLineLeft">
  23. <view class="xfflyq2"></view>
  24. <view class="xfflLineLeftTxt">二级人脉/返利</view>
  25. </view>
  26. <view class="xfflLineM">1242 人</view>
  27. <view class="xfflLineR">¥ 2932.00</view>
  28. </view>
  29. <view class="xfflLine">
  30. <view class="xfflLineLeft">
  31. <view class="xfflyq3"></view>
  32. <view class="xfflLineLeftTxt">三级人脉/返利</view>
  33. </view>
  34. <view class="xfflLineM">1242 人</view>
  35. <view class="xfflLineR">¥ 2932.00</view>
  36. </view>
  37. <view class="xfflLine">
  38. <view class="xfflLineLeft">
  39. <view class="xfflyq4"></view>
  40. <view class="xfflLineLeftTxt">四级人脉/返利</view>
  41. </view>
  42. <view class="xfflLineM">1242 人</view>
  43. <view class="xfflLineR">¥ 2932.00</view>
  44. </view>
  45. </view>
  46. <view class="xffl" @click="goRouter('rebateList')">
  47. <view class="xfflTitle">扫码注册返利</view>
  48. <view class="xfflLine">
  49. <view class="xfflLineLeft">
  50. <view class="xfflyq"></view>
  51. <view class="xfflLineLeftTxt">人数/返利</view>
  52. </view>
  53. <view class="xfflLineM">1242 人</view>
  54. <view class="xfflLineR">¥ 2932.00</view>
  55. </view>
  56. </view>
  57. <view class="lineBox">
  58. <view class="line" @click="goRouter('../partner/myQr')">
  59. <view class="lineLeft">
  60. <image src="../../static/timg/icon_erweima.png" mode="" class="lineLeftImg"></image>
  61. <view class="lineLeftTxt">生成二维码</view>
  62. </view>
  63. <view class="lineRight">
  64. <image src="../../static/timg/icon_arrow_right.png" mode="" class="lineRightImg"></image>
  65. </view>
  66. </view>
  67. </view>
  68. <view class="smBox">
  69. <image src="../../static/timg/icon_shuom.png" mode="" class="smImg"></image>
  70. <view class="smTxt">说明</view>
  71. </view>
  72. </view>
  73. </view>
  74. </template>
  75. <script>
  76. export default {
  77. components: {
  78. },
  79. data() {
  80. return {
  81. themeColor:'',
  82. userInfo:'',
  83. }
  84. },
  85. onLoad(opt) {
  86. this.themeColor = uni.getStorageSync("themeColor");
  87. this.userInfo = uni.getStorageSync("userInfo");
  88. },
  89. onShow() {
  90. },
  91. methods: {
  92. goRouter(url){
  93. uni.navigateTo({
  94. url:url
  95. })
  96. }
  97. }
  98. }
  99. </script>
  100. <style scoped lang="less">
  101. .box {
  102. width: 100vw;
  103. min-height: 100vh;
  104. background: #F4F5F7;
  105. }
  106. .contBox{
  107. padding: 20rpx 24rpx;
  108. }
  109. .top{
  110. background: #FFFFFF;
  111. border-radius: 10rpx;
  112. padding: 24rpx 20rpx;
  113. display: flex;
  114. justify-content: space-between;
  115. }
  116. .topLeftTitle{
  117. font-size: 30rpx;
  118. font-family: PingFangSC-Medium, PingFang SC;
  119. font-weight: 500;
  120. color: #333333;
  121. }
  122. .topLeftNum{
  123. font-size: 40rpx;
  124. font-family: PingFangSC-Semibold, PingFang SC;
  125. font-weight: 600;
  126. color: #FF0000;
  127. padding-top: 24rpx;
  128. }
  129. .topRight{
  130. width: 138rpx;
  131. height: 64rpx;
  132. background: #FF0000;
  133. border-radius: 10rpx;
  134. line-height: 64rpx;
  135. text-align: center;
  136. color: #FFFFFF;
  137. font-size: 28rpx;
  138. margin-top: 34rpx;
  139. }
  140. .xffl{
  141. background: #FFFFFF;
  142. margin-top: 20rpx;
  143. padding: 20rpx;
  144. }
  145. .xfflTitle{
  146. font-size: 30rpx;
  147. font-family: PingFangSC-Medium, PingFang SC;
  148. font-weight: 500;
  149. color: #333333;
  150. }
  151. .xfflLine{
  152. display: flex;
  153. justify-content: space-between;
  154. font-size: 24rpx;
  155. font-family: PingFangSC-Regular, PingFang SC;
  156. font-weight: 400;
  157. color: #333333;
  158. line-height: 33rpx;
  159. padding: 15rpx 0;
  160. }
  161. .xfflyq{
  162. width: 10rpx;
  163. height: 10rpx;
  164. background: #D53533;
  165. border-radius: 50%;
  166. margin-top: 12rpx;
  167. margin-right: 14rpx;
  168. }
  169. .xfflyq2{
  170. width: 10rpx;
  171. height: 10rpx;
  172. background: #3F90F7;
  173. border-radius: 50%;
  174. margin-top: 12rpx;
  175. margin-right: 14rpx;
  176. }
  177. .xfflyq3{
  178. width: 10rpx;
  179. height: 10rpx;
  180. background: #FF4F00;
  181. border-radius: 50%;
  182. margin-top: 12rpx;
  183. margin-right: 14rpx;
  184. }
  185. .xfflyq4{
  186. width: 10rpx;
  187. height: 10rpx;
  188. background: #6F2BE8;
  189. border-radius: 50%;
  190. margin-top: 12rpx;
  191. margin-right: 14rpx;
  192. }
  193. .xfflLineLeft{
  194. display: flex;
  195. }
  196. .xfflLineM{
  197. width: 200rpx;
  198. text-align: center;
  199. }
  200. .xfflLineR{
  201. width: 200rpx;
  202. text-align: right;
  203. }
  204. .lineLeftImg{
  205. width: 34rpx;
  206. height: 34rpx;
  207. }
  208. .lineLeftTxt{
  209. color: #333333;font-size: 28rpx;line-height: 34rpx;padding-left: 24rpx;
  210. }
  211. .lineRIghtNUm{
  212. color: #666666;font-size: 28rpx;line-height: 34rpx;padding-right: 16rpx;
  213. }
  214. .lineRightImg{
  215. width: 12rpx;
  216. height: 20rpx;
  217. margin-top: 7rpx;
  218. }
  219. .lineBox{
  220. background: #FFFFFF;width: 702rpx;margin-top: 20rpx;
  221. }
  222. .line{
  223. display: flex;
  224. justify-content: space-between;
  225. padding: 38rpx 32rpx;
  226. }
  227. .lineLeft{
  228. display: flex;
  229. }
  230. .lineRight{
  231. display: flex;
  232. }
  233. .smImg{
  234. width: 30rpx;height: 30rpx;
  235. }
  236. .smTxt{
  237. font-size: 28rpx;
  238. font-family: PingFangSC-Regular, PingFang SC;
  239. font-weight: 400;
  240. color: #999999;
  241. line-height: 30rpx;
  242. padding-left: 5rpx;
  243. }
  244. .smBox{
  245. display: flex;
  246. justify-content: center;
  247. padding-top: 30rpx;
  248. }
  249. </style>