index.vue 874 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <div class="tab-page">
  3. <div class="page-body">
  4. <h1>守护地图</h1>
  5. <p class="desc">地图功能开发中</p>
  6. </div>
  7. <BaseFooter :init-tab="2" />
  8. </div>
  9. </template>
  10. <script setup lang="ts">
  11. import BaseFooter from '@/components/BaseFooter.vue'
  12. </script>
  13. <style scoped lang="less">
  14. .tab-page {
  15. width: 100%;
  16. height: 100%;
  17. min-height: calc(var(--vh, 1vh) * 100);
  18. background: var(--main-bg);
  19. position: relative;
  20. overflow: hidden;
  21. }
  22. .page-body {
  23. display: flex;
  24. flex-direction: column;
  25. align-items: center;
  26. justify-content: center;
  27. height: calc(var(--vh, 1vh) * 100 - 80rem);
  28. padding: 20rem;
  29. box-sizing: border-box;
  30. h1 {
  31. margin: 0 0 12rem;
  32. font-size: 20rem;
  33. color: #fff;
  34. font-weight: 500;
  35. }
  36. .desc {
  37. margin: 0;
  38. font-size: 14rem;
  39. color: rgba(255, 255, 255, 0.5);
  40. }
  41. }
  42. </style>