stat_situation.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <view class="page-box-bg-fff m-t20 r-30 p-30">
  3. <StatisticsTitle :genre="genre" :leftText="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'"
  7. :fontSize="14" custom-style="height: 70rpx;border-radius: 30rpx;"
  8. custom-item-style="border-radius: 30rpx;" :current="current" @change="onChange"></uv-subsection>
  9. </view>
  10. </view>
  11. <view class="">
  12. <view class="sys-from-background-color m-b16 r-20 p-20 finance_item sys-weight-400"
  13. v-for="(item,index) in 3" :key="index">
  14. <view class="" v-if="type === 1">
  15. <view class="row-justify-sb center">
  16. <view class="row-c">
  17. <text class="size-26 text-color-666">客户:</text>
  18. <text class="size-26 text-color-12 sys-weight-500">张三</text>
  19. </view>
  20. <view class="row-c">
  21. <text class="size-24 text-color-666">客户经理:</text>
  22. <text class="size-26 text-color-12sys-weight-500">李四</text>
  23. </view>
  24. </view>
  25. <view class="page-box-bg-fff row-justify-sb center size-24 p-tb16 p-lr40 r-20 m-t20">
  26. <text class="text-color-E21 sys-weight-600">200万</text>
  27. <text>归档确认</text>
  28. <view class="">
  29. <text class="text-color-12">2024/12/23</text>
  30. <text class="text-color-666">用款</text>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="row-justify-sb center size-24 p-tb16 p-lr20 r-20" v-else>
  35. <text>归档确认</text>
  36. <text class="text-color-E21 sys-weight-600">200万</text>
  37. <view class="">
  38. <text class="text-color-12">2024/12/23</text>
  39. <text class="text-color-666">用款</text>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. import PeakChart from "@/common/chart/peak_chart.vue";
  48. import StatisticsTitle from "./statistics_title.vue";
  49. export default {
  50. name: 'stat_situation',
  51. components: {
  52. PeakChart,
  53. StatisticsTitle
  54. },
  55. props: {
  56. type: {
  57. type: Number,
  58. default: 1
  59. },
  60. genre: {
  61. type: Number,
  62. default: 3
  63. },
  64. leftText: {
  65. type: String,
  66. default: '情况说明'
  67. },
  68. },
  69. data() {
  70. return {
  71. list: ['到访情况', '预计出款']
  72. };
  73. }
  74. }
  75. </script>
  76. <style lang="scss" scoped>
  77. .subsection {
  78. width: 350rpx;
  79. }
  80. .finance_item:last-child {
  81. margin-bottom: 0;
  82. }
  83. </style>