App.vue 785 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <div class="docs-app">
  3. <router-view></router-view>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. components: {},
  9. data () {
  10. return {
  11. cashViews: [],
  12. links: [
  13. {
  14. to: '/',
  15. text: '首页'
  16. },
  17. {
  18. to: '/content/12',
  19. text: '内容页'
  20. },
  21. {
  22. to: '/search',
  23. text: '列表页'
  24. },
  25. {
  26. to: '/user/docs',
  27. text: '收藏页'
  28. },
  29. {
  30. to: '/user/collections',
  31. text: '收藏页2'
  32. }
  33. ]
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss">
  39. @import "~@/assets/style/reset-ele.scss";
  40. .page--docs--index.bg-white {
  41. background-color: #fff;
  42. .page-container {
  43. background-color: #fff;
  44. }
  45. }
  46. </style>