income.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <template>
  2. <view>
  3. <view class="index">
  4. <image class="index-bg" src="@/static/img/wallet/bg.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/wallet/ad-1.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. uni.navigateTo({
  42. url:'/pages/wallet/wave-point'
  43. })
  44. }else if(type === 2){
  45. // 兑换JM币
  46. }else if(type === 3){
  47. // 提现
  48. }
  49. },
  50. },
  51. }
  52. </script>
  53. <style scoped lang="scss">
  54. .index{
  55. width: 100%;
  56. height: 436rpx;
  57. position: relative;
  58. .index-bg{
  59. width: 100%;
  60. height: 436rpx;
  61. }
  62. .head-money{
  63. position: absolute;
  64. left: 54rpx;
  65. bottom: 76rpx;
  66. .head-mongy-1{
  67. display: flex;
  68. align-items: center;
  69. margin-top: 26rpx;
  70. image{
  71. width: 40rpx;
  72. height: 40rpx;
  73. border-radius: 50%;
  74. margin-right: 12rpx;
  75. }
  76. }
  77. }
  78. }
  79. .t-box{
  80. height: 30rpx;
  81. view{
  82. height: 30rpx;
  83. border-radius: 30rpx 30rpx 0rpx 0rpx;
  84. }
  85. }
  86. .box-card{
  87. min-height: 100rpx;
  88. padding: 0 32rpx 10rpx 32rpx;
  89. .card-echrecs{
  90. width: 100%;
  91. height: 516rpx;
  92. border-radius: 20rpx;
  93. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0,0,0,0.1);
  94. margin-bottom: 30rpx;
  95. padding: 32rpx 36rpx;
  96. .card-echrecs-box{
  97. width: 100%;
  98. height: 400rpx;
  99. margin-top: 20rpx;
  100. }
  101. }
  102. .crad-f{
  103. width: 100%;
  104. height: 160rpx;
  105. border-radius: 20rpx;
  106. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0,0,0,0.1);
  107. }
  108. .card-b{
  109. margin-top: 20rpx;
  110. display: flex;
  111. justify-content: space-between;
  112. view{
  113. width: 332rpx;
  114. height: 88rpx;
  115. line-height: 88rpx;
  116. text-align: center;
  117. }
  118. .tx-view{
  119. box-sizing: border-box;
  120. border: 2rpx solid #FE6915;
  121. }
  122. }
  123. }
  124. </style>