uview-plus 3.5.47 → 3.5.51

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,15 @@
1
+ ## 3.5.51(2025-09-19)
2
+ fix: 微信小程序下u-transition包裹的内容因为没有默认flex column而出现布局错误
3
+
4
+ ## 3.5.50(2025-09-18)
5
+ fix: 修复tabbar组件borderColor类型
6
+
7
+ ## 3.5.49(2025-09-18)
8
+ fix: 修复action-sheet列表中第一个item的hover style
9
+
10
+ ## 3.5.48(2025-09-17)
11
+ fix: 修复table2的fixedHeader参数生效
12
+
1
13
  ## 3.5.47(2025-09-16)
2
14
  fix: 修复modelValue类型
3
15
 
@@ -65,6 +65,7 @@
65
65
  @tap.stop="selectHandler(index)"
66
66
  :hover-class="!item.disabled && !item.loading ? 'u-action-sheet--hover' : ''"
67
67
  :hover-stay-time="150"
68
+ :style="getItemHoverStyle(index)"
68
69
  >
69
70
  <template v-if="!item.loading">
70
71
  <text
@@ -199,6 +200,16 @@
199
200
  }
200
201
  }
201
202
  },
203
+ // 动态处理Hover时候第一个item的圆角
204
+ getItemHoverStyle(index) {
205
+ if (index === 0 && this.round && !this.title && !this.description) {
206
+ return {
207
+ borderTopLeftRadius: `${this.round}px`,
208
+ borderTopRightRadius: `${this.round}px`,
209
+ }
210
+ }
211
+ return {}
212
+ },
202
213
  }
203
214
  }
204
215
  </script>
@@ -20,7 +20,7 @@ export const props = defineMixin({
20
20
  },
21
21
  // 上方边框颜色
22
22
  borderColor: {
23
- type: Boolean,
23
+ type: String,
24
24
  default: () => defProps.tabbar.borderColor
25
25
  },
26
26
  // 元素层级z-index
@@ -1,8 +1,12 @@
1
1
  <template>
2
2
  <view class="u-table2" :class="{ 'u-table-border': border }">
3
- <scroll-view scroll-x class="u-table2-content" :style="{ height: height ? height + 'px' : 'auto' }" @scroll="onScroll">
3
+ <scroll-view scroll-x scroll-y class="u-table2-content"
4
+ :style="{ height: height ? addUnit(height) : 'auto' }"
5
+ @scroll="onScroll">
4
6
  <!-- 表头 -->
5
- <view v-if="showHeader" class="u-table-header" :class="{ 'u-table-sticky': fixedHeader }" :style="{minWidth: scrollWidth}">
7
+ <view v-if="showHeader" class="u-table-header"
8
+ :class="{ 'u-table-sticky': fixedHeader }"
9
+ :style="{minWidth: scrollWidth}">
6
10
  <view class="u-table-row">
7
11
  <view v-for="(col, colIndex) in columns" :key="col.key" class="u-table-cell"
8
12
  :class="[col.headerAlign ? 'u-text-' + col.headerAlign : (col.align ? 'u-text-' + col.align : '') ,
@@ -9,6 +9,7 @@
9
9
  // swiper-item,
10
10
  .u-empty,
11
11
  .u-empty__wrap,
12
+ .u-transition,
12
13
  .u-tabs,
13
14
  .u-tabs__wrapper,
14
15
  .u-tabs__wrapper__scroll-view-wrapper,
@@ -17,6 +18,7 @@
17
18
  .u-tabs__wrapper__nav__line,
18
19
  .up-empty,
19
20
  .up-empty__wrap,
21
+ .up-transition,
20
22
  .up-tabs,
21
23
  .up-tabs__wrapper,
22
24
  .up-tabs__wrapper__scroll-view-wrapper,
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.5.47",
5
+ "version": "3.5.51",
6
6
  "description": "零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。",
7
7
  "keywords": [
8
8
  "uview",