index.vue 652 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="content">
  3. <image class="logo" src="/static/logo.png" />
  4. <view class="text-area">
  5. <text class="title">{{ title }}</text>
  6. </view>
  7. </view>
  8. </template>
  9. <script setup lang="ts">
  10. import { ref } from 'vue'
  11. const title = ref('Hello')
  12. </script>
  13. <style>
  14. .content {
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. justify-content: center;
  19. }
  20. .logo {
  21. height: 200rpx;
  22. width: 200rpx;
  23. margin-top: 200rpx;
  24. margin-left: auto;
  25. margin-right: auto;
  26. margin-bottom: 50rpx;
  27. }
  28. .text-area {
  29. display: flex;
  30. justify-content: center;
  31. }
  32. .title {
  33. font-size: 36rpx;
  34. color: #8f8f94;
  35. }
  36. </style>