guide.vue 1.5 KB

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