my_earnings.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <template>
  2. <view class="content">
  3. <!-- <image src="http://139.9.103.171:1888/img/image/bg_share.png" mode="" class="banner" @tap="handleClick"></image> -->
  4. <view class="earn bg-linear-gradient">
  5. <view class="title">我的收益</view>
  6. <view class="earn_bottom">
  7. <view class="price">509<view class="unit">元</view></view>
  8. <view class="btn">提现</view>
  9. </view>
  10. </view>
  11. <view class="rule">我的分享团队规则</view>
  12. <view class="rule_text">店主的分享团队进行消费,店主可获得新邻社区心选商城商品利润金的20~40%收益,分润金额由系统自动生产</view>
  13. <view class="rule_text">店主自购商品可享受20~40%的润金折扣,折扣金额直接在支付结算时自动结算。</view>
  14. <view class="rule_text">店主可以查看团队成员是否进行过第一次消费,店主可以多多鼓励团队购物噢</view>
  15. <view class="list">
  16. <view class="list-head">
  17. <view class="head_left">昵称</view>
  18. <view class="head_right">用户首次完成消费</view>
  19. </view>
  20. <view class="item">
  21. <view class="item_left">
  22. <image src="" mode="" class="photo"></image>
  23. <view class="text">MADS</view>
  24. </view>
  25. <view class="item_right">达成</view>
  26. </view>
  27. <view class="item">
  28. <view class="item_left">
  29. <image src="" mode="" class="photo"></image>
  30. <view class="text">MADS</view>
  31. </view>
  32. <view class="item_right">达成</view>
  33. </view>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default {
  39. data() {
  40. return {
  41. };
  42. },
  43. methods:{
  44. handleClick(){
  45. uni.navigateTo({
  46. url:'/pagesM/pages/share_team_goods'
  47. })
  48. }
  49. }
  50. }
  51. </script>
  52. <style lang="scss">
  53. .content{
  54. background:rgba(255,255,255,1);
  55. display: flex;
  56. flex-direction: column;
  57. align-items: center;
  58. justify-content: center;
  59. .banner{
  60. width:705upx;
  61. height:275upx;
  62. box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
  63. border-radius:30upx;
  64. margin-top:36upx;
  65. }
  66. .earn{
  67. width:705upx;
  68. height:275upx;
  69. box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
  70. border-radius:30upx;
  71. display:flex;
  72. flex-direction: column;
  73. justify-content: center;
  74. margin:36upx 0;
  75. .title{
  76. font-size:30upx;
  77. font-family:PingFang SC;
  78. font-weight:400;
  79. color:rgba(255,255,255,1);
  80. margin-left:68upx;
  81. margin-bottom:63upx;
  82. }
  83. .earn_bottom{
  84. height:88upx;
  85. display:flex;
  86. justify-content: space-between;
  87. align-items:center;
  88. margin-left:68upx;
  89. margin-right:68upx;
  90. .price{
  91. font-size:72upx;
  92. font-family:PingFang SC;
  93. font-weight:bold;
  94. color:rgba(255,255,255,1);
  95. .unit{
  96. font-size:30upx;
  97. color:rgba(255,255,255,1);
  98. display:inline-block;
  99. }
  100. }
  101. .btn{
  102. width:163upx;
  103. height:88upx;
  104. line-height:88upx;
  105. background:rgba(255,255,255,1);
  106. border-radius:44upx;
  107. font-size:30upx;
  108. font-family:PingFang SC;
  109. font-weight:400;
  110. color:$dt-color-primary;
  111. text-align:center
  112. }
  113. }
  114. }
  115. .rule{
  116. font-size:30upx;
  117. font-family:PingFang SC;
  118. font-weight:bold;
  119. color:$dt-color-primary;
  120. margin-bottom:36upx
  121. }
  122. .rule_text{
  123. width:598upx;
  124. font-size:24upx;
  125. font-family:PingFang SC;
  126. font-weight:400;
  127. color:rgba(51,51,51,1);
  128. text-align:center;
  129. line-height:40upx;
  130. margin-top:36upx
  131. }
  132. .list{
  133. width:705upx;
  134. background:rgba(255,255,255,1);
  135. box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
  136. border-radius:30upx;
  137. margin-top:88upx;
  138. margin-bottom: 88upx;
  139. display:flex;
  140. flex-direction: column;
  141. align-items:center;
  142. .list-head{
  143. width:637upx;
  144. height: 100upx;
  145. margin: 0 auto;
  146. display:flex;
  147. justify-content:space-between;
  148. align-items:center;
  149. width:637upx;
  150. .head_left{
  151. width: 83upx;
  152. text-align: center;
  153. font-size:24upx;
  154. font-family:PingFang SC;
  155. font-weight:400;
  156. color:$dt-color-primary;
  157. margin-left: 30upx;
  158. }
  159. .head_right{
  160. width:210upx;
  161. font-size:24upx;
  162. font-family:PingFang SC;
  163. font-weight:400;
  164. color:$dt-color-primary;
  165. text-align: center;
  166. margin-right: 30upx;
  167. }
  168. }
  169. .item{
  170. width:637upx;
  171. height:130upx;
  172. margin: 0 auto;
  173. display:flex;
  174. justify-content:space-between;
  175. align-items:center;
  176. border-bottom: 1upx solid rgba(242,242,242,1);
  177. .item_left{
  178. display:flex;
  179. height:130upx;
  180. align-items:center;
  181. margin-left: 30upx;
  182. .photo{
  183. width:83upx;
  184. height:83upx;
  185. border-radius:50%;
  186. background-color: gray;
  187. }
  188. .text{
  189. margin-left:32upx;
  190. font-size:24upx;
  191. font-family:PingFang SC;
  192. font-weight:400;
  193. color:rgba(102,102,102,1);
  194. }
  195. }
  196. .item_right{
  197. width:210upx;
  198. text-align:center;
  199. font-size:24upx;
  200. font-family:PingFang SC;
  201. font-weight:400;
  202. color:rgba(102,102,102,1);
  203. margin-right: 30upx;
  204. }
  205. }
  206. }
  207. }
  208. </style>