uview-pro 0.5.11 → 0.5.12
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,19 @@
|
|
|
1
|
+
## 0.5.12(2026-03-09)
|
|
2
|
+
|
|
3
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
4
|
+
|
|
5
|
+
- **u-tabs:** 延迟初始化tabs组件以确保正确获取尺寸信息,修复在App端滑块偏移问题(#139) ([90f79ff](https://github.com/anyup/uView-Pro/commit/90f79ff8f1e71a2ebc05be7d0318b8107425e09a))
|
|
6
|
+
- **u-upload:** 优化u-upload组件在暗黑模式下的显示效果 ([24955ad](https://github.com/anyup/uView-Pro/commit/24955ad947d6edc736c695f9052344a83fa191ae))
|
|
7
|
+
- **u-calendar:** 优化日历组件设置为range范围选择时,仅当开始、结束时间选择完成时才可点击确定(#136) ([4dee864](https://github.com/anyup/uView-Pro/commit/4dee864abda5e65a755aaaccbaffc430ca463cdd))
|
|
8
|
+
|
|
9
|
+
### ✨ Features | 新功能
|
|
10
|
+
|
|
11
|
+
- **demo:** 添加H5平台条件编译控制,优化组件描述文案 ([d482223](https://github.com/anyup/uView-Pro/commit/d4822234e1f0e13a6480732350f884d5034368b5))
|
|
12
|
+
|
|
13
|
+
### 👥 Contributors
|
|
14
|
+
|
|
15
|
+
<a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
|
|
16
|
+
|
|
1
17
|
## 0.5.11(2026-03-02)
|
|
2
18
|
|
|
3
19
|
### 🐛 Bug Fixes | Bug 修复
|
|
@@ -226,7 +226,13 @@
|
|
|
226
226
|
<text v-if="endDate">{{ t('uCalendar.to') }}{{ endDate }}</text>
|
|
227
227
|
</view>
|
|
228
228
|
<view class="u-calendar__bottom__btn">
|
|
229
|
-
<u-button
|
|
229
|
+
<u-button
|
|
230
|
+
:type="btnType"
|
|
231
|
+
:disabled="btnDisable"
|
|
232
|
+
shape="circle"
|
|
233
|
+
size="default"
|
|
234
|
+
@click="btnFix(false)"
|
|
235
|
+
>
|
|
230
236
|
{{ t('uCalendar.confirmText') }}
|
|
231
237
|
</u-button>
|
|
232
238
|
</view>
|
|
@@ -335,6 +341,20 @@ const popupValue = computed({
|
|
|
335
341
|
set: (val: boolean) => emit('update:modelValue', val)
|
|
336
342
|
});
|
|
337
343
|
|
|
344
|
+
const btnDisable = computed(() => {
|
|
345
|
+
let disable = false;
|
|
346
|
+
if (props.mode == 'range') {
|
|
347
|
+
if (!startDate.value || !endDate.value) {
|
|
348
|
+
disable = true;
|
|
349
|
+
}
|
|
350
|
+
} else {
|
|
351
|
+
if (!activeDate.value) {
|
|
352
|
+
disable = true;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
return disable;
|
|
356
|
+
});
|
|
357
|
+
|
|
338
358
|
watch([dataChange, lunarChange], () => {
|
|
339
359
|
init();
|
|
340
360
|
});
|
|
@@ -494,7 +494,7 @@ defineExpose({ clear, reUpload, selectFile, upload, retry, remove, doPreviewImag
|
|
|
494
494
|
height: 200rpx;
|
|
495
495
|
overflow: hidden;
|
|
496
496
|
margin: 10rpx;
|
|
497
|
-
background:
|
|
497
|
+
background: var(--u-bg-gray-light);
|
|
498
498
|
position: relative;
|
|
499
499
|
border-radius: 10rpx;
|
|
500
500
|
/* #ifndef APP-NVUE */
|
|
@@ -505,7 +505,7 @@ defineExpose({ clear, reUpload, selectFile, upload, retry, remove, doPreviewImag
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
.u-preview-wrap {
|
|
508
|
-
border: 1px solid
|
|
508
|
+
border: 1px solid var(--u-border-color);
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
.u-add-wrap {
|
|
@@ -520,7 +520,7 @@ defineExpose({ clear, reUpload, selectFile, upload, retry, remove, doPreviewImag
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
.u-add-wrap__hover {
|
|
523
|
-
background-color:
|
|
523
|
+
background-color: var(--u-bg-gray-light);
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
.u-preview-image {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "uview-pro",
|
|
3
3
|
"name": "uview-pro",
|
|
4
4
|
"displayName": "【支持鸿蒙】uView Pro|基于Vue3+TS的高质量UI组件库,支持多主题、暗黑模式、多语言",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.12",
|
|
6
6
|
"description": "uView Pro是基于Vue3+TS的多平台UI框架,提供80+高质量组件、便捷工具和常用模板,支持多主题、暗黑模式、多语言,支持H5/APP/鸿蒙/小程序多端开发。已在鸿蒙应用商店上架,欢迎体验!",
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"module": "index.ts",
|