mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
docs(NoticeBar): disable swipe drag in demo (#10950)
This commit is contained in:
parent
667034322e
commit
ca583e1075
@ -72,6 +72,7 @@ app.use(NoticeBar);
|
||||
vertical
|
||||
class="notice-swipe"
|
||||
:autoplay="3000"
|
||||
:touchable="false"
|
||||
:show-indicators="false"
|
||||
>
|
||||
<van-swipe-item>Content 1</van-swipe-item>
|
||||
|
@ -88,6 +88,7 @@ app.use(NoticeBar);
|
||||
vertical
|
||||
class="notice-swipe"
|
||||
:autoplay="3000"
|
||||
:touchable="false"
|
||||
:show-indicators="false"
|
||||
>
|
||||
<van-swipe-item>明月直入,无心可猜。</van-swipe-item>
|
||||
|
@ -69,6 +69,7 @@ const t = useTranslate({
|
||||
vertical
|
||||
class="notice-swipe"
|
||||
:autoplay="3000"
|
||||
:touchable="false"
|
||||
:show-indicators="false"
|
||||
>
|
||||
<van-swipe-item>{{ t('poetry1') }}</van-swipe-item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user