MiddleSection.vue 490 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <div class="middle-section">
  3. <GlobalMap is-component width="3894" height="2140" />
  4. </div>
  5. </template>
  6. <script lang="ts" setup>
  7. import GlobalMap from '../globalMap/index.vue';
  8. </script>
  9. <style lang="scss" scoped>
  10. .middle-section {
  11. margin: 0 91px;
  12. flex: 1;
  13. height: 2140px;
  14. animation: slideAndFade 1.5s;
  15. }
  16. @keyframes slideAndFade {
  17. 0% {
  18. transform: translateY(218px);
  19. opacity: 0;
  20. }
  21. 100% {
  22. transform: translateX(0);
  23. opacity: 1;
  24. }
  25. }
  26. </style>