index.vue 752 B

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