chore: fix prettier version (#7739)
* chore: fix prettier version * docs: fix
This commit is contained in:
@@ -33,21 +33,15 @@ Vue.use(NoticeBar);
|
||||
### Wrapable
|
||||
|
||||
```html
|
||||
<van-notice-bar wrapable :scrollable="false">
|
||||
Notice Content
|
||||
</van-notice-bar>
|
||||
<van-notice-bar wrapable :scrollable="false">Notice Content</van-notice-bar>
|
||||
```
|
||||
|
||||
### Mode
|
||||
|
||||
```html
|
||||
<van-notice-bar mode="closeable">
|
||||
Notice Content
|
||||
</van-notice-bar>
|
||||
<van-notice-bar mode="closeable">Notice Content</van-notice-bar>
|
||||
|
||||
<van-notice-bar mode="link">
|
||||
Notice Content
|
||||
</van-notice-bar>
|
||||
<van-notice-bar mode="link">Notice Content</van-notice-bar>
|
||||
```
|
||||
|
||||
### Custom Style
|
||||
|
||||
@@ -59,14 +59,10 @@ Vue.use(NoticeBar);
|
||||
|
||||
```html
|
||||
<!-- closeable 模式,在右侧显示关闭按钮 -->
|
||||
<van-notice-bar mode="closeable">
|
||||
技术是开发它的人的共同灵魂。
|
||||
</van-notice-bar>
|
||||
<van-notice-bar mode="closeable">技术是开发它的人的共同灵魂。</van-notice-bar>
|
||||
|
||||
<!-- link 模式,在右侧显示链接箭头 -->
|
||||
<van-notice-bar mode="link">
|
||||
技术是开发它的人的共同灵魂。
|
||||
</van-notice-bar>
|
||||
<van-notice-bar mode="link">技术是开发它的人的共同灵魂。</van-notice-bar>
|
||||
```
|
||||
|
||||
### 自定义样式
|
||||
|
||||
Reference in New Issue
Block a user