docs(NoticeBar): disable swipe drag in demo (#10950)
This commit is contained in:
@@ -72,6 +72,7 @@ app.use(NoticeBar);
|
|||||||
vertical
|
vertical
|
||||||
class="notice-swipe"
|
class="notice-swipe"
|
||||||
:autoplay="3000"
|
:autoplay="3000"
|
||||||
|
:touchable="false"
|
||||||
:show-indicators="false"
|
:show-indicators="false"
|
||||||
>
|
>
|
||||||
<van-swipe-item>Content 1</van-swipe-item>
|
<van-swipe-item>Content 1</van-swipe-item>
|
||||||
|
|||||||
@@ -88,6 +88,7 @@ app.use(NoticeBar);
|
|||||||
vertical
|
vertical
|
||||||
class="notice-swipe"
|
class="notice-swipe"
|
||||||
:autoplay="3000"
|
:autoplay="3000"
|
||||||
|
:touchable="false"
|
||||||
:show-indicators="false"
|
:show-indicators="false"
|
||||||
>
|
>
|
||||||
<van-swipe-item>明月直入,无心可猜。</van-swipe-item>
|
<van-swipe-item>明月直入,无心可猜。</van-swipe-item>
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ const t = useTranslate({
|
|||||||
vertical
|
vertical
|
||||||
class="notice-swipe"
|
class="notice-swipe"
|
||||||
:autoplay="3000"
|
:autoplay="3000"
|
||||||
|
:touchable="false"
|
||||||
:show-indicators="false"
|
:show-indicators="false"
|
||||||
>
|
>
|
||||||
<van-swipe-item>{{ t('poetry1') }}</van-swipe-item>
|
<van-swipe-item>{{ t('poetry1') }}</van-swipe-item>
|
||||||
|
|||||||
Reference in New Issue
Block a user