income.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <template>
  2. <view>
  3. <view class="index">
  4. <image class="index-bg" src="@/static/img/perfect/img2.png" mode="scaleToFill"></image>
  5. <view class="head-money">
  6. <view class="sys-color-794B06 sys-size-28">我的波点(个)</view>
  7. <view class="head-mongy-1">
  8. <view class="sys-size-52 sys-color-362100 sys-weight-600">138</view>
  9. </view>
  10. </view>
  11. </view>
  12. <view class="t-box sys-background-FFDFC3">
  13. <view class="sys-background-gray-f"></view>
  14. </view>
  15. <view class="box-sizing-border box-card">
  16. <view class="card-echrecs box-sizing-border">
  17. <view class="sys-size-32 sys-color-gray-3 sys-weight-600">每日波点</view>
  18. <view class="card-echrecs-box">
  19. <ColumnEcharts ref="columnEcharts"></ColumnEcharts>
  20. </view>
  21. </view>
  22. <image class="crad-f" src="@/static/img/perfect/img2.png" mode="scaleToFill" @click="selectFun(1)"></image>
  23. <view class="card-b">
  24. <view class="sys-background-FE6915 sys-radius-16 sys-size-32 sys-color-white sys-weight-600" @click="selectFun(2)">兑换JM币</view>
  25. <view class="sys-radius-16 tx-view sys-size-32 sys-color-FE6915 sys-weight-600" @click="selectFun(3)">提现</view>
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. import ColumnEcharts from './column-echarts.vue';
  32. export default {
  33. components:{ColumnEcharts},
  34. data(){
  35. return{
  36. }
  37. },
  38. methods:{
  39. selectFun(type){
  40. if(type === 1){
  41. // 波点兑换
  42. }else if(type === 2){
  43. // 兑换JM币
  44. }else if(type === 3){
  45. // 提现
  46. }
  47. },
  48. },
  49. }
  50. </script>
  51. <style scoped lang="scss">
  52. .index{
  53. width: 100%;
  54. height: 436rpx;
  55. position: relative;
  56. .index-bg{
  57. width: 100%;
  58. height: 436rpx;
  59. }
  60. .head-money{
  61. position: absolute;
  62. left: 54rpx;
  63. bottom: 76rpx;
  64. .head-mongy-1{
  65. display: flex;
  66. align-items: center;
  67. margin-top: 26rpx;
  68. image{
  69. width: 40rpx;
  70. height: 40rpx;
  71. border-radius: 50%;
  72. margin-right: 12rpx;
  73. }
  74. }
  75. }
  76. }
  77. .t-box{
  78. height: 30rpx;
  79. view{
  80. height: 30rpx;
  81. border-radius: 30rpx 30rpx 0rpx 0rpx;
  82. }
  83. }
  84. .box-card{
  85. min-height: 100rpx;
  86. padding: 0 32rpx 10rpx 32rpx;
  87. .card-echrecs{
  88. width: 100%;
  89. height: 516rpx;
  90. border-radius: 20rpx;
  91. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0,0,0,0.1);
  92. margin-bottom: 30rpx;
  93. padding: 32rpx 36rpx;
  94. .card-echrecs-box{
  95. width: 100%;
  96. height: 400rpx;
  97. margin-top: 20rpx;
  98. }
  99. }
  100. .crad-f{
  101. width: 100%;
  102. height: 160rpx;
  103. border-radius: 20rpx;
  104. }
  105. .card-b{
  106. margin-top: 20rpx;
  107. display: flex;
  108. justify-content: space-between;
  109. view{
  110. width: 332rpx;
  111. height: 88rpx;
  112. line-height: 88rpx;
  113. text-align: center;
  114. }
  115. .tx-view{
  116. box-sizing: border-box;
  117. border: 2rpx solid #FE6915;
  118. }
  119. }
  120. }
  121. </style>