Browse Source

upd: swiper is-center

suzigang 3 years ago
parent
commit
2d96a728d7

+ 1 - 1
src/packages/__VUE/overlay/doc.en-US.md

@@ -242,7 +242,7 @@ Set `close on click override` to control whether the click mask is closed. If it
 | ---------------------- | ---------------- | -------------- | ------ |
 | v-model:visible        | Control the display/hide of masks | boolean        | `false`  |
 | z-index                | Custom Mask Level         | string, number | `2000`   |
-| duration               | Display/hide animation duration, in seconds | string, string | `0.3`    |
+| duration               | Display/hide animation duration, in seconds | string, number | `0.3`    |
 | overlay-class          | Custom mask class name   | string         | -      |
 | overlay-style          | Custom Mask Style   | CSSProperties  | -      |
 | lock-scroll            | Whether the background is locked when the mask is displayed     | boolean        | `false`  |

+ 1 - 1
src/packages/__VUE/overlay/doc.md

@@ -240,7 +240,7 @@ app.use(OverLay);
 | ---------------------- | ---------------- | -------------- | ------ |
 | v-model:visible        | 控制遮罩的显示/隐藏 | boolean        | `false`  |
 | z-index                | 自定义遮罩层级         | string, number | `2000`   |
-| duration               | 显示/隐藏的动画时长,单位秒 | string, string | `0.3`    |
+| duration               | 显示/隐藏的动画时长,单位秒 | string, number | `0.3`    |
 | overlay-class          | 自定义遮罩类名   | string         | -      |
 | overlay-style          | 自定义遮罩样式   | CSSProperties  | -      |
 | lock-scroll            | 遮罩显示时的背景是否锁定     | boolean        | `false`  |

+ 0 - 1
src/packages/__VUE/swiper/doc.en-US.md

@@ -529,7 +529,6 @@ You can manually switch through `api` (`prev`, `next`)
 | touchable             | if touchable to slide                                                      | Boolean         | true          |
 | is-prevent-default                  | Disable default events during sliding                                              | Boolean  | true           |
 | is-stop-propagation               | Is bubbling prohibited during sliding                    | Boolean         | true    |
-| is-center| The corresponding `width` and `height` must be passed to determine whether to display in the middle`  | Boolean   | false    |
 
 
 

+ 0 - 1
src/packages/__VUE/swiper/doc.md

@@ -530,7 +530,6 @@ app.use(SwiperItem);
 | touchable             | 是否可触摸滑动                                                      | Boolean         | true          |
 | is-prevent-default                  | 滑动过程中是否禁用默认事件                                              | Boolean  | true           |
 | is-stop-propagation               | 滑动过程中是否禁止冒泡                    | Boolean         | true    |
-| is-center               | 是否居中展示,必须传对应的`width` 和 `height`                    | Boolean         | false    |
 
 
 

+ 0 - 4
src/packages/__VUE/swiper/index.vue

@@ -93,10 +93,6 @@ export default create({
     isStopPropagation: {
       type: Boolean,
       default: true
-    },
-    isCenter: {
-      type: Boolean,
-      default: false
     }
   },
   emits: ['change'],