mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix docs
This commit is contained in:
parent
cf92d2dcba
commit
b945375d97
@ -1,14 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app">
|
<div class="app">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
|
header
|
||||||
</div>
|
</div>
|
||||||
<div class="page-container clearfix">
|
<div class="main-content">
|
||||||
<side-nav :data="navConfig['zh-CN']" base="/component"></side-nav>
|
<div class="page-container clearfix">
|
||||||
<div class="page-content">
|
<side-nav :data="navConfig['zh-CN']" base="/component"></side-nav>
|
||||||
<router-view></router-view>
|
<div class="page-content">
|
||||||
<footer-nav></footer-nav>
|
<router-view></router-view>
|
||||||
|
<footer-nav></footer-nav>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="page-footer">
|
||||||
|
footer
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -71,40 +71,73 @@ ul, ol {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-container {
|
.main-content {
|
||||||
margin: 40px 15px;
|
margin: 40px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page-container {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
display: table;
|
||||||
|
width: 100%;
|
||||||
&::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
width: 1px;
|
|
||||||
height: 10000px;
|
|
||||||
top: 0;
|
|
||||||
left: 220px;
|
|
||||||
background-color: #E5E5E5;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content {
|
.page-content {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-left: 220px;
|
margin-left: 220px;
|
||||||
padding: 0 40px;
|
padding: 0 40px;
|
||||||
|
display: table-cell;
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
> h1,
|
||||||
|
> h2,
|
||||||
|
> h3,
|
||||||
|
> h4,
|
||||||
|
> h5,
|
||||||
|
> h6 {
|
||||||
|
color: #333;
|
||||||
|
line-height: 1.5;
|
||||||
|
margin: 20px 0;
|
||||||
|
font-weight: normal;
|
||||||
|
|
||||||
|
&:hover a {
|
||||||
|
opacity: .4;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
float: left;
|
||||||
|
margin-left: -20px;
|
||||||
|
opacity: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
opacity: .4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> h1 {
|
||||||
|
font-size: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
> h2 {
|
> h2 {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
color: #333;
|
|
||||||
margin: 20px 0;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
> h3 {
|
> h3 {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #333;
|
}
|
||||||
margin: 23px 0;
|
|
||||||
|
> h4 {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
> h5 {
|
||||||
|
font-size: 20px
|
||||||
|
}
|
||||||
|
|
||||||
|
> h6 {
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> p {
|
> p {
|
||||||
@ -141,26 +174,6 @@ ul, ol {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3, h4, h5 {
|
|
||||||
font-weight: normal;
|
|
||||||
color: #1f2f3d;
|
|
||||||
|
|
||||||
&:hover a {
|
|
||||||
opacity: .4;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
float: left;
|
|
||||||
margin-left: -20px;
|
|
||||||
opacity: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
opacity: .4;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
p > code,
|
p > code,
|
||||||
.table code,
|
.table code,
|
||||||
li > code {
|
li > code {
|
||||||
@ -198,3 +211,8 @@ ul, ol {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-footer {
|
||||||
|
height: 150px;
|
||||||
|
margin-top: 40px;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
@ -59,7 +59,8 @@ export default {
|
|||||||
width: 220px;
|
width: 220px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 40px 0;
|
padding: 40px 0;
|
||||||
float: left;
|
display: table-cell;
|
||||||
|
border-right: 1px solid #e5e5e5;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user