landTransportation.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <div class="container">
  3. <quick-launch class="item1" :sysType="sysType" />
  4. <!-- <audit-data class="item2" :sysType="sysType"/>-->
  5. <sales-reached class="item2" :sysType="sysType"/>
  6. <sales-trend class="item3" :sysType="sysType"/>
  7. </div>
  8. </template>
  9. <script>
  10. import quickLaunch from "./components/quick-launch";
  11. import auditData from "./components/audit-data";
  12. import realtimeData from "./components/realtime-data";
  13. import salesReached from "./components/sales-reached";
  14. import salesTrend from "./components/sales-trend";
  15. import chargeToday from "./components/charge-today";
  16. import payToday from "./components/pay-today";
  17. export default {
  18. name: "wel",
  19. data() {
  20. return {};
  21. },
  22. props:{
  23. sysType:Number
  24. },
  25. created() {},
  26. components: {
  27. quickLaunch,
  28. auditData,
  29. realtimeData,
  30. salesReached,
  31. salesTrend,
  32. chargeToday,
  33. payToday
  34. },
  35. computed: {},
  36. methods: {}
  37. };
  38. </script>
  39. <style lang="scss" scoped>
  40. .item1 {
  41. grid-area: a;
  42. }
  43. .item2 {
  44. grid-area: b;
  45. }
  46. .item3 {
  47. grid-area: c;
  48. }
  49. .item4 {
  50. grid-area: d;
  51. }
  52. .item5 {
  53. grid-area: e;
  54. }
  55. .container {
  56. display: grid;
  57. width: 100%;
  58. height: 95.5vh;
  59. grid-template-columns: repeat(auto-fill, 10%);
  60. grid-template-rows: 140px 260px 480px;
  61. grid-template-areas:
  62. "a a a a a a a a a a"
  63. "b b b b b b b b b b"
  64. "c c c c c c c c c c"
  65. }
  66. </style>