ui-process-h5 1.6.43 → 1.6.44
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/package.json +1 -1
- package/v2/ui-process-h5.js +15 -11
- package/v2/ui-process-h5.umd.cjs +2 -2
- package/v2.7/ui-process-h5.js +15 -11
- package/v2.7/ui-process-h5.umd.cjs +2 -2
- package/v3/ui-process-h5.js +15 -11
- package/v3/ui-process-h5.umd.cjs +2 -2
package/v3/ui-process-h5.js
CHANGED
|
@@ -1365,7 +1365,8 @@ const Vd = De({
|
|
|
1365
1365
|
visible: { default: !1, type: Boolean },
|
|
1366
1366
|
isIndex: { type: Number },
|
|
1367
1367
|
width: { type: String, default: "95vw" },
|
|
1368
|
-
className: { type: String, default: "" }
|
|
1368
|
+
className: { type: String, default: "" },
|
|
1369
|
+
appendClass: { type: String, default: "" }
|
|
1369
1370
|
},
|
|
1370
1371
|
data() {
|
|
1371
1372
|
return {
|
|
@@ -1602,13 +1603,16 @@ const Yd = De({
|
|
|
1602
1603
|
watch: {
|
|
1603
1604
|
file: {
|
|
1604
1605
|
handler(e, s) {
|
|
1605
|
-
if (
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1606
|
+
if (e)
|
|
1607
|
+
if (this.video.includes(
|
|
1608
|
+
e.substring(e.lastIndexOf(".") + 1)
|
|
1609
|
+
))
|
|
1610
|
+
this.videoShow = !0, this.url = e;
|
|
1611
|
+
else {
|
|
1612
|
+
this.videoShow = !1;
|
|
1613
|
+
let i = e.indexOf("https://") == -1 ? 0 : 1;
|
|
1614
|
+
this.url = `https://wdyl.ddzg.cn:8089/?ssl=${i}&furl=${e}`;
|
|
1615
|
+
}
|
|
1612
1616
|
},
|
|
1613
1617
|
immediate: !0,
|
|
1614
1618
|
deep: !0
|
|
@@ -1619,7 +1623,7 @@ const Yd = De({
|
|
|
1619
1623
|
style: { width: "100%", height: "calc(100% - 40px)" }
|
|
1620
1624
|
}, Wd = {
|
|
1621
1625
|
key: 0,
|
|
1622
|
-
style: { height: "100%", width: "
|
|
1626
|
+
style: { height: "100%", width: "100%" },
|
|
1623
1627
|
controls: ""
|
|
1624
1628
|
}, Zd = ["src"], zd = ["src"];
|
|
1625
1629
|
function Xd(e, s, i, n, a, l) {
|
|
@@ -1631,7 +1635,7 @@ function Xd(e, s, i, n, a, l) {
|
|
|
1631
1635
|
}, null, 8, Zd)
|
|
1632
1636
|
])) : (p(), h("iframe", {
|
|
1633
1637
|
key: 1,
|
|
1634
|
-
style: { height: "100%", border: "unset", width: "
|
|
1638
|
+
style: { height: "100%", border: "unset", width: "100%" },
|
|
1635
1639
|
src: e.url
|
|
1636
1640
|
}, `\r
|
|
1637
1641
|
`, 8, zd))
|
|
@@ -4672,7 +4676,7 @@ const uu = /* @__PURE__ */ X(Jh, [["render", hu], ["__scopeId", "data-v-113ef106
|
|
|
4672
4676
|
handleClick() {
|
|
4673
4677
|
if (typeof nativeMethod < "u" && nativeMethod.vueSelectFile && nativeMethod.vueSelectFile(2, "*", this.limit || 1), this.haveCount <= 0) {
|
|
4674
4678
|
this.handleTips(
|
|
4675
|
-
`\u6700\u591A\u4E0A\u4F20${
|
|
4679
|
+
`\u6700\u591A\u4E0A\u4F20${this.limit}\u4E2A\u6587\u4EF6`,
|
|
4676
4680
|
!1,
|
|
4677
4681
|
"success"
|
|
4678
4682
|
);
|