mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 06:31:45 +08:00
update document
This commit is contained in:
parent
8ee250f22a
commit
9de9a4f248
@ -21,11 +21,11 @@
|
||||
<style>
|
||||
a.design-download {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
width: 100px;
|
||||
color: #fff;
|
||||
line-height: 40px;
|
||||
background-color: #38f;
|
||||
text-align: center;
|
||||
background-color: #38f;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,6 @@ Modern browsers and Android 4.0+, iOS 6+.
|
||||
* [Weapp UI](https://github.com/youzan/zanui-weapp)
|
||||
* [React UI](https://www.youzanyun.com/zanui/zent)
|
||||
* [Vant Demo](https://github.com/youzan/vant-demo)
|
||||
* [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)
|
||||
|
||||
### LICENSE
|
||||
|
||||
|
@ -36,8 +36,7 @@
|
||||
* [更新日志](#/zh-CN/changelog)
|
||||
* [React 组件库](https://www.youzanyun.com/zanui/zent)
|
||||
* [微信小程序组件库](https://github.com/youzan/zanui-weapp)
|
||||
* [vant-demo](https://github.com/youzan/vant-demo)
|
||||
* [vue-cli-template-vant](https://github.com/youzan/vue-cli-template-vant)
|
||||
* [Vant 示例仓库](https://github.com/youzan/vant-demo)
|
||||
|
||||
### 开源协议
|
||||
|
||||
|
@ -49,15 +49,8 @@ export default {
|
||||
<style lang="less">
|
||||
.van-doc-intro {
|
||||
padding-top: 40px;
|
||||
text-align: center;
|
||||
font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
|
||||
|
||||
&__youzan {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: block;
|
||||
margin: 25px 0 0;
|
||||
}
|
||||
text-align: center;
|
||||
|
||||
&__logo {
|
||||
width: 120px;
|
||||
@ -65,14 +58,14 @@ export default {
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: normal;
|
||||
font-size: 36px;
|
||||
line-height: 60px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 15px;
|
||||
color: #455a64;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -68,10 +68,10 @@ export default {
|
||||
@import '../../packages/style/var';
|
||||
|
||||
body {
|
||||
line-height: 1;
|
||||
color: @text-color;
|
||||
background-color: #f2f3f5;
|
||||
font-family: 'PingFang SC', Helvetica, 'STHeiti STXihei', 'Microsoft YaHei', Tohoma, Arial, sans-serif;
|
||||
line-height: 1;
|
||||
background-color: #f2f3f5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
@ -90,9 +90,9 @@ body {
|
||||
}
|
||||
|
||||
.van-icon {
|
||||
color: @gray-dark;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: @gray-dark;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,15 +71,15 @@ export default {
|
||||
@import '../../../packages/style/var';
|
||||
|
||||
.side-nav {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
padding: 64px 20px 20px;
|
||||
|
||||
.vant-title,
|
||||
.vant-desc {
|
||||
padding-left: 15px;
|
||||
font-weight: normal;
|
||||
user-select: none;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.vant-title {
|
||||
@ -96,16 +96,16 @@ export default {
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 36px;
|
||||
font-weight: 500;
|
||||
margin-left: 15px;
|
||||
font-weight: 500;
|
||||
font-size: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
.vant-desc {
|
||||
font-size: 14px;
|
||||
color: #7d7e80;
|
||||
margin: 0 0 40px;
|
||||
color: #7d7e80;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -113,19 +113,19 @@ export default {
|
||||
position: absolute;
|
||||
top: 24px;
|
||||
right: 24px;
|
||||
overflow: hidden;
|
||||
color: @blue;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
|
||||
span {
|
||||
color: @gray-dark;
|
||||
display: inline-block;
|
||||
width: 48px;
|
||||
color: @gray-dark;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
border: 1px solid #dcdee0;
|
||||
background-color: #f7f8fa;
|
||||
border: 1px solid #dcdee0;
|
||||
|
||||
&:first-child {
|
||||
border-right: none;
|
||||
@ -139,8 +139,8 @@ export default {
|
||||
|
||||
&.active {
|
||||
color: @white;
|
||||
border-color: @blue;
|
||||
background-color: @blue;
|
||||
border-color: @blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -99,10 +99,10 @@ export default {
|
||||
}
|
||||
|
||||
&__item {
|
||||
width: 28%;
|
||||
text-align: center;
|
||||
margin-bottom: 40px;
|
||||
display: inline-block;
|
||||
width: 28%;
|
||||
margin-bottom: 40px;
|
||||
text-align: center;
|
||||
|
||||
&:nth-child(3n+1),
|
||||
&:nth-child(3n+2) {
|
||||
@ -110,23 +110,23 @@ export default {
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
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);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a {
|
||||
font-size: 12px;
|
||||
margin: 4px 0 7px;
|
||||
display: inline-block;
|
||||
margin: 4px 0 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
&--active {
|
||||
|
@ -61,10 +61,10 @@ export default {
|
||||
}
|
||||
|
||||
.van-collapse-item__title {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 40px;
|
||||
align-items: center;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 40px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +47,6 @@
|
||||
"url": "git@github.com:youzan/vant.git"
|
||||
},
|
||||
"keywords": [
|
||||
"youzan",
|
||||
"vue",
|
||||
"component"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user