dataAnalysis.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <div class="dataAnalysis">
  3. <!-- 销售简报 -->
  4. <SalesBriefings />
  5. <!-- 数据汇总 -->
  6. <DataSummary />
  7. <!-- 商机阶段 -->
  8. <BusinessEcharts />
  9. </div>
  10. </template>
  11. <script setup>
  12. import { ref } from 'vue';
  13. import { useLifecycle } from '@hooks/useCommon.js';
  14. import requests from "@common/requests"
  15. import SalesBriefings from './salesBriefings.vue';
  16. import DataSummary from './dataSummary.vue';
  17. import BusinessEcharts from './businessEcharts.vue'
  18. useLifecycle({
  19. load: () => {
  20. // 添加加载逻辑
  21. },
  22. init: () => {
  23. }
  24. });
  25. </script>
  26. <style lang='scss'>
  27. /* 样式代码 */
  28. .dataAnalysis {
  29. // margin: 20px 0 16px 0;
  30. // padding: 0 16px;
  31. .transitionEffect {
  32. transition: all .5s ease-in-out;
  33. }
  34. .salesKit {
  35. .content {
  36. width: 100%;
  37. .item {
  38. width: 50%;
  39. display: flex;
  40. margin: 20px 0 10px 0;
  41. .item-img {
  42. width: 44px;
  43. height: 44px;
  44. margin-right: 6px;
  45. }
  46. .xiaozhiti {
  47. font-size: 12px;
  48. }
  49. }
  50. }
  51. }
  52. .dataSummary {
  53. .data-item {
  54. padding: 15px;
  55. border-radius: 6px;
  56. margin-top: 16px;
  57. .kehu-img {
  58. width: 21px;
  59. height: 22px;
  60. margin-right: 12.5px;
  61. }
  62. .businessOpportunity-img {
  63. width: 23px;
  64. height: 23px;
  65. margin-right: 12px;
  66. }
  67. .xiansuo-img {
  68. width: 23px;
  69. height: 23px;
  70. margin-right: 12px;
  71. }
  72. }
  73. }
  74. .businessOpportunityStage {}
  75. .box {
  76. background: #fff;
  77. border-radius: 10px;
  78. padding: 6px 16px 6px 16px;
  79. .box-title {
  80. height: 40px;
  81. border-bottom: 1px solid #E5E4EE;
  82. display: flex;
  83. align-items: center;
  84. justify-content: space-between;
  85. position: relative;
  86. .box-title-left {
  87. padding-left: 10px;
  88. color: #0E1012;
  89. &::after {
  90. content: '';
  91. width: 2px;
  92. border-radius: 10px;
  93. background: #4F8DE0;
  94. height: 18px;
  95. position: absolute;
  96. left: 0;
  97. top: 50%;
  98. transform: translateY(-50%);
  99. }
  100. }
  101. .box-title-right {
  102. color: #747474;
  103. display: flex;
  104. align-items: center;
  105. }
  106. }
  107. }
  108. }
  109. </style>