centerRight2.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <div id="centerRight2">
  3. <div class="bg-color-black">
  4. <div class="d-flex pt-2 pl-2">
  5. <span>
  6. <icon name="align-left" class="text-icon"></icon>
  7. </span>
  8. <span class="fs-xl text mx-2">待处理</span>
  9. </div>
  10. <div class="d-flex jc-center body-box">
  11. <dv-scroll-board class="dv-scr-board" :config="config" />
  12. </div>
  13. </div>
  14. </div>
  15. </template>
  16. <script>
  17. // import centerRight2Chart1 from '@/components/echart/centerRight/centerRightChart'
  18. export default {
  19. data() {
  20. return {
  21. config: {
  22. header: ['待处理', '单数', '金额'],
  23. data: [
  24. ['待开票', '123124', "150000000"],
  25. ['待回款', '123124-2', "100"],
  26. ['待回票', 'dev-123124', "100"],
  27. ['待付款', 'dev-123124', "100"]
  28. ],
  29. // rowNum: 5, //表格行数
  30. headerHeight: 35,
  31. headerBGC: '#0f1325', //表头
  32. oddRowBGC: '#0f1325', //奇数行
  33. evenRowBGC: '#171c33', //偶数行
  34. index: true,
  35. columnWidth: [50],
  36. align: ['center']
  37. }
  38. }
  39. },
  40. // components: { centerRight2Chart1 }
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. #centerRight2 {
  45. $box-height: 401px;
  46. $box-width: 380px;
  47. padding: 5px;
  48. height: $box-height;
  49. width: $box-width;
  50. border-radius: 5px;
  51. display: flex;
  52. // padding-top: 10px;
  53. .bg-color-black {
  54. padding: 5px;
  55. height: $box-height;
  56. width: $box-width;
  57. border-radius: 10px;
  58. }
  59. .text {
  60. color: #c3cbde;
  61. }
  62. .body-box {
  63. border-radius: 10px;
  64. overflow: hidden;
  65. .dv-scr-board {
  66. width: 360px;
  67. height: 340px;
  68. }
  69. }
  70. }
  71. </style>