rechargeRecord.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <view class="content" :style="{height:nowHeight}">
  3. <view class="recharge-box" v-for="pay in payList" :key='pay.payId'>
  4. <view class="recharge-time-box">
  5. <view class="recharge-font">智能投顾</view>
  6. <view class="recharge-time">{{pay.payTime}}</view>
  7. </view>
  8. <view class="recharge-money">
  9. <text>{{pay.payMoney}}</text>
  10. </view>
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. nowHeight:getApp().globalData.glbalHeight,
  19. payList:[
  20. {
  21. payTime:'8-28 17:27',
  22. payMoney:'¥ 14',
  23. payId:'A1',
  24. },
  25. {
  26. payTime:'8-27 18:27',
  27. payMoney:'¥ 6',
  28. payId:'A2',
  29. },{
  30. payTime:'8-29 19:27',
  31. payMoney:'¥ 10' ,
  32. payId:'A3',
  33. },
  34. ],
  35. }
  36. },
  37. methods: {
  38. }
  39. }
  40. </script>
  41. <style>
  42. .content {
  43. display: flex;
  44. flex-direction: column;
  45. align-items: center;
  46. justify-content: flex-start;
  47. background: #f4f5f7;
  48. }
  49. .recharge-box {
  50. display: flex;
  51. align-items: center;
  52. justify-content: space-between;
  53. background: #fff;
  54. width:100%;
  55. height: 150upx;
  56. border-bottom: 1upx solid #D8D8D8;
  57. }
  58. .recharge-time-box {
  59. display: flex;
  60. flex-direction: column;
  61. align-items: center;
  62. justify-content: space-between;
  63. margin-left: 5%;
  64. height: 110upx;
  65. }
  66. .recharge-font {
  67. font-size: 30upx;
  68. margin-left: -10%;
  69. }
  70. .recharge-time {
  71. color:#D9D9D9;
  72. font-size: 26upx;
  73. }
  74. .recharge-money {
  75. margin-right: 5%;
  76. }
  77. .recharge-money text {
  78. font-size: 28upx;
  79. }
  80. </style>