uview-plus 3.4.10 → 3.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,7 @@
1
1
  <template>
2
- <view class="u-popup" :class="[customClass]">
2
+ <view class="u-popup" :class="[customClass]"
3
+ :style="{width: show == false ? '0px' : '',
4
+ height: show == false ? '0px' : ''}">
3
5
  <view class="u-popup__trigger">
4
6
  <slot name="trigger">
5
7
  </slot>
@@ -125,19 +125,6 @@
125
125
  </view>
126
126
  </slot>
127
127
  </view>
128
- <up-popup
129
- mode="center"
130
- v-model:show="popupShow">
131
- <video id="myVideo"
132
- :src="currentItemIndex >= 0 ? lists[currentItemIndex].url : ''"
133
- @error="videoErrorCallback" show-center-play-btn
134
- object-fit='cover' show-fullscreen-btn='true'
135
- enable-play-gesture controls
136
- :autoplay="true" auto-pause-if-open-native
137
- @loadedmetadata="loadedVideoMetadata"
138
- :initial-time='0.1'>
139
- </video>
140
- </up-popup>
141
128
  </template>
142
129
  <canvas id="myCanvas" type="2d"
143
130
  style="width: 100px; height: 150px;display: none;"></canvas>
@@ -178,6 +165,19 @@
178
165
  </view>
179
166
  </template>
180
167
  </view>
168
+ <up-popup
169
+ mode="center"
170
+ v-model:show="popupShow">
171
+ <video id="myVideo"
172
+ :src="currentItemIndex >= 0 ? lists[currentItemIndex].url : ''"
173
+ @error="videoErrorCallback" show-center-play-btn
174
+ object-fit='cover' show-fullscreen-btn='true'
175
+ enable-play-gesture controls
176
+ :autoplay="true" auto-pause-if-open-native
177
+ @loadedmetadata="loadedVideoMetadata"
178
+ :initial-time='0.1'>
179
+ </video>
180
+ </up-popup>
181
181
  </view>
182
182
  </template>
183
183
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
- "version": "3.4.10",
5
+ "version": "3.4.11",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",