index.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <script lang="ts" setup>
  2. import { onMounted } from 'vue'
  3. onMounted(() => {})
  4. </script>
  5. <!-- about -->
  6. <template>
  7. <div class="about_container">
  8. <div class="item avatar">
  9. <van-image width="100" height="100" round src="/src/assets/images/mypic.jpg" />
  10. </div>
  11. <div class="item author">项目作者:HaushoLin</div>
  12. <div class="project">Github项目地址:</div>
  13. <div class="item url">
  14. <a href="https://github.com/HSg666/vue3.3-mobile-template">https://github.com/HSg666/vue3.3-mobile-template</a>
  15. </div>
  16. <div class="project">Gitee项目地址:</div>
  17. <div class="item url">
  18. <a href="https://gitee.com/HaushoLin/vue3.3-Mobile-template">https://gitee.com/HaushoLin/vue3.3-Mobile-template</a>
  19. </div>
  20. <div class="project">
  21. 博客地址:
  22. <a href="https://blog.csdn.net/Steven_Son" class="url">https://blog.csdn.net/Steven_Son</a>
  23. </div>
  24. </div>
  25. </template>
  26. <style lang="scss" scoped>
  27. .about_container {
  28. height: 100vh;
  29. display: flex;
  30. align-items: center;
  31. flex-direction: column;
  32. .project {
  33. width: 100%;
  34. text-align: left;
  35. text-indent: 1em;
  36. }
  37. .item {
  38. width: 100%;
  39. margin: 3vw 0 5vw;
  40. text-align: center;
  41. }
  42. .author {
  43. font-size: 32px;
  44. }
  45. .url {
  46. color: #4ca9f2;
  47. font-size: 28px;
  48. .label {
  49. text-align: center;
  50. }
  51. a {
  52. color: #4ca9f2;
  53. }
  54. }
  55. }
  56. </style>