all_profit.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <script>
  2. export default {
  3. name: "all-profit",
  4. components: {},
  5. data() {
  6. return {};
  7. },
  8. mounted() {},
  9. methods: {
  10. returnBut() {
  11. uni.navigateBack({
  12. delta: 1
  13. });
  14. }
  15. },
  16. }
  17. </script>
  18. <template>
  19. <view class="flex-common-css box-sizing-border box-b">
  20. <view class="nav-box bgc-f box-sizing-border align-items-center">
  21. <!-- <i @click="returnBut" class="el-icon-arrow-left fw-b fs-20 mr-10"></i> -->
  22. <uni-icons @click="returnBut" type="left" size="20"></uni-icons>
  23. <view class="fs-14 fw-b">总收益</view>
  24. </view>
  25. <view class="head-box flex-direction-column align-items-center flex-justify-center b-rad-10 mb-10">
  26. <view class="fs-14 fc-f mb-4">
  27. 总收益
  28. </view>
  29. <view class="fs-18 fc-f fw-b mb-4">
  30. 100
  31. </view>
  32. <view class="fs-14 fc-f text-align-center tx-box b-rad-20">
  33. 提现
  34. </view>
  35. </view>
  36. <view class="fs-14 fw-b mb-10">
  37. 历史明细
  38. </view>
  39. <view class="scroll-view-css b-rad-10">
  40. <view v-for="item in 18" :key="item.id"
  41. class="p-10 box-sizing-border bgc-f b-rad-10 align-items-center flex-justify-space">
  42. <view>
  43. <view class="fs-14 fw-b mb-4">
  44. 静态释放
  45. </view>
  46. <view class="fs-12 fc-858585">
  47. 2023-12-11 20:44:10
  48. </view>
  49. </view>
  50. <view class="fs-14 fw-b">
  51. 0.4
  52. </view>
  53. </view>
  54. <view class="fs-14 text-align-center pt-10">
  55. ~暂无记录
  56. </view>
  57. </view>
  58. </view>
  59. </template>
  60. <style scoped lang="scss">
  61. .box-b {
  62. padding: 60px 10px 10px;
  63. }
  64. .nav-box {
  65. width: 100%;
  66. height: 40px;
  67. line-height: 40px;
  68. position: absolute;
  69. top: 0;
  70. left: 0;
  71. padding-left: 10px;
  72. }
  73. .tx-box {
  74. width: 30%;
  75. height: 40px;
  76. background: #ff952d;
  77. line-height: 40px;
  78. }
  79. .head-box {
  80. padding: 30px 0;
  81. background-image: linear-gradient(270deg, #ffc62c, #ffa954);
  82. }
  83. </style>