index.vue 602 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view class="content">
  3. <text class="title">{{title}}</text>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. title: 'Hello'
  11. }
  12. },
  13. onLoad() {
  14. },
  15. methods: {
  16. }
  17. }
  18. </script>
  19. <style>
  20. .content {
  21. display: flex;
  22. flex-direction: column;
  23. align-items: center;
  24. justify-content: center;
  25. }
  26. .logo {
  27. height: 200rpx;
  28. width: 200rpx;
  29. margin-top: 200rpx;
  30. margin-left: auto;
  31. margin-right: auto;
  32. margin-bottom: 50rpx;
  33. }
  34. .text-area {
  35. display: flex;
  36. justify-content: center;
  37. }
  38. .title {
  39. font-size: 36rpx;
  40. color: #8f8f94;
  41. }
  42. </style>