stat_finance.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <view class="page-box-bg-fff m-t20 r-30 p-30 finance_content">
  3. <StatisticsTitle :genre="0" :leftText="'财务汇总明细'" :rightText="'全部'" @onHandle="onHandle"></StatisticsTitle>
  4. <view class="row-justify-c m-b25">
  5. <view class="subsection">
  6. <uv-subsection :list="list" :bgColor="'#DBE8DB'":activeColor="'#0FB160'" :inactiveColor="'#121212'" :fontSize="14"
  7. custom-style="height: 70rpx;border-radius: 30rpx;" custom-item-style="border-radius: 30rpx;"
  8. :current="current" @change="onChange"></uv-subsection>
  9. </view>
  10. </view>
  11. <view class="">
  12. <view class="sys-from-background-color row-justify-sb center m-b16 r-20 p-20 finance_item"
  13. v-for="(item,index) in 3" :key="index">
  14. <view class="row-c">
  15. <image class="wh-60" src="/static/img/index/index-avatar.png" mode=""></image>
  16. <view class="column m-l16">
  17. <text class="size-28 text-color-12 sys-weight-400">张三</text>
  18. <text class="size-24 text-color-8F9 sys-weight-400">2024.12.14 12:45</text>
  19. </view>
  20. </view>
  21. <text class="size-28 text-color-12 sys-weight-600">200万</text>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. import StatisticsTitle from "@/common/statistics/statistics_title.vue";
  28. export default {
  29. name: 'peak_chart',
  30. components: {
  31. StatisticsTitle
  32. },
  33. data() {
  34. return {
  35. current: 0,
  36. list: ['放款', '回款']
  37. };
  38. },
  39. methods: {
  40. onChange(e) {
  41. this.current = e
  42. }
  43. }
  44. }
  45. </script>
  46. <style lang="scss" scoped>
  47. .finance_content {
  48. // min-height: 600rpx;
  49. }
  50. .subsection {
  51. width: 350rpx;
  52. }
  53. .finance_item:last-child {
  54. margin-bottom: 0;
  55. }
  56. </style>