1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <style>
- .page-component {
- padding-bottom: 95px;
- }
- .el-col {
- box-sizing: border-box;
- }
- .page-component {
- .content {
- margin-left: -1px;
-
- > {
- h3 {
- margin: 45px 0 15px;
- }
- table {
- border-collapse: collapse;
- width: 100%;
- background-color: #fff;
- color: #5e6d82;
- font-size: 14px;
- margin-bottom: 45px;
-
- strong {
- font-weight: normal;
- }
- th {
- text-align: left;
- }
- td, th {
- border-bottom: 1px solid #eaeefb;
- padding: 10px 0;
- }
- th {
- border-top: 1px solid #eaeefb;
- background-color: #EFF2F7;
- }
- }
- }
- }
- }
- </style>
- <template>
- <div class="page-container page-component">
- <el-row>
- <el-col :span="6">
- <side-nav :data="navsData" base="/component"></side-nav>
- </el-col>
- <el-col :span="18">
- <router-view class="content"></router-view>
- <footer-nav></footer-nav>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import { navs } from '../route.config';
- export default {
- data() {
- return {
- navsData: navs
- };
- }
- };
- </script>
|