index.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <template>
  2. <div class="water-resource-content">
  3. <div class="left-column">
  4. <div class="left-column-3d">
  5. <div class="module-card">
  6. <SystemIntegration />
  7. </div>
  8. <div class="module-card">
  9. <IntegrationEffect />
  10. </div>
  11. </div>
  12. </div>
  13. <div class="right-column">
  14. <div class="right-column-3d">
  15. <div class="module-card full-height">
  16. <CollaborativeProcess />
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. </template>
  22. <script setup>
  23. import SystemIntegration from "./components/SystemIntegration.vue"
  24. import CollaborativeProcess from "./components/CollaborativeProcess.vue"
  25. import IntegrationEffect from "./components/IntegrationEffect.vue"
  26. import DemonstrationBase from "./components/DemonstrationBase.vue"
  27. </script>
  28. <style lang="scss">
  29. .water-resource-content {
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. right: 0;
  34. bottom: 0;
  35. z-index: 2;
  36. pointer-events: none;
  37. }
  38. .left-column {
  39. position: absolute;
  40. z-index: 4;
  41. width: 398px;
  42. left: 32px;
  43. top: 150px;
  44. bottom: 50px;
  45. perspective: 500px;
  46. perspective-origin: 50% 50%;
  47. .left-column-3d {
  48. position: absolute;
  49. left: 0;
  50. top: 0;
  51. right: 0;
  52. bottom: 0;
  53. display: flex;
  54. flex-direction: column;
  55. justify-content: flex-start;
  56. gap: 20px;
  57. transform: translate3d(0px, 0px, 0px) scaleX(1) scaleY(1) rotateX(0deg) rotateY(6deg) rotateZ(0deg) skewX(0deg) skewY(0deg);
  58. z-index: 4;
  59. }
  60. .module-card {
  61. height: 450px;
  62. background: rgba(0, 20, 40, 0.8);
  63. border: 1px solid rgba(48, 220, 255, 0.3);
  64. border-radius: 10px;
  65. box-shadow: 0 0 20px rgba(48, 220, 255, 0.1);
  66. transform: translateX(-150%);
  67. opacity: 0;
  68. &:first-child {
  69. margin-top: -50px;
  70. }
  71. }
  72. }
  73. .right-column {
  74. position: absolute;
  75. z-index: 4;
  76. width: 398px;
  77. right: 32px;
  78. top: 150px;
  79. bottom: 50px;
  80. perspective: 800px;
  81. perspective-origin: 50% 50%;
  82. .right-column-3d {
  83. position: absolute;
  84. left: 0;
  85. top: 0;
  86. right: 0;
  87. bottom: 0;
  88. display: flex;
  89. flex-direction: column;
  90. justify-content: flex-start;
  91. transform: translate3d(0px, 0px, 0px) scaleX(1) scaleY(1) rotateX(0deg) rotateY(-6deg) rotateZ(0deg) skewX(0deg) skewY(0deg);
  92. }
  93. .module-card {
  94. height: 450px;
  95. background: rgba(0, 20, 40, 0.8);
  96. border: 1px solid rgba(48, 220, 255, 0.3);
  97. border-radius: 10px;
  98. box-shadow: 0 0 20px rgba(48, 220, 255, 0.1);
  99. transform: translateX(150%);
  100. opacity: 0;
  101. &:first-child {
  102. margin-top: -30px;
  103. }
  104. &.full-height {
  105. height: 100%;
  106. margin-top: -30px;
  107. display: flex;
  108. flex-direction: column;
  109. .m-card {
  110. flex: 1;
  111. display: flex;
  112. flex-direction: column;
  113. .m-card-bd {
  114. flex: 1;
  115. }
  116. }
  117. }
  118. }
  119. }
  120. </style>