guide.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <style>
  2. .page-guide {
  3. padding: 55px 0 95px;
  4. .content {
  5. padding-left: 25px;
  6. margin-left: -1px;
  7. h3 {
  8. font-size: 22px;
  9. font-weight: normal;
  10. margin: 0 0 30px;
  11. color: #1f2d3d;
  12. }
  13. p {
  14. font-size: 14px;
  15. color: #5e6d82;
  16. }
  17. ul {
  18. margin-bottom: 50px;
  19. padding-left: 0;
  20. }
  21. li {
  22. font-size: 14px;
  23. margin-bottom: 10px;
  24. color: #99a9bf;
  25. list-style: none;
  26. &:before {
  27. content: '';
  28. display: inline-block;
  29. width: 4px;
  30. height: @width;
  31. border-radius: 50%;
  32. vertical-align: middle;
  33. background-color: #5e6d82;
  34. margin-right: 5px;
  35. }
  36. strong {
  37. color: #5e6d82;
  38. font-weight: 400;
  39. }
  40. }
  41. }
  42. }
  43. </style>
  44. <template>
  45. <div class="page-container page-guide">
  46. <el-row>
  47. <el-col :span="5">
  48. <side-nav :data="navsData" base="/guide"></side-nav>
  49. </el-col>
  50. <el-col :span="19">
  51. <router-view class="content"></router-view>
  52. </el-col>
  53. </el-row>
  54. </div>
  55. </template>
  56. <script>
  57. export default {
  58. data() {
  59. return {
  60. navsData: [
  61. {
  62. path: '/design',
  63. name: '设计原则'
  64. },
  65. {
  66. path: '/nav',
  67. name: '导航'
  68. }
  69. ]
  70. };
  71. }
  72. };
  73. </script>