dataAnalysis.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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-top: 20px;
  41. .item-img {
  42. width: 54px;
  43. height: 54px;
  44. margin-right: 6px;
  45. }
  46. }
  47. }
  48. }
  49. .dataSummary {
  50. .data-item {
  51. padding: 15px;
  52. border-radius: 6px;
  53. margin-top: 16px;
  54. .kehu-img {
  55. width: 21px;
  56. height: 22px;
  57. margin-right: 12.5px;
  58. }
  59. .businessOpportunity-img {
  60. width: 23px;
  61. height: 23px;
  62. margin-right: 12px;
  63. }
  64. .xiansuo-img {
  65. width: 23px;
  66. height: 23px;
  67. margin-right: 12px;
  68. }
  69. }
  70. }
  71. .businessOpportunityStage {}
  72. .box {
  73. background: #fff;
  74. border-radius: 10px;
  75. padding: 6px 16px 6px 16px;
  76. .box-title {
  77. height: 40px;
  78. border-bottom: 1px solid #E5E4EE;
  79. display: flex;
  80. align-items: center;
  81. justify-content: space-between;
  82. position: relative;
  83. .box-title-left {
  84. padding-left: 10px;
  85. color: #0E1012;
  86. &::after {
  87. content: '';
  88. width: 2px;
  89. border-radius: 10px;
  90. background: #0859d6;
  91. height: 18px;
  92. position: absolute;
  93. left: 0;
  94. top: 50%;
  95. transform: translateY(-50%);
  96. }
  97. }
  98. .box-title-right {
  99. color: #747474;
  100. display: flex;
  101. align-items: center;
  102. }
  103. }
  104. }
  105. }
  106. </style>