uview-plus 3.4.45 → 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
CHANGED
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"
|
package/package.json
CHANGED