diff --git a/src/platforms/h5/components/app/popup/actionSheet.vue b/src/platforms/h5/components/app/popup/actionSheet.vue index c1e60770c341a51eca22a60ca2033a49c78fca5b..3fb8156e0b4802b28304dfb72d383b8924c86298 100644 --- a/src/platforms/h5/components/app/popup/actionSheet.vue +++ b/src/platforms/h5/components/app/popup/actionSheet.vue @@ -8,12 +8,12 @@
+ class="uni-actionsheet"> -
-
+
{{ title }}
export default { name: 'ActionSheet', - props: { - title: { - type: String, - default: '' + props: { + title: { + type: String, + default: '' }, itemList: { type: Array, @@ -77,8 +77,7 @@ export default { width: 100%; background-color: #efeff4; visibility: hidden; - transition-property: transform, visibility; - transition-duration: 0.3s, 0.3s; + transition: transform 0.3s, visibility 0.3s; } uni-actionsheet .uni-actionsheet.uni-actionsheet_toggle { @@ -99,13 +98,13 @@ export default { background-color: #fcfcfd; } - uni-actionsheet .uni-actionsheet__cell , + uni-actionsheet .uni-actionsheet__cell , uni-actionsheet .uni-actionsheet__title { position: relative; padding: 10px 0; text-align: center; font-size: 18px; - } + } uni-actionsheet .uni-actionsheet__cell:before { content: " "; position: absolute; diff --git a/src/platforms/h5/components/app/popup/picker.vue b/src/platforms/h5/components/app/popup/picker.vue index 9f77d1b240b100f477a5e141c2d85f96b7e24078..a78d6d49afccfd8210fb6ea1560f96bdec62f0e0 100644 --- a/src/platforms/h5/components/app/popup/picker.vue +++ b/src/platforms/h5/components/app/popup/picker.vue @@ -372,8 +372,7 @@ uni-picker .uni-picker { width: 100%; background-color: #efeff4; visibility: hidden; - transition-property: transform,visibility; - transition-duration: 0.3s, 0.3s; + transition: transform 0.3s, visibility 0.3s; } uni-picker .uni-picker.uni-picker-toggle {