stat_ranking.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="page-box-bg-fff r-30 p-30 sys-weight-400" :class="is_margin_top?'m-t20':''">
  3. <StatisticsTitle :genre="genre" :leftText="leftText" :rightText="rightText" @onHandle="onHandle">
  4. </StatisticsTitle>
  5. <view v-if="is_type == 1">
  6. <view class="ranking_item sys-from-background-color m-b16 r-20 p-20 p-tb40" v-for="(item,index) in 3"
  7. :key="index">
  8. <view class="row-justify-sb center sys-weight-400 size-28 color-000 r-20">
  9. <view class="row-c line-40">
  10. <image class="wh-30 m-r20" src="/static/img/task/task-phone.png" mode=""></image>
  11. <text>综合业务部一部</text>
  12. </view>
  13. <text>34笔</text>
  14. <view class="sys-weight-600 line-30">
  15. <text class=" text-color-12 m-r10">800万</text>
  16. <uni-icons type="forward" size="14" color="#D8D8D8"></uni-icons>
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. <view v-if="is_type == 2">
  22. <view class="ranking_item sys-from-background-color m-b16 r-20 p-20 row-justify-sb center"
  23. v-for="(item,index) in 3" :key="index">
  24. <view class="row-c sys-weight-400">
  25. <image class="wh-30 m-r20" src="/static/img/task/task-phone.png" mode=""></image>
  26. <image class="wh-60" src="/static/img/index/index-avatar.png" mode=""></image>
  27. <view class="column m-l16">
  28. <text class="size-28 text-color-000 p-b10">张三</text>
  29. <text class="size-24 text-color-666">2024.12.14 12:45</text>
  30. </view>
  31. </view>
  32. <text class="size-28 color-000 sys-weight-600">200万</text>
  33. </view>
  34. </view>
  35. <view v-if="is_type == 3">
  36. <view class="ranking_item sys-from-background-color m-b16 r-20 p-20 row-justify-sb center"
  37. v-for="(item,index) in 3" :key="index">
  38. <view class="row-c sys-weight-400">
  39. <image class="wh-60 m-r30" src="/static/img/index/index-avatar.png" mode=""></image>
  40. <text class="size-28 text-color-000 p-b10">房抵业务</text>
  41. </view>
  42. <text class="size-28 color-000 sys-weight-600">200万</text>
  43. </view>
  44. </view>
  45. </view>
  46. </template>
  47. <script>
  48. import StatisticsTitle from "@/common/statistics/statistics_title.vue";
  49. export default {
  50. name: 'stat_ranking',
  51. components: {
  52. StatisticsTitle
  53. },
  54. props: {
  55. genre: {
  56. type: Number,
  57. default: 0
  58. },
  59. is_type: {
  60. type: Number,
  61. default: 1
  62. },
  63. is_margin_top: {
  64. type: Boolean,
  65. default: true
  66. },
  67. leftText: {
  68. type: String,
  69. default: ''
  70. },
  71. rightText: {
  72. type: String,
  73. default: '全部'
  74. },
  75. },
  76. data() {
  77. return {
  78. };
  79. }
  80. }
  81. </script>
  82. <style lang="scss" scoped>
  83. .ranking_item:last-child {
  84. margin-bottom: 0;
  85. }
  86. </style>