uview-plus 3.3.49 → 3.3.50

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.
package/changelog.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 3.3.50(2024-12-05)
2
+ fix: 优化popup等对禁止背景滚动机制
3
+
4
+ add: slider在弹窗使用示例
5
+
6
+ fix: card组件类名问题
7
+
8
+ ## 3.3.49(2024-12-02)
9
+ fix: 去除album多余的$u引用
10
+
11
+ fix: 优化图片组件兼容性
12
+
13
+ add: picker组件增加zIndex属性
14
+
15
+ add: text增加是否占满剩余空间属性
16
+
17
+ add: input颜色示例
18
+
1
19
  ## 3.3.48(2024-11-29)
2
20
  add: 文本行数限制样式提高到10行
3
21
 
@@ -18,7 +18,7 @@
18
18
  }"
19
19
  @tap="headClick"
20
20
  >
21
- <view v-if="!$slots.head" class="u-flex u-row-between">
21
+ <view v-if="!$slots.head" class="u-flex u-flex-between">
22
22
  <view class="u-card__head--left u-flex u-line-1" v-if="title">
23
23
  <image
24
24
  :src="thumb"
@@ -5,6 +5,7 @@
5
5
  :duration="duration"
6
6
  :custom-style="overlayStyle"
7
7
  @click="clickHandler"
8
+ @touchmove.stop.prevent="noop"
8
9
  >
9
10
  <slot />
10
11
  </u-transition>
@@ -20,7 +20,7 @@
20
20
  <view
21
21
  class="u-popup__content"
22
22
  :style="[contentStyle]"
23
- @tap.stop="noop"
23
+ @touchmove.stop.prevent="noop"
24
24
  >
25
25
  <u-status-bar v-if="safeAreaInsetTop"></u-status-bar>
26
26
  <slot></slot>
@@ -166,6 +166,10 @@
166
166
  // #ifndef APP-NVUE
167
167
  this.$uGetRect('.u-slider__base').then(rect => {
168
168
  this.sliderRect = rect;
169
+ // console.log('sliderRect', this.sliderRect)
170
+ if (this.sliderRect.width == 0) {
171
+ console.info('如在弹窗等元素中使用,请使用v-if来显示滑块,否则无法计算长度。')
172
+ }
169
173
  this.init()
170
174
  });
171
175
  // #endif
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.3.49",
5
+ "version": "3.3.50",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",
@@ -11,7 +11,8 @@
11
11
  "ui",
12
12
  "uni-app",
13
13
  "uni-app",
14
- "ui"
14
+ "ui",
15
+ "可视化设计"
15
16
  ],
16
17
  "main": "index.js",
17
18
  "repository": "https://github.com/ijry/uview-plus",
@@ -53,9 +54,11 @@
53
54
  "vue3": "y"
54
55
  },
55
56
  "App": {
56
- "app-vue": "y",
57
- "app-nvue": "y"
58
- },
57
+ "app-vue": "y",
58
+ "app-nvue": "y",
59
+ "app-harmony": "u",
60
+ "app-uvue": "u"
61
+ },
59
62
  "H5-mobile": {
60
63
  "Safari": "y",
61
64
  "Android Browser": "y",