mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
Docs: 修正几处文档错误 (#68)
This commit is contained in:
parent
7f8fe81cdb
commit
a6680e7785
@ -15,7 +15,7 @@
|
|||||||
在模板中使用 zan-steps 模板,并传入相应数据
|
在模板中使用 zan-steps 模板,并传入相应数据
|
||||||
```html
|
```html
|
||||||
<template is="zan-steps" data="{{ type: 'horizon', steps }}"></template>
|
<template is="zan-steps" data="{{ type: 'horizon', steps }}"></template>
|
||||||
|
```
|
||||||
| 参数 | 说明 | 类型 | 默认值 | 必须 |
|
| 参数 | 说明 | 类型 | 默认值 | 必须 |
|
||||||
|-----------|-----------|-----------|-------------|-------------|
|
|-----------|-----------|-----------|-------------|-------------|
|
||||||
| type | steps 的展示状态,可选值为 'horizon', 'vertical' | String | horizon | |
|
| type | steps 的展示状态,可选值为 'horizon', 'vertical' | String | horizon | |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## Toast 轻提示
|
## Tab 标签
|
||||||
|
|
||||||
### 使用指南
|
### 使用指南
|
||||||
在 app.wxss 中引入组件库所有样式
|
在 app.wxss 中引入组件库所有样式
|
||||||
|
@ -25,5 +25,5 @@ Page(Object.assign({}, Toast, {
|
|||||||
### 代码演示
|
### 代码演示
|
||||||
在 js 中直接调用 this.showZanToast 即可
|
在 js 中直接调用 this.showZanToast 即可
|
||||||
```js
|
```js
|
||||||
this.showZanToast('toptips的内容');
|
this.showZanToast('toast的内容');
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user