-
+
Vant
@@ -84,7 +84,7 @@ export default {
}
img {
- width: 30px;
+ width: 36px;
}
span {
diff --git a/docs/src/doc.config.js b/docs/src/doc.config.js
index f80a29390..9036c34fa 100644
--- a/docs/src/doc.config.js
+++ b/docs/src/doc.config.js
@@ -2,12 +2,19 @@
module.exports = {
'zh-CN': {
header: {
- lang: {
- text: 'En',
- from: 'zh-CN',
- to: 'en-US'
+ logo: {
+ image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
+ title: 'ZanUI',
+ href: 'http://www.youzanyun.com/zanui'
},
- github: 'https://github.com/youzan/vant'
+ nav: {
+ lang: {
+ text: 'En',
+ from: 'zh-CN',
+ to: 'en-US'
+ },
+ github: 'https://github.com/youzan/vant'
+ }
},
footer: {
github: 'https://github.com/youzan/vant',
@@ -278,12 +285,19 @@ module.exports = {
},
'en-US': {
header: {
- lang: {
- text: '中文',
- from: 'en-US',
- to: 'zh-CN'
+ logo: {
+ image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
+ title: 'ZanUI',
+ href: 'http://www.youzanyun.com/zanui'
},
- github: 'https://github.com/youzan/vant'
+ nav: {
+ lang: {
+ text: '中文',
+ from: 'en-US',
+ to: 'zh-CN'
+ },
+ github: 'https://github.com/youzan/vant'
+ }
},
footer: {
github: 'https://github.com/youzan/vant',
diff --git a/docs/src/index.tpl b/docs/src/index.tpl
index 90814eb00..25be4e5ac 100644
--- a/docs/src/index.tpl
+++ b/docs/src/index.tpl
@@ -3,7 +3,7 @@
-
+
Vant - 有赞移动端 Vue 组件库
diff --git a/package.json b/package.json
index 0773247b4..f8bb805be 100644
--- a/package.json
+++ b/package.json
@@ -108,7 +108,7 @@
"style-loader": "^0.19.0",
"uppercamelcase": "^3.0.0",
"url-loader": "^0.6.2",
- "vant-doc": "0.3.18",
+ "vant-doc": "0.3.19",
"vue": "^2.5.9",
"vue-loader": "^13.5.0",
"vue-router": "^3.0.1",
diff --git a/packages/vant-css/assets/Logo.sketch b/packages/vant-css/assets/Logo.sketch
new file mode 100644
index 000000000..ad864f4f7
Binary files /dev/null and b/packages/vant-css/assets/Logo.sketch differ
diff --git a/yarn.lock b/yarn.lock
index 81e9f74d9..6e7211631 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7660,9 +7660,9 @@ validate-npm-package-license@^3.0.1:
spdx-correct "~1.0.0"
spdx-expression-parse "~1.0.0"
-vant-doc@0.3.18:
- version "0.3.18"
- resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-0.3.18.tgz#86f94b931767bd1ba3e2c48015446be1729e0976"
+vant-doc@0.3.19:
+ version "0.3.19"
+ resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-0.3.19.tgz#ba1c9f0b56c62ba1cad6abedd31007e59e005a3d"
dependencies:
cheerio "0.22.0"
decamelize "^1.2.0"