index.vue 944 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!--
  2. * @Author: wjc
  3. * @Date: 2019-08-22 19:41:20
  4. * @LastEditors: wjc
  5. * @LastEditTime: 2024-05-28 11:26:08
  6. * @Description:
  7. -->
  8. <template>
  9. <view class="content">
  10. <image class="logo" src="/static/logo.png"></image>
  11. <view class="text-area">
  12. <text class="title">{{ title }}</text>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. title: 'Hello',
  21. }
  22. },
  23. onLoad() {},
  24. methods: {},
  25. }
  26. </script>
  27. <style>
  28. .content {
  29. display: flex;
  30. flex-direction: column;
  31. align-items: center;
  32. justify-content: center;
  33. }
  34. .logo {
  35. height: 200rpx;
  36. width: 200rpx;
  37. margin-top: 200rpx;
  38. margin-left: auto;
  39. margin-right: auto;
  40. margin-bottom: 50rpx;
  41. }
  42. .text-area {
  43. display: flex;
  44. justify-content: center;
  45. }
  46. .title {
  47. font-size: 36rpx;
  48. color: #8f8f94;
  49. }
  50. </style>