[文档] 新增 color 文档, 修正 lay-block 组件样式

This commit is contained in:
就眠仪式
2021-09-30 23:49:46 +08:00
parent 7e2f6abc7b
commit 4bad992d9b
14 changed files with 171 additions and 30 deletions

View File

@@ -48,7 +48,6 @@
<router-view></router-view>
</div>
</lay-body>
<lay-footer></lay-footer>
</lay-layout>
</div>
</template>
@@ -79,6 +78,7 @@ export default {
{ id: 17, title: '面包屑',subTitle:"breadcrumb" ,path: '/zh-CN/components/breadcrumb' },
{ id: 18, title: '进度',subTitle:"progress" ,path: '/zh-CN/components/progress' },
{ id: 19, title: '时间线',subTitle:"timeline" ,path: '/zh-CN/components/timeline' },
{ id: 20, title: '颜色',subTitle:"color" ,path: '/zh-CN/components/color' },
]
const selected = ref(1)

View File

@@ -33,7 +33,13 @@ const zhCN = [
path: '/zh-CN/components/layout',
component: () => import('../../docs/zh-CN/components/layout.md'),
meta: { title: '布局' },
}, {
},
{
path: '/zh-CN/components/color',
component: () => import('../../docs/zh-CN/components/color.md'),
meta: { title: '颜色' },
},
{
path: '/zh-CN/components/container',
component: () => import('../../docs/zh-CN/components/container.md'),
meta: { title: '容器' },

View File

@@ -120,7 +120,6 @@ ul {
}
p {
color: #454d64 !important;
margin-top: 20px !important;
font-size: 14px !important;
}
@@ -178,18 +177,6 @@ li > ol {
margin: 0;
}
blockquote {
margin: 1rem 0;
border-left: 0.2rem solid #dfe2e5;
padding: 0.25rem 0 0.25rem 1rem;
font-size: 1rem;
color: #999;
}
blockquote > p {
margin: 0;
}
form {
margin: 0;
}