[Doc] new theme

This commit is contained in:
陈嘉涵
2019-05-15 20:53:04 +08:00
parent 3cae4288f2
commit d0f4169c86
130 changed files with 1460 additions and 1147 deletions

View File

@@ -48,7 +48,7 @@ export default {
<style lang="less">
.van-doc-intro {
padding-top: 40px;
padding-top: 20px;
font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
text-align: center;
@@ -57,15 +57,8 @@ export default {
height: 120px;
}
h2 {
font-weight: normal;
font-size: 36px;
line-height: 60px;
}
p {
color: #455a64;
font-size: 15px;
margin-bottom: 20px;
}
}
</style>

View File

@@ -4,7 +4,6 @@
v-show="title"
class="van-doc-nav-bar"
:title="title"
:border="false"
:left-arrow="showNav"
@click-left="onBack"
>
@@ -71,7 +70,7 @@ body {
color: @text-color;
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
line-height: 1;
background-color: #f2f3f5;
background-color: #f8f8f8;
-webkit-font-smoothing: antialiased;
}

View File

@@ -11,8 +11,6 @@ module.exports = {
href: '#/'
},
nav: {
'Vue 组件': 'https://youzan.github.io/vant/',
'小程序组件': 'https://youzan.github.io/vant-weapp/',
lang: {
text: 'En',
from: 'zh-CN',