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.
 
 
 
 

57 line
1.3 KiB

  1. <!-- -->
  2. <template>
  3. <div class="about">
  4. 这是关于页面
  5. </div>
  6. </template>
  7. <script>
  8. //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  9. //例如:import 《组件名称》 from '《组件路径》';
  10. export default {
  11. name: "About",
  12. props: {},
  13. //import引入的组件需要注入到对象中才能使用
  14. components: {
  15. //defaultPage ,
  16. },
  17. data() {
  18. return {
  19. }
  20. },
  21. //监听属性 类似于data概念
  22. computed: {
  23. key() {
  24. return this.$route.fullPath
  25. }
  26. },
  27. //监控data中的数据变化
  28. watch: {},
  29. //生命周期 - 创建完成(可以访问当前this实例)
  30. async created() {
  31. },
  32. //生命周期 - 挂载完成(可以访问DOM元素)
  33. async mounted() {
  34. },
  35. //方法集合
  36. methods: {
  37. },
  38. //当前页面的filter
  39. filters: {}
  40. }
  41. </script>
  42. <!-- 单页私有css -->
  43. <style scoped>
  44. .about {
  45. padding: 30px;
  46. background-color: #fff;
  47. border-radius: 4px;
  48. min-height: 600px;
  49. }
  50. </style>
  51. <style>
  52. </style>