docs(NoticeBar): disable swipe drag in demo (#10950)

This commit is contained in:
neverland 2022-08-21 17:28:32 +08:00 committed by GitHub
parent 667034322e
commit ca583e1075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -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>

View File

@ -88,6 +88,7 @@ app.use(NoticeBar);
vertical
class="notice-swipe"
:autoplay="3000"
:touchable="false"
:show-indicators="false"
>
<van-swipe-item>明月直入,无心可猜。</van-swipe-item>

View File

@ -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>