123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <style>
- .el-col {
- box-sizing: border-box;
- }
- .page-guide {
- padding: 55px 0 95px;
- .content {
- padding-left: 25px;
- border-left: 1px solid #eaeefa;
- margin-left: -1px;
- h3 {
- font-size: 22px;
- font-weight: normal;
- margin: 0 0 30px;
- color: #1f2d3d;
- }
- p {
- font-size: 14px;
- color: #5e6d82;
- }
- ul {
- margin-bottom: 50px;
- padding-left: 0;
- }
- li {
- font-size: 14px;
- margin-bottom: 10px;
- color: #99a9bf;
- list-style: none;
- &:before {
- content: '';
- display: inline-block;
- width: 4px;
- height: @width;
- border-radius: 50%;
- vertical-align: middle;
- background-color: #5e6d82;
- margin-right: 5px;
- }
- strong {
- color: #5e6d82;
- font-weight: 400;
- }
- }
- }
- }
- </style>
- <template>
- <div class="page-container page-guide">
- <el-row>
- <el-col :span="5">
- <side-nav :data="navsData" base="/guide"></side-nav>
- </el-col>
- <el-col :span="19">
- <router-view class="content"></router-view>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- navsData: [
- {
- path: '/design',
- name: '设计原则'
- },
- {
- path: '/nav',
- name: '导航'
- }
- ]
- };
- }
- };
- </script>
|