uview-plus 3.4.44 → 3.4.46
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 +14 -0
- package/components/u-picker/u-picker.vue +4 -4
- package/components/u-picker-data/u-picker-data.vue +1 -0
- package/components/u-row-notice/u-row-notice.vue +1 -1
- package/components/u-td/u-td.vue +28 -0
- package/components/u-upload/props.js +4 -0
- package/components/u-upload/u-upload.vue +1 -1
- package/components/u-upload/upload.js +2 -1
- package/libs/util/gcanvas/bridge/bridge-weex.js +0 -0
- package/libs/util/gcanvas/context-2d/FillStyleLinearGradient.js +0 -0
- package/libs/util/gcanvas/context-2d/FillStylePattern.js +0 -0
- package/libs/util/gcanvas/context-2d/FillStyleRadialGradient.js +0 -0
- package/libs/util/gcanvas/context-2d/RenderingContext.js +0 -0
- package/libs/util/gcanvas/context-webgl/ActiveInfo.js +0 -0
- package/libs/util/gcanvas/context-webgl/Buffer.js +0 -0
- package/libs/util/gcanvas/context-webgl/Framebuffer.js +0 -0
- package/libs/util/gcanvas/context-webgl/GLenum.js +0 -0
- package/libs/util/gcanvas/context-webgl/GLmethod.js +0 -0
- package/libs/util/gcanvas/context-webgl/GLtype.js +0 -0
- package/libs/util/gcanvas/context-webgl/Program.js +0 -0
- package/libs/util/gcanvas/context-webgl/Renderbuffer.js +0 -0
- package/libs/util/gcanvas/context-webgl/RenderingContext.js +0 -0
- package/libs/util/gcanvas/context-webgl/Shader.js +0 -0
- package/libs/util/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -0
- package/libs/util/gcanvas/context-webgl/Texture.js +0 -0
- package/libs/util/gcanvas/context-webgl/UniformLocation.js +0 -0
- package/libs/util/gcanvas/context-webgl/classUtils.js +0 -0
- package/libs/util/gcanvas/env/canvas.js +0 -0
- package/libs/util/gcanvas/env/image.js +0 -0
- package/libs/util/gcanvas/env/tool.js +0 -0
- package/libs/util/gcanvas/index.js +0 -0
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 3.4.46(2025-07-08)
|
|
2
|
+
feat: 上传组件预览视频支持videoPreviewObjectFit参数
|
|
3
|
+
|
|
4
|
+
feat: td增加多个样式props
|
|
5
|
+
|
|
6
|
+
fix: 修复noticeBar字号增大时文字遮挡
|
|
7
|
+
|
|
8
|
+
feat: 项目工程增加pinia
|
|
9
|
+
|
|
10
|
+
## 3.4.45(2025-07-01)
|
|
11
|
+
fix: 修复picker-data组件缺少name
|
|
12
|
+
|
|
13
|
+
fix: 优化picker高度单位
|
|
14
|
+
|
|
1
15
|
## 3.4.44(2025-06-30)
|
|
2
16
|
fix: 修复indexList中stikcy属性写死的问题(always true)
|
|
3
17
|
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
<slot name="toolbar-bottom"></slot>
|
|
39
39
|
<picker-view
|
|
40
40
|
class="u-picker__view"
|
|
41
|
-
:indicatorStyle="`height: ${addUnit(itemHeight)}`"
|
|
41
|
+
:indicatorStyle="`height: ${addUnit(itemHeight, 'px')}`"
|
|
42
42
|
:value="innerIndex"
|
|
43
43
|
:immediateChange="immediateChange"
|
|
44
44
|
:style="{
|
|
45
|
-
height: `${addUnit(visibleItemCount * itemHeight)}`
|
|
45
|
+
height: `${addUnit(visibleItemCount * itemHeight, 'px')}`
|
|
46
46
|
}"
|
|
47
47
|
@change="changeHandler"
|
|
48
48
|
>
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
v-for="(item1, index1) in item"
|
|
59
59
|
:key="index1"
|
|
60
60
|
:style="{
|
|
61
|
-
height: addUnit(itemHeight),
|
|
62
|
-
lineHeight: addUnit(itemHeight),
|
|
61
|
+
height: addUnit(itemHeight, 'px'),
|
|
62
|
+
lineHeight: addUnit(itemHeight, 'px'),
|
|
63
63
|
fontWeight: index1 === innerIndex[index] ? 'bold' : 'normal',
|
|
64
64
|
display: 'block'
|
|
65
65
|
}"
|
package/components/u-td/u-td.vue
CHANGED
|
@@ -25,6 +25,22 @@
|
|
|
25
25
|
width: {
|
|
26
26
|
type: [String],
|
|
27
27
|
default: 'auto'
|
|
28
|
+
},
|
|
29
|
+
textAlign: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ''
|
|
32
|
+
},
|
|
33
|
+
fontSize: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: ''
|
|
36
|
+
},
|
|
37
|
+
borderColor: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: ''
|
|
40
|
+
},
|
|
41
|
+
color: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: ''
|
|
28
44
|
}
|
|
29
45
|
},
|
|
30
46
|
data() {
|
|
@@ -49,6 +65,18 @@
|
|
|
49
65
|
style.borderBottom = `solid 1px ${this.parent.borderColor}`;
|
|
50
66
|
style.borderRight = `solid 1px ${this.parent.borderColor}`;
|
|
51
67
|
style.color = this.parent.color;
|
|
68
|
+
if (this.textAlign != '') {
|
|
69
|
+
style.textAlign = this.textAlign;
|
|
70
|
+
}
|
|
71
|
+
if (this.fontSize != '') {
|
|
72
|
+
style.fontSize = this.fontSize;
|
|
73
|
+
}
|
|
74
|
+
if (this.borderColor != '') {
|
|
75
|
+
style.borderColor = this.borderColor;
|
|
76
|
+
}
|
|
77
|
+
if (this.color != '') {
|
|
78
|
+
style.color = this.color;
|
|
79
|
+
}
|
|
52
80
|
this.tdStyle = style;
|
|
53
81
|
}
|
|
54
82
|
}
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
<video id="myVideo" v-if="popupShow"
|
|
175
175
|
:src="currentItemIndex >= 0 ? lists[currentItemIndex].url : ''"
|
|
176
176
|
@error="videoErrorCallback" show-center-play-btn
|
|
177
|
-
object-fit='
|
|
177
|
+
:object-fit='videoPreviewObjectFit' show-fullscreen-btn='true'
|
|
178
178
|
enable-play-gesture controls
|
|
179
179
|
:autoplay="true" auto-pause-if-open-native
|
|
180
180
|
@loadedmetadata="loadedVideoMetadata"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED