[Doc] update doc site (#407)

This commit is contained in:
neverland 2018-08-12 16:33:54 +08:00 committed by GitHub
parent 5a9516c275
commit 96e3bf74e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 9 deletions

View File

@ -7,20 +7,24 @@
- 新增 Actionsheet 组件
- 新增 Badge 组件
- 新增 BadgeGroup 组件
- 新增 Button 组件
- 新增 Card 组件
- 新增 Cell 组件
- 新增 CellGroup 组件
- 新增 Col 组件
- 新增 Field 组件
- 新增 Icon 组件
- 新增 Layout 组件
- 新增 Loading 组件
- 新增 Panel 组件
- 新增 Popup 组件
- 新增 NavBar 组件
- 新增 NoticeBar 组件
- 新增 Notify 组件
- 新增 Panel 组件
- 新增 Popup 组件
- 新增 Row 组件
- 新增 Search 组件
- 新增 Steps 组件
- 新增 Stepper 组件
- 新增 Steps 组件
- 新增 Switch 组件
- 新增 Tag 组件
- 新增 TreeSelect 组件

View File

@ -13,7 +13,7 @@
<script>
const PREFIX = 'https://img.yzcdn.cn/vant-weapp/';
const MAP = {
index: 'index-201808090730.png',
index: 'index-201808121630.png',
actionsheet: 'actionsheet-201808092138.jpeg',
badge: 'badge-201808092138.png',
button: 'button-201808092138.png',

View File

@ -30,6 +30,10 @@ module.exports = {
{
path: '/changelog',
title: '更新日志'
},
{
path: '/common',
title: '内置样式'
}
]
}

View File

@ -4,7 +4,7 @@ import componentDocs from './docs-entry';
const registerRoute = () => {
const route = [{
path: '*',
redirect: to => `/quickstart`
redirect: to => `/intro`
}];
const navs = docConfig.nav || [];

View File

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "Vant 组件库演示",
"navigationBarTitleText": "Vant Weapp",
"usingComponents": {
"van-panel": "../../dist/panel/index",
"van-cell": "../../dist/cell/index",

View File

@ -1,7 +1,7 @@
<view class="container">
<view class="title">
<image class="logo" src="https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png" />
<view class="title-text">Vant</view>
<view class="title-text">Vant Weapp</view>
</view>
<view class="desc">轻量、可靠的小程序 UI 组件库</view>

View File

@ -15,7 +15,7 @@
}
.title-text {
font-size: 40px;
font-size: 32px;
margin-left: 15px;
font-weight: 400;
font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;