docs: 更新文档

This commit is contained in:
就眠仪式 2021-10-22 17:52:43 +08:00
parent c9ac10b546
commit 4003ef92a1
3 changed files with 21 additions and 22 deletions

View File

@ -29,9 +29,7 @@
style="margin-top: 0px; margin-bottom: 0px" style="margin-top: 0px; margin-bottom: 0px"
> >
<li class="layui-nav-item"> <li class="layui-nav-item">
<a <a href="https://gitee.com/layui-vue">
href="https://gitee.com/layui-vue"
>
<lay-icon type="layui-icon-fonts-code" size="18px"></lay-icon> <lay-icon type="layui-icon-fonts-code" size="18px"></lay-icon>
</a> </a>
</li> </li>

View File

@ -40,8 +40,8 @@ const zhCN = [
path: '/zh-CN/guide/sandbox', path: '/zh-CN/guide/sandbox',
component: () => import('../../docs/zh-CN/guide/sandbox.md'), component: () => import('../../docs/zh-CN/guide/sandbox.md'),
meta: { title: '沙盒' }, meta: { title: '沙盒' },
} },
] ],
}, },
{ {
path: '/zh-CN/components', path: '/zh-CN/components',
@ -66,7 +66,8 @@ const zhCN = [
}, },
{ {
path: '/zh-CN/components/breadcrumb', path: '/zh-CN/components/breadcrumb',
component: () => import('../../docs/zh-CN/components/breadcrumb.md'), component: () =>
import('../../docs/zh-CN/components/breadcrumb.md'),
meta: { title: '面包屑' }, meta: { title: '面包屑' },
}, },
{ {
@ -176,7 +177,8 @@ const zhCN = [
}, },
{ {
path: '/zh-CN/components/iconPicker', path: '/zh-CN/components/iconPicker',
component: () => import('../../docs/zh-CN/components/iconPicker.md'), component: () =>
import('../../docs/zh-CN/components/iconPicker.md'),
meta: { title: '图标选择' }, meta: { title: '图标选择' },
}, },
{ {
@ -236,14 +238,14 @@ const zhCN = [
}, },
{ {
path: '/zh-CN/components/colorPicker', path: '/zh-CN/components/colorPicker',
component: () => import('../../docs/zh-CN/components/colorPicker.md'), component: () =>
import('../../docs/zh-CN/components/colorPicker.md'),
meta: { title: '颜色选择器' }, meta: { title: '颜色选择器' },
}, },
] ],
} },
],
] },
}
] ]
export default zhCN export default zhCN

View File

@ -106,8 +106,7 @@
</div> </div>
</div> </div>
</template> </template>
<script> <script></script>
</script>
<style> <style>
.site-banner { .site-banner {
position: relative; position: relative;
@ -240,11 +239,11 @@
-webkit-transition: all 0.5s; -webkit-transition: all 0.5s;
} }
.footer { .footer {
width: 100%; width: 100%;
padding: 30px 15px; padding: 30px 15px;
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;
color: #666; color: #666;
font-weight: 300; font-weight: 300;
} }
</style> </style>