home-index.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <script>
  2. export default {
  3. name: "home-index",
  4. components: {},
  5. data() {
  6. return {};
  7. },
  8. mounted() {
  9. },
  10. methods: {},
  11. }
  12. </script>
  13. <template>
  14. <view>
  15. <view class="bgc-f p-20 box-sizing-border b-rad-20 mb-40">
  16. <image
  17. class="head-img"
  18. :src="require('@/static/img/index/index/bannerhome.png')"
  19. mode="widthFix"
  20. ></image>
  21. </view>
  22. <view class="bgc-f p-20 box-sizing-border b-rad-20 mb-40">
  23. <view class="b-rad-20 h-80 align-items-center bgc-f1f9fe">
  24. <view class="flex-1 flex-direction-column align-items-center flex-justify-center">
  25. <view class="fs-28 mb-4">
  26. DAO價格($)
  27. </view>
  28. <view class="fs-28 fw-b">
  29. 0.13
  30. </view>
  31. </view>
  32. <view class="flex-1 flex-direction-column align-items-center flex-justify-center">
  33. <view class="fs-28 mb-4">
  34. DAO餘額
  35. </view>
  36. <view class="fs-28 fw-b">
  37. 0.13
  38. </view>
  39. </view>
  40. <view class="flex-1 flex-direction-column align-items-center flex-justify-center">
  41. <view class="fs-28 mb-4">
  42. 贡献总额
  43. </view>
  44. <view class="fs-28 fw-b">
  45. 0.13
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="bgc-f p-20 box-sizing-border b-rad-20 mb-40">
  51. <view class="fs-28 pt-5 mb-4">
  52. 贡献收益记录
  53. </view>
  54. <view class="bgc-F6F7FA">
  55. <view class="item-box align-items-center flex-justify-space" v-for="item in 3" :key="item.id">
  56. <view>
  57. <view class="mb-4 fs-28 fw-b">贡献数量</view>
  58. <view class="fs-24">2025-01-10</view>
  59. </view>
  60. <view class="align-items-center">
  61. <view class="fs-24">奖励:</view>
  62. <view class="fs-28 fc-ED301D">2.5</view>
  63. </view>
  64. </view>
  65. <view class="h-50 text-align-center fs-28">
  66. ~暂无记录
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </template>
  72. <style scoped lang="scss">
  73. .head-img {
  74. width: 100%;
  75. // height: 128px;
  76. }
  77. .h-80{
  78. height: 160rpx;
  79. }
  80. .h-50{
  81. height: 100rpx;
  82. line-height: 100rpx;
  83. }
  84. .item-box{
  85. width: 100%;
  86. height: 120rpx;
  87. padding: 10rpx 20rpx;
  88. box-sizing: border-box;
  89. border-top: 2rpx solid #e5e5e5;
  90. }
  91. .item-box:first-child {
  92. border-top: none;
  93. }
  94. </style>