提交学习笔记专用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
459 B

3 weeks ago
  1. <template>
  2. <div class="about">
  3. <h2>关于我们</h2>
  4. </div>
  5. </template>
  6. <script lang="ts" setup name="About">
  7. import { onMounted,onUnmounted } from 'vue'
  8. onMounted(()=>{
  9. console.log('about mounted')
  10. })
  11. onUnmounted(()=>{
  12. console.log('about unmounted')
  13. })
  14. </script>
  15. <style scoped>
  16. .about{
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. height: 100vh;
  21. color:rgb(85,84,84);
  22. font-size: 18px;
  23. }
  24. </style>