Skip to content

Commit b8e4188

Browse files
committed
[Doc] bump vant-doc 2.0
1 parent 07392f2 commit b8e4188

49 files changed

Lines changed: 568 additions & 774 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### 认真写 PR 的标题,会用于生成 change log。
44

5-
#### 标题规则
5+
### 标题规则
66
[bugfix / breaking change / new feature / improvement] 组件名字:修改内容描述
77

88
说明:

build/webpack.doc.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
test: /\.md$/,
6666
use: [
6767
'vue-loader',
68-
'fast-vue-md-loader'
68+
'@vant/markdown-loader'
6969
]
7070
}
7171
]

docs/markdown/changelog.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 更新日志
1+
# 更新日志
22

3-
## [v0.5.14](https://github.com/youzan/vant-weapp/tree/v0.5.14)
3+
### [v0.5.14](https://github.com/youzan/vant-weapp/tree/v0.5.14)
44
`2019-05-30`
55

66
**Improvements**
@@ -15,7 +15,7 @@
1515
- SubmitBar: 修复 tip-icon 属性无效 [\#1671](https://github.com/youzan/vant-weapp/pull/1671)
1616
- DatetimePicker: 修复wepy中组件初始化报错 [\#1659](https://github.com/youzan/vant-weapp/pull/1659)
1717

18-
## [v0.5.13](https://github.com/youzan/vant-weapp/tree/v0.5.13)
18+
### [v0.5.13](https://github.com/youzan/vant-weapp/tree/v0.5.13)
1919
`2019-05-15`
2020

2121
**Improvements**
@@ -29,7 +29,7 @@
2929
- Checkbox: 修复文本过长时样式异常 [\#1616](https://github.com/youzan/vant-weapp/pull/1616)
3030
- Transition: 修复leave阶段时节点不消失 [\#1621](https://github.com/youzan/vant-weapp/pull/1621)
3131

32-
## [v0.5.12](https://github.com/youzan/vant-weapp/tree/v0.5.12)
32+
### [v0.5.12](https://github.com/youzan/vant-weapp/tree/v0.5.12)
3333
`2019-05-05`
3434

3535
**Improvements**
@@ -47,7 +47,7 @@
4747
- 修复 NoticeBar 使用标签选择器导致框架报错的问题 [\#1574](https://github.com/youzan/vant-weapp/pull/1574)
4848

4949

50-
## [v0.5.11](https://github.com/youzan/vant-weapp/tree/v0.5.11)
50+
### [v0.5.11](https://github.com/youzan/vant-weapp/tree/v0.5.11)
5151
`2019-04-24`
5252

5353
**Bug Fixes**
@@ -70,7 +70,7 @@
7070
- Cell: 新增 useLabelSlot 属性、 新增 label 插槽 [\#1510](https://github.com/youzan/vant-weapp/pull/1510)
7171
- Feild: 新增 error-message-align 属性 [\#1509](https://github.com/youzan/vant-weapp/pull/1509)
7272

73-
## [v0.5.10](https://github.com/youzan/vant-weapp/tree/v0.5.10)
73+
### [v0.5.10](https://github.com/youzan/vant-weapp/tree/v0.5.10)
7474
`2019-04-11`
7575

7676
**Bug Fixes**
@@ -85,7 +85,7 @@
8585

8686

8787

88-
## [v0.5.9](https://github.com/youzan/vant-weapp/tree/v0.5.9)
88+
### [v0.5.9](https://github.com/youzan/vant-weapp/tree/v0.5.9)
8989
`2019-04-03`
9090

9191
**Improvements**
@@ -105,7 +105,7 @@
105105
- Icon: 避免使用标签选择器 [\#1482](https://github.com/youzan/vant-weapp/pull/1482)
106106
- SwipeCell: 修复点击不生效的问题 [\#1459](https://github.com/youzan/vant-weapp/pull/1459)
107107

108-
## [v0.5.8](https://github.com/youzan/vant-weapp/tree/v0.5.8)
108+
### [v0.5.8](https://github.com/youzan/vant-weapp/tree/v0.5.8)
109109
`2019-03-22`
110110

111111
**Improvements**
@@ -129,7 +129,7 @@
129129
- Transition: 修复 show 值切换过快时不消失 [\#1404](https://github.com/youzan/vant-weapp/pull/1404)
130130
- Icon: 修复 info 的层级高于自定义图片 [\#1397](https://github.com/youzan/vant-weapp/pull/1397)
131131

132-
## [v0.5.7](https://github.com/youzan/vant-weapp/tree/v0.5.7)
132+
### [v0.5.7](https://github.com/youzan/vant-weapp/tree/v0.5.7)
133133
`2019-03-09`
134134

135135
**Improvements**
@@ -147,7 +147,7 @@
147147
- Tab: 修复 offset-set 属性失效 [\#1370](https://github.com/youzan/vant-weapp/pull/1370)
148148
- Steps: 兼容微信 7.0.3 环境下渲染错误 [\#1367](https://github.com/youzan/vant-weapp/pull/1367)
149149

150-
## [v0.5.6](https://github.com/youzan/vant-weapp/tree/v0.5.6)
150+
### [v0.5.6](https://github.com/youzan/vant-weapp/tree/v0.5.6)
151151
`2019-02-28`
152152

153153
**Improvements**
@@ -158,7 +158,7 @@
158158
**Bug Fixes**
159159
- Area: 修复有时初始选项错误 [\#1351](https://github.com/youzan/vant-weapp/pull/1351)
160160

161-
## [v0.5.5](https://github.com/youzan/vant-weapp/tree/v0.5.5)
161+
### [v0.5.5](https://github.com/youzan/vant-weapp/tree/v0.5.5)
162162
`2019-02-26`
163163

164164
**Improvements**
@@ -183,7 +183,7 @@
183183

184184
- 使用 miniprogram-api-typings 进行 wx api 类型定义 [\#1344](https://github.com/youzan/vant-weapp/pull/1344)
185185

186-
## [v0.5.4](https://github.com/youzan/vant-weapp/tree/v0.5.4)
186+
### [v0.5.4](https://github.com/youzan/vant-weapp/tree/v0.5.4)
187187
`2019-02-18`
188188

189189
**Improvements**
@@ -201,7 +201,7 @@
201201
- Tab: 初始化时底部线条去除动画效果 [\#1295](https://github.com/youzan/vant-weapp/pull/1295)
202202
- Area: 修复有时初始化选项错误 [\#1317](https://github.com/youzan/vant-weapp/pull/1317)
203203

204-
## [v0.5.3](https://github.com/youzan/vant-weapp/tree/v0.5.3)
204+
### [v0.5.3](https://github.com/youzan/vant-weapp/tree/v0.5.3)
205205
`2019-02-06`
206206

207207
**Improvements**
@@ -242,7 +242,7 @@
242242
- Field: 修复清除图标未居中 [\#1267](https://github.com/youzan/vant-weapp/pull/1267)
243243

244244

245-
## [v0.5.2](https://github.com/youzan/vant-weapp/tree/v0.5.2)
245+
### [v0.5.2](https://github.com/youzan/vant-weapp/tree/v0.5.2)
246246
`2019-01-20`
247247

248248
**Improvements**
@@ -258,7 +258,7 @@
258258
- Area: 修复getIndexes结果不符合预期 [\#1220](https://github.com/youzan/vant-weapp/pull/1220)
259259
- Tabs:回滚使用IntersectionObserver实现的sticky效果 [\#1217](https://github.com/youzan/vant-weapp/pull/1217)
260260

261-
## [v0.5.1](https://github.com/youzan/vant-weapp/tree/v0.5.1)
261+
### [v0.5.1](https://github.com/youzan/vant-weapp/tree/v0.5.1)
262262
`2019-01-10`
263263

264264
**Improvements**
@@ -276,14 +276,14 @@
276276
- 修复 Slider 改变 value 值时错误地触发了 drag 事件的问题 [\#1186](https://github.com/youzan/vant-weapp/pull/1186)
277277

278278

279-
## [v0.5.0](https://github.com/youzan/vant-weapp/tree/v0.5.0)
279+
### [v0.5.0](https://github.com/youzan/vant-weapp/tree/v0.5.0)
280280
`2019-01-05`
281281

282282
**Breaking changes**
283283

284284
在 0.5.0 版本中,我们统一图标规范并重绘了所有图标,同时增加约 100 个新图标。对于同一个图标,我们会提供`实底``线框`两种风格,以星星图标为例,`star`表示实底风格的星星,`star-o`表示线框风格的星星。
285285

286-
<img width="375" height="124" src="//img.yzcdn.cn/vant/icon-style-1222.png">
286+
<img src="//img.yzcdn.cn/vant/icon-style-1222.png">
287287

288288
同时我们也对原有图标做了一定调整,具体改动如下:
289289

@@ -337,7 +337,7 @@
337337
- Collapse: 修复切换时没有动画效果 [\#1140](https://github.com/youzan/vant-weapp/pull/1140)
338338
- Tabs:修复开启animated时导致的滚动问题 [\#1030](https://github.com/youzan/vant-weapp/pull/1030)
339339

340-
## [v0.4.10](https://github.com/youzan/vant-weapp/tree/v0.4.10)
340+
### [v0.4.10](https://github.com/youzan/vant-weapp/tree/v0.4.10)
341341
`2018-12-19`
342342

343343
**Improvements**
@@ -370,7 +370,7 @@
370370
- 修复 Stepper 在iPad中或修改input高度时输入框样式异常 [\#1086](https://github.com/youzan/vant-weapp/pull/1086)
371371
- 修复 ActionSheet 动态设置actions时,渲染后button被打散 [\#1070](https://github.com/youzan/vant-weapp/pull/1070)
372372

373-
## [v0.4.9](https://github.com/youzan/vant-weapp/tree/v0.4.9)
373+
### [v0.4.9](https://github.com/youzan/vant-weapp/tree/v0.4.9)
374374
`2018-12-07`
375375

376376
**Improvements**
@@ -396,7 +396,7 @@
396396
- 修复劫持 setData 方法导致无法适配支付宝小程序的问题 [\#1023](https://github.com/youzan/vant-weapp/pull/1023)
397397

398398

399-
## [v0.4.8](https://github.com/youzan/vant-weapp/tree/v0.4.8)
399+
### [v0.4.8](https://github.com/youzan/vant-weapp/tree/v0.4.8)
400400
`2018-12-03`
401401

402402
**Improvements**
@@ -421,7 +421,7 @@
421421
- 修复 Toast 在 iOS 设备上文字错误换行的问题 [\#959](https://github.com/youzan/vant-weapp/pull/959)
422422

423423

424-
## [v0.4.7](https://github.com/youzan/vant-weapp/tree/v0.4.7)
424+
### [v0.4.7](https://github.com/youzan/vant-weapp/tree/v0.4.7)
425425
`2018-11-26`
426426

427427
**Improvements**
@@ -453,7 +453,7 @@
453453
- 修复 DatetimePicker 设置了 minDate 时初始 value 错误的问题 [\#942](https://github.com/youzan/vant-weapp/pull/942)
454454

455455

456-
## [v0.4.6](https://github.com/youzan/vant-weapp/tree/v0.4.6)
456+
### [v0.4.6](https://github.com/youzan/vant-weapp/tree/v0.4.6)
457457
`2018-11-10`
458458

459459
**Improvements**
@@ -476,7 +476,7 @@
476476
- 修复 TreeSelect 局部滚动与页面下拉刷新冲突的问题 [\#867](https://github.com/youzan/vant-weapp/pull/867)
477477

478478

479-
## [v0.4.5](https://github.com/youzan/vant-weapp/tree/v0.4.5)
479+
### [v0.4.5](https://github.com/youzan/vant-weapp/tree/v0.4.5)
480480
`2018-10-31`
481481

482482
**Improvements**
@@ -488,7 +488,7 @@
488488

489489
- Icon:修复商品角标 icon 兼容性问题 [\#840](https://github.com/youzan/vant-weapp/pull/840)
490490

491-
## [v0.4.4](https://github.com/youzan/vant-weapp/tree/v0.4.4)
491+
### [v0.4.4](https://github.com/youzan/vant-weapp/tree/v0.4.4)
492492
`2018-10-31`
493493

494494
**Improvements**
@@ -503,7 +503,7 @@
503503
- 修复 Tab 动态设置时底部划线样式问题 [\#816](https://github.com/youzan/vant-weapp/pull/816)
504504
- 修复 ellipsis 样式类不生效的问题 [\#810](https://github.com/youzan/vant-weapp/pull/810)
505505

506-
## [v0.4.3](https://github.com/youzan/vant-weapp/tree/v0.4.3)
506+
### [v0.4.3](https://github.com/youzan/vant-weapp/tree/v0.4.3)
507507
`2018-10-24`
508508

509509
**Improvements**
@@ -517,7 +517,7 @@
517517

518518
- ActionSheet: 修复背景色样式问题 [\#807](https://github.com/youzan/vant-weapp/pull/807)
519519

520-
## [v0.4.2](https://github.com/youzan/vant-weapp/tree/v0.4.2)
520+
### [v0.4.2](https://github.com/youzan/vant-weapp/tree/v0.4.2)
521521
`2018-10-19`
522522

523523
**Improvements**
@@ -537,7 +537,7 @@
537537
- 修复 Notify color 参数无效问题 [\#783](https://github.com/youzan/vant-weapp/pull/783)
538538
- 修复 Tabbar 使用插槽时 info 属性不生效的问题 [\#779](https://github.com/youzan/vant-weapp/pull/779)
539539

540-
## [v0.4.1](https://github.com/youzan/vant-weapp/tree/v0.4.1)
540+
### [v0.4.1](https://github.com/youzan/vant-weapp/tree/v0.4.1)
541541
`2018-10-17`
542542

543543
**Improvements**
@@ -551,7 +551,7 @@
551551
- 修复 SubmitBar 按钮文字过大时显示不全的问题 [\#771](https://github.com/youzan/vant-weapp/pull/771)
552552
- 修复 Tab 在 card 类型下 color 属性错误的问题 [\#767](https://github.com/youzan/vant-weapp/pull/767)
553553

554-
## [v0.4.0](https://github.com/youzan/vant-weapp/tree/v0.4.0)
554+
### [v0.4.0](https://github.com/youzan/vant-weapp/tree/v0.4.0)
555555
`2018-10-15`
556556

557557
**Improvements**
@@ -571,7 +571,7 @@
571571
- 修复 SubmitBar 文字颜色过浅的问题
572572
- 修复 Tab 在 card 类型下样式错误的问题 [\#742](https://github.com/youzan/vant-weapp/pull/742)
573573

574-
## [v0.3.8](https://github.com/youzan/vant-weapp/tree/v0.3.8)
574+
### [v0.3.8](https://github.com/youzan/vant-weapp/tree/v0.3.8)
575575
`2018-10-09`
576576

577577
**Improvements**
@@ -590,7 +590,7 @@
590590

591591

592592

593-
## [v0.3.7](https://github.com/youzan/vant-weapp/tree/v0.3.7)
593+
### [v0.3.7](https://github.com/youzan/vant-weapp/tree/v0.3.7)
594594
`2018-10-08`
595595

596596
**Improvements**
@@ -606,7 +606,7 @@
606606
- NoticeBar: 优化样式 [\#699](https://github.com/youzan/vant-weapp/pull/699)
607607

608608

609-
## [v0.3.6](https://github.com/youzan/vant-weapp/tree/v0.3.6)
609+
### [v0.3.6](https://github.com/youzan/vant-weapp/tree/v0.3.6)
610610
`2018-09-30`
611611

612612
**Improvements**
@@ -618,7 +618,7 @@
618618

619619
- 修复 Field readonly 属性不生效的问题 [\#679](https://github.com/youzan/vant-weapp/pull/679)
620620

621-
## [v0.3.5](https://github.com/youzan/vant-weapp/tree/v0.3.5)
621+
### [v0.3.5](https://github.com/youzan/vant-weapp/tree/v0.3.5)
622622
`2018-09-29`
623623

624624
**Improvements**
@@ -632,7 +632,7 @@
632632
- 修复 Tab active 属性默认值错误的问题 [\#665](https://github.com/youzan/vant-weapp/pull/665)
633633

634634

635-
## [v0.3.4](https://github.com/youzan/vant-weapp/tree/v0.3.4)
635+
### [v0.3.4](https://github.com/youzan/vant-weapp/tree/v0.3.4)
636636
`2018-09-27`
637637

638638
**Improvements**
@@ -653,7 +653,7 @@
653653
- 修复 Toast 触发 touch 事件时报错的问题 [\#618](https://github.com/youzan/vant-weapp/pull/618)
654654

655655

656-
## [v0.3.3](https://github.com/youzan/vant-weapp/tree/v0.3.3)
656+
### [v0.3.3](https://github.com/youzan/vant-weapp/tree/v0.3.3)
657657
`2018-09-20`
658658

659659
**Improvements**
@@ -677,7 +677,7 @@
677677
- 修复 Toast 滚动穿透问题 [\#586](https://github.com/youzan/vant-weapp/pull/586)
678678

679679

680-
## [v0.3.2](https://github.com/youzan/vant-weapp/tree/v0.3.2)
680+
### [v0.3.2](https://github.com/youzan/vant-weapp/tree/v0.3.2)
681681
`2018-09-13`
682682

683683
**Improvements**
@@ -701,14 +701,14 @@
701701
- 移除 Cell 目前无法生效的 arrow-direction 属性 [\#559](https://github.com/youzan/vant-weapp/pull/559)
702702

703703

704-
## [v0.3.1](https://github.com/youzan/vant-weapp/tree/v0.3.1)
704+
### [v0.3.1](https://github.com/youzan/vant-weapp/tree/v0.3.1)
705705
`2018-09-08`
706706

707707
**Bug Fixes**
708708

709709
- 修复内置样式无法引入的问题 [\#535](https://github.com/youzan/vant-weapp/pull/535)
710710

711-
## [v0.3.0](https://github.com/youzan/vant-weapp/tree/v0.3.0)
711+
### [v0.3.0](https://github.com/youzan/vant-weapp/tree/v0.3.0)
712712
`2018-09-07`
713713

714714
**Breaking changes**
@@ -734,7 +734,7 @@
734734
- 修复 Button 在加载状态下仍然显示文字的问题 [\#503](https://github.com/youzan/vant-weapp/pull/503)
735735

736736

737-
## [v0.2.1](https://github.com/youzan/vant-weapp/tree/v0.2.1)
737+
### [v0.2.1](https://github.com/youzan/vant-weapp/tree/v0.2.1)
738738
`2018-08-31`
739739

740740
**Improvements**
@@ -754,7 +754,7 @@
754754
- 修复 Tabbar z-index 不生效的问题 [\#474](https://github.com/youzan/vant-weapp/pull/474)
755755

756756

757-
## [v0.2.0](https://github.com/youzan/vant-weapp/tree/v0.2.0)
757+
### [v0.2.0](https://github.com/youzan/vant-weapp/tree/v0.2.0)
758758
`2018-08-22`
759759

760760
**Breaking changes**
@@ -774,7 +774,7 @@
774774

775775
- 修复 share 图标无法加粗的问题 [\#457](https://github.com/youzan/vant-weapp/pull/457)
776776

777-
## [v0.1.1](https://github.com/youzan/vant-weapp/tree/v0.1.1)
777+
### [v0.1.1](https://github.com/youzan/vant-weapp/tree/v0.1.1)
778778
`2018-08-21`
779779

780780
**Improvements**
@@ -790,7 +790,7 @@
790790
- 修复 Field icon slot 无法使用的问题 [\#428](https://github.com/youzan/vant-weapp/pull/428)
791791
- 修复 Switch 组件无法开关的问题 [\#438](https://github.com/youzan/vant-weapp/pull/438)
792792

793-
## [v0.1.0](https://github.com/youzan/vant-weapp/tree/v0.1.0)
793+
### [v0.1.0](https://github.com/youzan/vant-weapp/tree/v0.1.0)
794794
`2018-08-13`
795795

796796
**Breaking changes**
@@ -807,7 +807,7 @@
807807
- 修复 Card 金额为 0 时无法展示的问题
808808

809809

810-
## [v0.0.1](https://github.com/youzan/vant-weapp/tree/v0.0.1)
810+
### [v0.0.1](https://github.com/youzan/vant-weapp/tree/v0.0.1)
811811
`2018-08-10`
812812

813813
**Improvements**

0 commit comments

Comments
 (0)