update document

This commit is contained in:
陈嘉涵 2019-05-11 17:21:43 +08:00
parent 8ee250f22a
commit 9de9a4f248
9 changed files with 31 additions and 41 deletions

View File

@ -21,11 +21,11 @@
<style> <style>
a.design-download { a.design-download {
display: inline-block; display: inline-block;
color: #fff;
width: 100px; width: 100px;
color: #fff;
line-height: 40px; line-height: 40px;
background-color: #38f;
text-align: center; text-align: center;
background-color: #38f;
border-radius: 3px; border-radius: 3px;
} }

View File

@ -34,7 +34,6 @@ Modern browsers and Android 4.0+, iOS 6+.
* [Weapp UI](https://github.com/youzan/zanui-weapp) * [Weapp UI](https://github.com/youzan/zanui-weapp)
* [React UI](https://www.youzanyun.com/zanui/zent) * [React UI](https://www.youzanyun.com/zanui/zent)
* [Vant Demo](https://github.com/youzan/vant-demo) * [Vant Demo](https://github.com/youzan/vant-demo)
* [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)
### LICENSE ### LICENSE

View File

@ -36,8 +36,7 @@
* [更新日志](#/zh-CN/changelog) * [更新日志](#/zh-CN/changelog)
* [React 组件库](https://www.youzanyun.com/zanui/zent) * [React 组件库](https://www.youzanyun.com/zanui/zent)
* [微信小程序组件库](https://github.com/youzan/zanui-weapp) * [微信小程序组件库](https://github.com/youzan/zanui-weapp)
* [vant-demo](https://github.com/youzan/vant-demo) * [Vant 示例仓库](https://github.com/youzan/vant-demo)
* [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)
### 开源协议 ### 开源协议

View File

@ -49,15 +49,8 @@ export default {
<style lang="less"> <style lang="less">
.van-doc-intro { .van-doc-intro {
padding-top: 40px; padding-top: 40px;
text-align: center;
font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif; font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
text-align: center;
&__youzan {
width: 32px;
height: 32px;
display: block;
margin: 25px 0 0;
}
&__logo { &__logo {
width: 120px; width: 120px;
@ -65,14 +58,14 @@ export default {
} }
h2 { h2 {
font-weight: normal;
font-size: 36px; font-size: 36px;
line-height: 60px; line-height: 60px;
font-weight: normal;
} }
p { p {
font-size: 15px;
color: #455a64; color: #455a64;
font-size: 15px;
} }
} }
</style> </style>

View File

@ -68,10 +68,10 @@ export default {
@import '../../packages/style/var'; @import '../../packages/style/var';
body { body {
line-height: 1;
color: @text-color; color: @text-color;
background-color: #f2f3f5;
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif; font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
line-height: 1;
background-color: #f2f3f5;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
@ -90,9 +90,9 @@ body {
} }
.van-icon { .van-icon {
color: @gray-dark;
font-size: 24px; font-size: 24px;
cursor: pointer; cursor: pointer;
color: @gray-dark;
} }
} }

View File

@ -71,15 +71,15 @@ export default {
@import '../../../packages/style/var'; @import '../../../packages/style/var';
.side-nav { .side-nav {
width: 100%;
box-sizing: border-box; box-sizing: border-box;
width: 100%;
padding: 64px 20px 20px; padding: 64px 20px 20px;
.vant-title, .vant-title,
.vant-desc { .vant-desc {
padding-left: 15px;
font-weight: normal; font-weight: normal;
user-select: none; user-select: none;
padding-left: 15px;
} }
.vant-title { .vant-title {
@ -96,16 +96,16 @@ export default {
} }
span { span {
font-size: 36px;
font-weight: 500;
margin-left: 15px; margin-left: 15px;
font-weight: 500;
font-size: 36px;
} }
} }
.vant-desc { .vant-desc {
font-size: 14px;
color: #7d7e80;
margin: 0 0 40px; margin: 0 0 40px;
color: #7d7e80;
font-size: 14px;
} }
} }
@ -113,19 +113,19 @@ export default {
position: absolute; position: absolute;
top: 24px; top: 24px;
right: 24px; right: 24px;
overflow: hidden;
color: @blue; color: @blue;
font-size: 12px; font-size: 12px;
cursor: pointer; cursor: pointer;
overflow: hidden;
span { span {
color: @gray-dark; display: inline-block;
width: 48px; width: 48px;
color: @gray-dark;
line-height: 22px; line-height: 22px;
text-align: center; text-align: center;
display: inline-block;
border: 1px solid #dcdee0;
background-color: #f7f8fa; background-color: #f7f8fa;
border: 1px solid #dcdee0;
&:first-child { &:first-child {
border-right: none; border-right: none;
@ -139,8 +139,8 @@ export default {
&.active { &.active {
color: @white; color: @white;
border-color: @blue;
background-color: @blue; background-color: @blue;
border-color: @blue;
} }
} }
} }

View File

@ -99,10 +99,10 @@ export default {
} }
&__item { &__item {
width: 28%;
text-align: center;
margin-bottom: 40px;
display: inline-block; display: inline-block;
width: 28%;
margin-bottom: 40px;
text-align: center;
&:nth-child(3n+1), &:nth-child(3n+1),
&:nth-child(3n+2) { &:nth-child(3n+2) {
@ -110,23 +110,23 @@ export default {
} }
h4 { h4 {
font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
font-weight: normal;
} }
img { img {
width: 100%; width: 100%;
cursor: pointer;
border-radius: 3px;
background-color: #f8f8f8; background-color: #f8f8f8;
border-radius: 3px;
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1); box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
cursor: pointer;
} }
a { a {
font-size: 12px;
margin: 4px 0 7px;
display: inline-block; display: inline-block;
margin: 4px 0 7px;
font-size: 12px;
} }
&--active { &--active {

View File

@ -61,10 +61,10 @@ export default {
} }
.van-collapse-item__title { .van-collapse-item__title {
font-size: 16px;
font-weight: 500;
line-height: 40px;
align-items: center; align-items: center;
font-weight: 500;
font-size: 16px;
line-height: 40px;
border-radius: 2px; border-radius: 2px;
} }
} }

View File

@ -47,7 +47,6 @@
"url": "git@github.com:youzan/vant.git" "url": "git@github.com:youzan/vant.git"
}, },
"keywords": [ "keywords": [
"youzan",
"vue", "vue",
"component" "component"
], ],