docs: update docs
This commit is contained in:
parent
7ac20d29af
commit
8ccc64c009
@ -121,7 +121,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="cube" />
|
||||
```
|
||||
|
||||
@ -133,7 +133,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="fade" />
|
||||
```
|
||||
|
||||
@ -145,7 +145,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="coverflow" />
|
||||
```
|
||||
|
||||
@ -157,7 +157,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="flip" />
|
||||
```
|
||||
|
||||
@ -169,7 +169,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="cards" />
|
||||
```
|
||||
|
||||
@ -186,7 +186,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
::: details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="creative" :creativeEffect="{
|
||||
prev: { shadow: true, translate: [0, 0, -400] },
|
||||
next: { translate: ['100%', 0, 0] },
|
||||
@ -205,7 +205,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="creative" :creativeEffect="{
|
||||
prev: { shadow: true, translate: [0, 0, -800], rotate: [180, 0, 0] },
|
||||
next: { shadow: true, translate: [0, 0, -800], rotate: [-180, 0, 0] },
|
||||
@ -224,7 +224,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="creative" :creativeEffect="{
|
||||
prev: { shadow: true, translate: ['-125%', 0, -800], rotate: [0, 0, -90] },
|
||||
next: { shadow: true, translate: ['125%', 0, -800], rotate: [0, 0, 90] },
|
||||
@ -243,7 +243,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper :items="images" effect="creative" :creativeEffect="{
|
||||
prev: { shadow: true, origin: 'left center', translate: ['-5%', 0, -200], rotate: [0, 100, 0] },
|
||||
next: { origin: 'right center', translate: ['5%', 0, -200], rotate: [0, -100, 0] },
|
||||
@ -267,7 +267,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper
|
||||
:items="images"
|
||||
mode="carousel"
|
||||
@ -294,7 +294,7 @@ if (!__VUEPRESS_SSR__) {
|
||||
|
||||
:::details 查看代码
|
||||
|
||||
```vue
|
||||
```md
|
||||
<Swiper
|
||||
:items="images"
|
||||
mode="broadcast"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user