popularize.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <template>
  2. <view class="es-pl-27 es-pr-27">
  3. <es-nav-bg title="我的推广" ref="esNavBg"></es-nav-bg>
  4. <view class="es-p-r">
  5. <view class="es-mt-10 banner es-icon-user-push-bg es-icon-auto es-c">
  6. <view class="es-fw es-fs-30 es-mt-30">累计佣金</view>
  7. <view class="es-fw es-fs-60">0</view>
  8. <view class="es es-ac es-fw-600 es-mt-2">
  9. <view class="banner-item es-h-88 es es-ac es-br-10">
  10. <view class="es-ml-29 es-w-42 es-h-41 es-icon-default es-icon"></view>
  11. <view class="es-ml-28">
  12. <view class="es-fs-24">我的收益</view>
  13. <view class="es-mt-2 es-fs-30" style="line-height: 1em;">0</view>
  14. </view>
  15. </view>
  16. <view class="es-f1"></view>
  17. <view class="banner-item es-h-88 es es-ac es-br-10">
  18. <view class="es-ml-29 es-w-46 es-h-40 es-icon-user-push-icon-2 es-icon"></view>
  19. <view class="es-ml-28">
  20. <view class="es-fs-24">我的收益</view>
  21. <view class="es-mt-2 es-icon-user-push-info es-icon es-w-103 es-h-21" style=""></view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="con es-bc-white es-br-20 es-mt-20 es es-pt-10 es-pb-10 es-pl-10 es-pr-10">
  27. <view class="item es-icon-auto es-ver es es-pc" v-for="v,i in list" :class="v.icon">
  28. <view class="es-ml-22 es-fw-600">{{v.name}}</view>
  29. <view class="es-ml-22 es-mt-6 es-w-108 es-h-23 es-icon-user-push-info es-icon-auto"></view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. list: [{
  40. name: '推广名片',
  41. url: '',
  42. icon: 'es-icon-user-push-1',
  43. },
  44. {
  45. name: '推广套餐包',
  46. url: '',
  47. icon: 'es-icon-user-push-2',
  48. },
  49. {
  50. name: '医生推广',
  51. url: '',
  52. icon: 'es-icon-user-push-3',
  53. },
  54. {
  55. name: '佣金明细',
  56. url: '',
  57. icon: 'es-icon-user-push-4',
  58. },
  59. {
  60. name: '推广人订单',
  61. url: '',
  62. icon: 'es-icon-user-push-5',
  63. },
  64. {
  65. name: '提现管理',
  66. url: '',
  67. icon: 'es-icon-user-push-6',
  68. },
  69. ]
  70. }
  71. },
  72. onLoad(options) {
  73. },
  74. onPageScroll: function(e) {
  75. this.$refs.esNavBg.scrollBody(e);
  76. },
  77. methods: {
  78. }
  79. }
  80. </script>
  81. <style>
  82. page {
  83. background-color: #fafafa;
  84. }
  85. .banner {
  86. height: 286rpx;
  87. padding: 0 42rpx;
  88. }
  89. .con {
  90. display: flex;
  91. justify-content: space-between;
  92. flex-wrap: wrap;
  93. }
  94. .banner-item {
  95. width: 280rpx;
  96. background-color: rgba(255, 255, 255, 0.47);
  97. }
  98. .es-icon-user-push-1 {
  99. background-image: url(/static/images/other/user/push-1.png);
  100. }
  101. .es-icon-user-push-2 {
  102. background-image: url(/static/images/other/user/push-2.png);
  103. }
  104. /* .es-icon-user-push-3 { background-image: url(/static/images/other/user/push-3.png); } */
  105. .es-icon-user-push-4 {
  106. background-image: url(/static/images/other/user/push-4.png);
  107. }
  108. .es-icon-user-push-5 {
  109. background-image: url(/static/images/other/user/push-5.png);
  110. }
  111. .es-icon-user-push-6 {
  112. background-image: url(/static/images/other/user/push-6.png);
  113. }
  114. .es-icon-user-push-bg {
  115. background-image: url(/static/images/other/user/push-bg.png);
  116. }
  117. /* .es-icon-user-push-icon-1 { background-image: url(/static/images/other/user/push-icon-1.png); } */
  118. .es-icon-user-push-icon-2 {
  119. background-image: url(/static/images/other/user/push-icon-2.png);
  120. }
  121. .es-icon-user-push-info {
  122. background-image: url(/static/images/other/user/push-info.png);
  123. }
  124. .item {
  125. margin: 10rpx;
  126. width: 315rpx;
  127. height: 150rpx;
  128. }
  129. </style>