@leshi/silicon 0.0.18-test.2 → 0.0.18-test.5
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/dist/components/index.cjs.js +1 -1
- package/dist/components/index.esm.js +126 -122
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.esm.js +1 -1
- package/package.json +3 -2
- package/dist/favicon.svg +0 -1
- package/dist/icons.svg +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isApp as e, jsonp as t, startPolling as n } from "../utils/index.esm.js";
|
|
2
2
|
import * as r from "vue";
|
|
3
|
-
import { Comment as i, Fragment as a, Teleport as o, camelize as s, cloneVNode as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, customRef as g, defineComponent as _, effectScope as v, getCurrentInstance as y, getCurrentScope as b, guardReactiveProps as x, h as S, inject as C, isRef as w, markRaw as T, mergeDefaults as E, mergeModels as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeProps as j, normalizeStyle as M, onBeforeMount as N, onBeforeUnmount as
|
|
3
|
+
import { Comment as i, Fragment as a, Teleport as o, camelize as s, cloneVNode as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, customRef as g, defineComponent as _, effectScope as v, getCurrentInstance as y, getCurrentScope as b, guardReactiveProps as x, h as S, inject as C, isRef as w, markRaw as T, mergeDefaults as E, mergeModels as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeProps as j, normalizeStyle as M, onBeforeMount as N, onBeforeUnmount as ee, onBeforeUpdate as te, onMounted as P, onScopeDispose as ne, onUnmounted as F, onUpdated as re, openBlock as I, provide as ie, reactive as ae, readonly as oe, ref as L, render as se, renderList as ce, renderSlot as R, resolveDynamicComponent as le, shallowReadonly as ue, shallowRef as de, toDisplayString as z, toHandlerKey as fe, toRef as pe, toRefs as me, toValue as B, triggerRef as he, unref as V, useModel as ge, vShow as _e, watch as H, watchEffect as U, watchPostEffect as ve, withCtx as W, withDirectives as ye, withMemo as be, withModifiers as xe } from "vue";
|
|
4
4
|
import Se from "axios";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
6
6
|
var Ce = Object.create, we = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, Ee = Object.getOwnPropertyNames, De = Object.getPrototypeOf, Oe = Object.prototype.hasOwnProperty, G = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), ke = (e, t) => {
|
|
@@ -44,7 +44,7 @@ var Ce = Object.create, we = Object.defineProperty, Te = Object.getOwnPropertyDe
|
|
|
44
44
|
}, u = (e) => {
|
|
45
45
|
window.location.href = e;
|
|
46
46
|
};
|
|
47
|
-
return r.isSSR && r.dataList && r.dataList.length > 0 && l(),
|
|
47
|
+
return r.isSSR && r.dataList && r.dataList.length > 0 && l(), P(() => {
|
|
48
48
|
r.isSSR || l();
|
|
49
49
|
}), (e, t) => i.value ? (I(), f("div", {
|
|
50
50
|
key: 0,
|
|
@@ -967,18 +967,18 @@ function nn(e = {}) {
|
|
|
967
967
|
d.length < x + C || u.params.effect === "cards" && d.length < x + C * 2 ? Ye("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : w && h.grid.fill === "row" && Ye("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
968
968
|
let T = [], E = [], D = w ? Math.ceil(d.length / h.grid.rows) : d.length, O = o && D - y < x && !b, k = O ? y : u.activeIndex;
|
|
969
969
|
l === void 0 ? l = u.getSlideIndex(d.find((e) => e.classList.contains(h.slideActiveClass))) : k = l;
|
|
970
|
-
let A = r === "next" || !r, j = r === "prev" || !r, M = 0, N = 0,
|
|
971
|
-
if (
|
|
972
|
-
M = Math.max(C -
|
|
973
|
-
for (let e = 0; e < C -
|
|
970
|
+
let A = r === "next" || !r, j = r === "prev" || !r, M = 0, N = 0, ee = (w ? d[l].column ?? 0 : l) + (b && i === void 0 ? -x / 2 + .5 : 0);
|
|
971
|
+
if (ee < C) {
|
|
972
|
+
M = Math.max(C - ee, S);
|
|
973
|
+
for (let e = 0; e < C - ee; e += 1) {
|
|
974
974
|
let t = e - Math.floor(e / D) * D;
|
|
975
975
|
if (w) {
|
|
976
976
|
let e = D - t - 1;
|
|
977
977
|
for (let t = d.length - 1; t >= 0; --t) d[t].column === e && T.push(t);
|
|
978
978
|
} else T.push(D - t - 1);
|
|
979
979
|
}
|
|
980
|
-
} else if (
|
|
981
|
-
N = Math.max(
|
|
980
|
+
} else if (ee + x > D - C) {
|
|
981
|
+
N = Math.max(ee - (D - C * 2), S), O && (N = Math.max(N, x - D + y + 1));
|
|
982
982
|
for (let e = 0; e < N; e += 1) {
|
|
983
983
|
let t = e - Math.floor(e / D) * D;
|
|
984
984
|
w ? d.forEach((e, n) => {
|
|
@@ -1014,8 +1014,8 @@ function nn(e = {}) {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
1016
|
u.allowSlidePrev = f, u.allowSlideNext = p;
|
|
1017
|
-
let
|
|
1018
|
-
if (
|
|
1017
|
+
let te = u.controller?.control;
|
|
1018
|
+
if (te && !s) {
|
|
1019
1019
|
let e = {
|
|
1020
1020
|
slideRealIndex: t,
|
|
1021
1021
|
direction: r,
|
|
@@ -1023,14 +1023,14 @@ function nn(e = {}) {
|
|
|
1023
1023
|
activeSlideIndex: l,
|
|
1024
1024
|
byController: !0
|
|
1025
1025
|
};
|
|
1026
|
-
Array.isArray(
|
|
1026
|
+
Array.isArray(te) ? te.forEach((t) => {
|
|
1027
1027
|
!t.destroyed && t.params.loop && t.loopFix({
|
|
1028
1028
|
...e,
|
|
1029
1029
|
slideTo: t.params.slidesPerView === h.slidesPerView && n
|
|
1030
1030
|
});
|
|
1031
|
-
}) :
|
|
1031
|
+
}) : te instanceof u.constructor && te.params.loop && te.loopFix({
|
|
1032
1032
|
...e,
|
|
1033
|
-
slideTo:
|
|
1033
|
+
slideTo: te.params.slidesPerView === h.slidesPerView && n
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
1036
|
u.emit("loopFix");
|
|
@@ -2512,7 +2512,7 @@ var Xn = _({
|
|
|
2512
2512
|
k(() => {
|
|
2513
2513
|
qn(u.value);
|
|
2514
2514
|
});
|
|
2515
|
-
}),
|
|
2515
|
+
}), P(() => {
|
|
2516
2516
|
!l.value || !u.value || (Kn({
|
|
2517
2517
|
el: l.value,
|
|
2518
2518
|
nextEl: m.value,
|
|
@@ -2521,7 +2521,7 @@ var Xn = _({
|
|
|
2521
2521
|
scrollbarEl: _.value,
|
|
2522
2522
|
swiper: u.value
|
|
2523
2523
|
}, v), n("swiper", u.value));
|
|
2524
|
-
}),
|
|
2524
|
+
}), ee(() => {
|
|
2525
2525
|
u.value && !u.value.destroyed && u.value.destroy(!0, !1);
|
|
2526
2526
|
});
|
|
2527
2527
|
function C(e) {
|
|
@@ -2597,13 +2597,13 @@ var Xn = _({
|
|
|
2597
2597
|
function s(e, t, n) {
|
|
2598
2598
|
t === i.value && (a.value = n);
|
|
2599
2599
|
}
|
|
2600
|
-
|
|
2600
|
+
P(() => {
|
|
2601
2601
|
!r || !r.value || (r.value.on("_slideClass", s), n = !0);
|
|
2602
|
-
}),
|
|
2602
|
+
}), te(() => {
|
|
2603
2603
|
n || !r || !r.value || (r.value.on("_slideClass", s), n = !0);
|
|
2604
2604
|
}), re(() => {
|
|
2605
2605
|
!i.value || !r || !r.value || (e.swiperSlideIndex !== void 0 && (i.value.swiperSlideIndex = e.swiperSlideIndex), r.value.destroyed && a.value !== "swiper-slide" && (a.value = "swiper-slide"));
|
|
2606
|
-
}),
|
|
2606
|
+
}), ee(() => {
|
|
2607
2607
|
!r || !r.value || r.value.off("_slideClass", s);
|
|
2608
2608
|
});
|
|
2609
2609
|
let c = l(() => ({
|
|
@@ -4021,7 +4021,7 @@ function Mr(e) {
|
|
|
4021
4021
|
//#endregion
|
|
4022
4022
|
//#region node_modules/@vueuse/shared/dist/index.js
|
|
4023
4023
|
function Nr(e, t) {
|
|
4024
|
-
return b() ? (
|
|
4024
|
+
return b() ? (ne(e, t), !0) : !1;
|
|
4025
4025
|
}
|
|
4026
4026
|
function Pr() {
|
|
4027
4027
|
let e = /* @__PURE__ */ new Set(), t = (t) => {
|
|
@@ -4190,7 +4190,7 @@ function ti(e, t, ...[n]) {
|
|
|
4190
4190
|
};
|
|
4191
4191
|
}
|
|
4192
4192
|
function ni(e, t) {
|
|
4193
|
-
qr(t) &&
|
|
4193
|
+
qr(t) && ee(e, t);
|
|
4194
4194
|
}
|
|
4195
4195
|
function ri(e, t, n = {}) {
|
|
4196
4196
|
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = de(!1), o;
|
|
@@ -4252,7 +4252,7 @@ function ci(...e) {
|
|
|
4252
4252
|
}
|
|
4253
4253
|
function li() {
|
|
4254
4254
|
let e = de(!1), t = y();
|
|
4255
|
-
return t &&
|
|
4255
|
+
return t && P(() => {
|
|
4256
4256
|
e.value = !0;
|
|
4257
4257
|
}, t), e;
|
|
4258
4258
|
}
|
|
@@ -4721,7 +4721,7 @@ function Yi(e) {
|
|
|
4721
4721
|
n = !!e?.closest("[popover]:not(:popover-open)");
|
|
4722
4722
|
} catch {}
|
|
4723
4723
|
e && !n ? t = Ji(e) : t && t();
|
|
4724
|
-
}),
|
|
4724
|
+
}), F(() => {
|
|
4725
4725
|
t && t();
|
|
4726
4726
|
});
|
|
4727
4727
|
}
|
|
@@ -4737,7 +4737,7 @@ function Zi(e, t = "reka") {
|
|
|
4737
4737
|
//#region node_modules/reka-ui/dist/shared/useSize.js
|
|
4738
4738
|
function Qi(e) {
|
|
4739
4739
|
let t = L(), n = l(() => t.value?.width ?? 0), r = l(() => t.value?.height ?? 0), i;
|
|
4740
|
-
return
|
|
4740
|
+
return P(() => {
|
|
4741
4741
|
let n = si(e);
|
|
4742
4742
|
n ? (t.value = {
|
|
4743
4743
|
width: n.offsetWidth,
|
|
@@ -4754,7 +4754,7 @@ function Qi(e) {
|
|
|
4754
4754
|
height: a
|
|
4755
4755
|
};
|
|
4756
4756
|
}), i.observe(n, { box: "border-box" })) : t.value = void 0;
|
|
4757
|
-
}),
|
|
4757
|
+
}), F(() => {
|
|
4758
4758
|
i?.disconnect(), i = void 0;
|
|
4759
4759
|
}), {
|
|
4760
4760
|
width: n,
|
|
@@ -4821,7 +4821,7 @@ function ea(e, t) {
|
|
|
4821
4821
|
let e = ta(t.value);
|
|
4822
4822
|
r.value = c.value === "mounted" ? e : "none";
|
|
4823
4823
|
});
|
|
4824
|
-
return
|
|
4824
|
+
return F(() => {
|
|
4825
4825
|
m(), h(), t.value && (t.value.removeEventListener("animationstart", p), t.value.removeEventListener("animationcancel", f), t.value.removeEventListener("animationend", f)), o !== void 0 && s?.clearTimeout(o);
|
|
4826
4826
|
}), { isPresent: l(() => ["mounted", "unmountSuspended"].includes(c.value)) };
|
|
4827
4827
|
}
|
|
@@ -5121,9 +5121,9 @@ var Z = /*#__PURE__*/ ae({
|
|
|
5121
5121
|
},
|
|
5122
5122
|
setup(e) {
|
|
5123
5123
|
let t = e, { forwardRef: n, currentElement: r } = Y();
|
|
5124
|
-
return
|
|
5124
|
+
return P(() => {
|
|
5125
5125
|
Z.branches.add(r.value);
|
|
5126
|
-
}),
|
|
5126
|
+
}), F(() => {
|
|
5127
5127
|
Z.branches.delete(r.value);
|
|
5128
5128
|
}), (e, r) => (I(), u(V(X), O({ ref: V(n) }, t), {
|
|
5129
5129
|
default: W(() => [R(e.$slots, "default")]),
|
|
@@ -5329,7 +5329,7 @@ function Ia({ titleName: e = Pa, contentName: t = Fa, componentLink: n = "dialog
|
|
|
5329
5329
|
If you want to hide the \`${e}\`, you can wrap it with our VisuallyHidden component.
|
|
5330
5330
|
|
|
5331
5331
|
For more information, see https://www.reka-ui.com/docs/components/${n}`, s = `Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${t}.`;
|
|
5332
|
-
|
|
5332
|
+
P(() => {
|
|
5333
5333
|
document.getElementById(r) || console.warn(o);
|
|
5334
5334
|
let e = a.value?.getAttribute("aria-describedby");
|
|
5335
5335
|
i && e && (document.getElementById(i) || console.warn(s));
|
|
@@ -5375,7 +5375,7 @@ var La = /* @__PURE__ */ _({
|
|
|
5375
5375
|
],
|
|
5376
5376
|
setup(e, { emit: t }) {
|
|
5377
5377
|
let n = e, r = t, i = oa(), { forwardRef: a, currentElement: o } = Y();
|
|
5378
|
-
return i.titleId ||= Zi(void 0, "reka-dialog-title"), i.descriptionId ||= Zi(void 0, "reka-dialog-description"),
|
|
5378
|
+
return i.titleId ||= Zi(void 0, "reka-dialog-title"), i.descriptionId ||= Zi(void 0, "reka-dialog-description"), P(() => {
|
|
5379
5379
|
i.contentElement = o, Ar() !== document.body && (i.triggerElement.value = Ar());
|
|
5380
5380
|
}), process.env.NODE_ENV !== "production" && Ia({
|
|
5381
5381
|
titleName: "DialogTitle",
|
|
@@ -7356,7 +7356,7 @@ var fc = ["dir"], pc = {
|
|
|
7356
7356
|
let n = yc();
|
|
7357
7357
|
return N(() => {
|
|
7358
7358
|
n.hasCustomAnchor.value = !0;
|
|
7359
|
-
}),
|
|
7359
|
+
}), F(() => {
|
|
7360
7360
|
n.hasCustomAnchor.value = !1;
|
|
7361
7361
|
}), (e, n) => (I(), u(V(Za), j(x(t)), {
|
|
7362
7362
|
default: W(() => [R(e.$slots, "default")]),
|
|
@@ -7926,7 +7926,7 @@ var fc = ["dir"], pc = {
|
|
|
7926
7926
|
},
|
|
7927
7927
|
setup(e) {
|
|
7928
7928
|
let t = e, n = yc(), { forwardRef: r, currentElement: i } = Y();
|
|
7929
|
-
return n.triggerId ||= Zi(void 0, "reka-popover-trigger"),
|
|
7929
|
+
return n.triggerId ||= Zi(void 0, "reka-popover-trigger"), P(() => {
|
|
7930
7930
|
n.triggerElement.value = i.value;
|
|
7931
7931
|
}), (e, i) => (I(), u(le(V(n).hasCustomAnchor.value ? V(X) : V(Za)), { "as-child": "" }, {
|
|
7932
7932
|
default: W(() => [h(V(X), {
|
|
@@ -8184,11 +8184,11 @@ var Fc = /* @__PURE__ */ _({
|
|
|
8184
8184
|
document.getSelection()?.toString() !== "" && (s.hasSelectionRef.value = !0);
|
|
8185
8185
|
});
|
|
8186
8186
|
}
|
|
8187
|
-
return
|
|
8187
|
+
return P(() => {
|
|
8188
8188
|
o.value && (document.addEventListener("pointerup", p), Pc(o.value).forEach((e) => e.setAttribute("tabindex", "-1"))), ci(window, "scroll", (e) => {
|
|
8189
8189
|
e.target?.contains(s.triggerElement.value) && s.onDismiss();
|
|
8190
8190
|
}, { capture: !0 });
|
|
8191
|
-
}),
|
|
8191
|
+
}), F(() => {
|
|
8192
8192
|
document.removeEventListener("pointerup", p), s.hasSelectionRef.value = !1, s.isPointerDownOnContentRef.value = !1;
|
|
8193
8193
|
}), (e, t) => (I(), u(V(ma), {
|
|
8194
8194
|
"as-child": "",
|
|
@@ -8482,7 +8482,7 @@ var Fc = /* @__PURE__ */ _({
|
|
|
8482
8482
|
a = requestAnimationFrame(() => {
|
|
8483
8483
|
r.value = !0;
|
|
8484
8484
|
});
|
|
8485
|
-
}),
|
|
8485
|
+
}), ne(() => {
|
|
8486
8486
|
cancelAnimationFrame(i), cancelAnimationFrame(a);
|
|
8487
8487
|
})), (e, i) => V(n) || r.value ? (I(), u(V(qa), {
|
|
8488
8488
|
key: 0,
|
|
@@ -8590,9 +8590,9 @@ var [Yc, Xc] = /*#__PURE__*/ kr("ToastRoot"), Zc = /* @__PURE__ */ _({
|
|
|
8590
8590
|
b.value = v.value, n.open && !p.isClosePausedRef.value && w(v.value);
|
|
8591
8591
|
}, { immediate: !0 }), di("Escape", (e) => {
|
|
8592
8592
|
r("escapeKeyDown", e), e.defaultPrevented || (p.isFocusedToastEscapeKeyDownRef.value = !0, T());
|
|
8593
|
-
}),
|
|
8593
|
+
}), P(() => {
|
|
8594
8594
|
p.onToastAdd();
|
|
8595
|
-
}),
|
|
8595
|
+
}), F(() => {
|
|
8596
8596
|
p.onToastRemove();
|
|
8597
8597
|
}), Xc({ onClose: T }), (e, t) => (I(), f(a, null, [E.value ? (I(), u(Hc, {
|
|
8598
8598
|
key: 0,
|
|
@@ -8846,7 +8846,7 @@ var [Yc, Xc] = /*#__PURE__*/ kr("ToastRoot"), Zc = /* @__PURE__ */ _({
|
|
|
8846
8846
|
let { hotkey: t, label: n } = me(e), { forwardRef: r, currentElement: i } = Y(), { CollectionSlot: a, getItems: o } = Ka(), s = zc(), c = l(() => s.toastCount.value > 0), f = L(), p = L(), m = /Key/g, g = /Digit/g, _ = l(() => t.value.join("+").replace(m, "").replace(g, ""));
|
|
8847
8847
|
di(t.value, () => {
|
|
8848
8848
|
i.value.focus();
|
|
8849
|
-
}),
|
|
8849
|
+
}), P(() => {
|
|
8850
8850
|
s.onViewportChange(i.value);
|
|
8851
8851
|
}), U((e) => {
|
|
8852
8852
|
let t = i.value;
|
|
@@ -9383,7 +9383,7 @@ var Vl = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)"
|
|
|
9383
9383
|
var t;
|
|
9384
9384
|
!e.value || !e.value.created || (e.value.willUpdate(), await k(), (t = e.value) == null || t.didUpdate());
|
|
9385
9385
|
}), await k(), !1);
|
|
9386
|
-
}),
|
|
9386
|
+
}), F(() => {
|
|
9387
9387
|
t.delete(e);
|
|
9388
9388
|
});
|
|
9389
9389
|
}), (e, t) => R(e.$slots, "default");
|
|
@@ -9484,12 +9484,12 @@ var eu = {
|
|
|
9484
9484
|
let e = Math.floor((i.value - Date.now()) / 1e3);
|
|
9485
9485
|
return Math.max(0, e);
|
|
9486
9486
|
}, o = L(a()), s = null, c = l(() => Math.floor(o.value / 3600)), u = l(() => Math.floor(o.value % 3600 / 60)), g = l(() => o.value % 60);
|
|
9487
|
-
return
|
|
9487
|
+
return P(() => {
|
|
9488
9488
|
s = setInterval(() => {
|
|
9489
9489
|
let e = a();
|
|
9490
9490
|
o.value = e, e <= 0 && s && (clearInterval(s), s = null, r("refresh"));
|
|
9491
9491
|
}, 1e3);
|
|
9492
|
-
}),
|
|
9492
|
+
}), ee(() => {
|
|
9493
9493
|
s &&= (clearInterval(s), null);
|
|
9494
9494
|
}), (e, t) => o.value > 0 ? (I(), f("div", eu, [h(V(Zl), null, {
|
|
9495
9495
|
default: W(() => [
|
|
@@ -9521,7 +9521,7 @@ var eu = {
|
|
|
9521
9521
|
}, au = { class: "textPart" }, ou = { class: "price" }, su = { class: "desc" }, cu = {
|
|
9522
9522
|
key: 1,
|
|
9523
9523
|
class: "multiMealWp"
|
|
9524
|
-
}, lu = { class: "price" }, uu = { class: "text" }, du =
|
|
9524
|
+
}, lu = { class: "price" }, uu = { class: "text" }, du = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
|
|
9525
9525
|
__name: "RedPackageDialog",
|
|
9526
9526
|
props: /*@__PURE__*/ D({ redPackages: {} }, {
|
|
9527
9527
|
open: { type: Boolean },
|
|
@@ -9533,9 +9533,13 @@ var eu = {
|
|
|
9533
9533
|
return U(() => {
|
|
9534
9534
|
t.redPackages && (i.value = t.redPackages.length === 1);
|
|
9535
9535
|
}), H(() => n.value, (e) => {
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9536
|
+
if (e) {
|
|
9537
|
+
o = setInterval(() => {
|
|
9538
|
+
r.value--, r.value === 0 && (n.value = !1);
|
|
9539
|
+
}, 1e3);
|
|
9540
|
+
let e = `package_${t.redPackages.map((e) => e.packageId).join("_")}`, i = Date.now() + 1800 * 1e3;
|
|
9541
|
+
localStorage.setItem(e, i.toString());
|
|
9542
|
+
} else o &&= (clearInterval(o), null);
|
|
9539
9543
|
}, { immediate: !0 }), (t, o) => (I(), u(V(ca), {
|
|
9540
9544
|
open: n.value,
|
|
9541
9545
|
class: "root"
|
|
@@ -9586,7 +9590,7 @@ var eu = {
|
|
|
9586
9590
|
key: 2,
|
|
9587
9591
|
"count-down-name": `package_${e.redPackages.map((e) => e.packageId).join("_")}`
|
|
9588
9592
|
}, null, 8, ["count-down-name"])) : d("", !0),
|
|
9589
|
-
p("div",
|
|
9593
|
+
ye(p("div", { class: "three" }, z(r.value) + "s后自动到账", 513), [[_e, r.value > 0]])
|
|
9590
9594
|
])]),
|
|
9591
9595
|
_: 1
|
|
9592
9596
|
})]),
|
|
@@ -9595,7 +9599,7 @@ var eu = {
|
|
|
9595
9599
|
_: 1
|
|
9596
9600
|
}, 8, ["open"]));
|
|
9597
9601
|
}
|
|
9598
|
-
}), [["__scopeId", "data-v-
|
|
9602
|
+
}), [["__scopeId", "data-v-2537b5fd"]]), fu = { class: "twoMonths" }, pu = { class: "qrcodeWp" }, mu = ["src"], hu = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
|
|
9599
9603
|
__name: "TwoMonthDialog",
|
|
9600
9604
|
props: /*@__PURE__*/ D({
|
|
9601
9605
|
twoMonthPackages: {},
|
|
@@ -9639,13 +9643,13 @@ var eu = {
|
|
|
9639
9643
|
style: M(`background:url(${e.twoMonthPackages[0]?.pc_pic}) no-repeat;background-size: 100%;`)
|
|
9640
9644
|
}, {
|
|
9641
9645
|
default: W(() => [h(V(Va), null, {
|
|
9642
|
-
default: W(() => [p("div",
|
|
9646
|
+
default: W(() => [p("div", fu, [p("div", {
|
|
9643
9647
|
class: "btnClose",
|
|
9644
9648
|
onClick: n[0] ||= (e) => i.value = !1
|
|
9645
|
-
}), p("div",
|
|
9649
|
+
}), p("div", pu, [p("img", {
|
|
9646
9650
|
class: "qrcode",
|
|
9647
9651
|
src: s.value || ""
|
|
9648
|
-
}, null, 8,
|
|
9652
|
+
}, null, 8, mu), n[1] ||= p("img", {
|
|
9649
9653
|
class: "icon",
|
|
9650
9654
|
src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
|
|
9651
9655
|
alt: ""
|
|
@@ -9657,7 +9661,7 @@ var eu = {
|
|
|
9657
9661
|
_: 1
|
|
9658
9662
|
}, 8, ["open"]));
|
|
9659
9663
|
}
|
|
9660
|
-
}), [["__scopeId", "data-v-15f1b275"]]),
|
|
9664
|
+
}), [["__scopeId", "data-v-15f1b275"]]), gu = /* @__PURE__ */ Me((/* @__PURE__ */ G(((e, t) => {
|
|
9661
9665
|
(function(n, r) {
|
|
9662
9666
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
|
|
9663
9667
|
})(e, (function() {
|
|
@@ -9951,33 +9955,33 @@ var eu = {
|
|
|
9951
9955
|
return w(1e3 * e);
|
|
9952
9956
|
}, w.en = b[y], w.Ls = b, w.p = {}, w;
|
|
9953
9957
|
}));
|
|
9954
|
-
})))(), 1),
|
|
9958
|
+
})))(), 1), _u = { class: "payLayerFrame" }, vu = { class: "payLeft" }, yu = { class: "userBox" }, bu = { class: "userInfo" }, xu = { class: "userAvatar" }, Su = ["src"], Cu = { class: "userLogin" }, wu = { class: "userState" }, Tu = { class: "userLoginName" }, Eu = {
|
|
9955
9959
|
key: 0,
|
|
9956
9960
|
class: "userPay",
|
|
9957
9961
|
href: "https://www.le.com/user/vip",
|
|
9958
9962
|
target: "_blank"
|
|
9959
|
-
},
|
|
9963
|
+
}, Du = { class: "userTip" }, Ou = { class: "payPackage" }, ku = { class: "packageTabContainer" }, Au = { class: "payTime" }, ju = { class: "payPrice flow" }, Mu = { class: "payPrice" }, Nu = {
|
|
9960
9964
|
key: 0,
|
|
9961
9965
|
class: "payOldPrice"
|
|
9962
|
-
},
|
|
9966
|
+
}, Pu = {
|
|
9963
9967
|
key: 2,
|
|
9964
9968
|
class: "payIcon"
|
|
9965
|
-
},
|
|
9969
|
+
}, Fu = {
|
|
9966
9970
|
key: 3,
|
|
9967
9971
|
class: "payPoint"
|
|
9968
|
-
},
|
|
9972
|
+
}, Iu = { class: "countdown" }, Lu = {
|
|
9969
9973
|
key: 0,
|
|
9970
9974
|
class: "payGoodsDetailIntro"
|
|
9971
|
-
},
|
|
9975
|
+
}, Ru = {
|
|
9972
9976
|
key: 1,
|
|
9973
9977
|
class: "payGoodsDetailIntro2"
|
|
9974
|
-
},
|
|
9978
|
+
}, zu = { key: 0 }, Bu = { key: 1 }, Vu = { class: "payRight" }, Hu = { class: "payDetail" }, Uu = { class: "priceBox" }, Wu = { class: "price" }, Gu = { class: "priceTipContent" }, Ku = { class: "detail" }, qu = { class: "o" }, Ju = { class: "c" }, Yu = {
|
|
9975
9979
|
key: 0,
|
|
9976
9980
|
class: "detail"
|
|
9977
|
-
},
|
|
9981
|
+
}, Xu = {
|
|
9978
9982
|
class: "o",
|
|
9979
9983
|
style: { "text-decoration": "none" }
|
|
9980
|
-
},
|
|
9984
|
+
}, Zu = { class: "couponWp" }, Qu = {
|
|
9981
9985
|
key: 0,
|
|
9982
9986
|
t: "1787640783271",
|
|
9983
9987
|
class: "icon",
|
|
@@ -9987,21 +9991,21 @@ var eu = {
|
|
|
9987
9991
|
"p-id": "2508",
|
|
9988
9992
|
width: "200",
|
|
9989
9993
|
height: "200"
|
|
9990
|
-
},
|
|
9994
|
+
}, $u = { class: "couponContent" }, ed = ["onClick"], td = { class: "expire" }, nd = ["onClick"], rd = { key: 1 }, id = { class: "qrcodeWp" }, ad = ["src"], od = {
|
|
9991
9995
|
key: 0,
|
|
9992
9996
|
class: "mask"
|
|
9993
|
-
},
|
|
9997
|
+
}, sd = { class: "wxalibox" }, cd = {
|
|
9994
9998
|
key: 0,
|
|
9995
9999
|
class: "payAli"
|
|
9996
|
-
},
|
|
10000
|
+
}, ld = {
|
|
9997
10001
|
key: 1,
|
|
9998
10002
|
class: "payWechat"
|
|
9999
|
-
},
|
|
10003
|
+
}, ud = { class: "explainBoxR" }, dd = {
|
|
10000
10004
|
key: 1,
|
|
10001
10005
|
href: "https://minisite.letv.com/msite/leVipAgreement/index.shtml",
|
|
10002
10006
|
target: "_blank",
|
|
10003
10007
|
class: "dapingvipXY"
|
|
10004
|
-
},
|
|
10008
|
+
}, fd = { class: "tip" }, pd = { class: "tip" }, md = "red_packet_popup_daily", hd = "guide_count", gd = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
|
|
10005
10009
|
__name: "component",
|
|
10006
10010
|
props: {
|
|
10007
10011
|
smallPackageList: {},
|
|
@@ -10016,14 +10020,14 @@ var eu = {
|
|
|
10016
10020
|
emits: ["close", "refreshPackages"],
|
|
10017
10021
|
setup(e, { emit: r }) {
|
|
10018
10022
|
let i = e, o = () => {
|
|
10019
|
-
let [e, t] = localStorage.getItem(
|
|
10020
|
-
return e === (0,
|
|
10023
|
+
let [e, t] = localStorage.getItem(md)?.split("#") ?? [];
|
|
10024
|
+
return e === (0, gu.default)().format("YYYY-MM-DD") && Number(t) || 0;
|
|
10021
10025
|
}, s = (e) => {
|
|
10022
|
-
let t =
|
|
10023
|
-
return n === (0,
|
|
10024
|
-
}, c = L(i.outUserInfo), g = L({}), _ = L(null), v = L([]), y = L(i.vipType || 1), b = L(null), x = L(null), S = L(""), C = L(null), w = L(!1), T = L(!1), E = L([]), D = L([]), O = L([]), k = L(null), j = L(!1), M = L({}), N = L(!1),
|
|
10026
|
+
let t = hd + e, [n, r] = localStorage.getItem(t)?.split("#") ?? [];
|
|
10027
|
+
return n === (0, gu.default)().format("YYYY-MM-DD") && Number(r) || 0;
|
|
10028
|
+
}, c = L(i.outUserInfo), g = L({}), _ = L(null), v = L([]), y = L(i.vipType || 1), b = L(null), x = L(null), S = L(""), C = L(null), w = L(!1), T = L(!1), E = L([]), D = L([]), O = L([]), k = L(null), j = L(!1), M = L({}), N = L(!1), ee = L(!1), te = L(o() < 3);
|
|
10025
10029
|
L(!1);
|
|
10026
|
-
let
|
|
10030
|
+
let ne = r, F = l(() => !!c.value?.uid), re = l(() => _.value?.isvip ? _.value.vipType : 0), ie = l(() => y.value === 1 ? i.smallPackageList : i.bigPackageList), ae = () => {
|
|
10027
10031
|
window.LEPassNew.openLoginDialog();
|
|
10028
10032
|
}, oe = (e, t) => {
|
|
10029
10033
|
x.value = e, t();
|
|
@@ -10031,7 +10035,7 @@ var eu = {
|
|
|
10031
10035
|
N.value = !1;
|
|
10032
10036
|
let e = o();
|
|
10033
10037
|
e < 3 && setTimeout(() => {
|
|
10034
|
-
w.value = !0, localStorage.setItem(
|
|
10038
|
+
w.value = !0, localStorage.setItem(md, `${(0, gu.default)().format("YYYY-MM-DD")}#${e + 1}`);
|
|
10035
10039
|
}, 1e3);
|
|
10036
10040
|
}, R = async () => {
|
|
10037
10041
|
let e = await t("https://d-api-m.le.com/yuanxian/member?platform=pc");
|
|
@@ -10047,7 +10051,7 @@ var eu = {
|
|
|
10047
10051
|
});
|
|
10048
10052
|
e.data.data?.length > 0 ? (v.value = e.data.data, x.value = e.data.data[0]) : (v.value = [], x.value = null);
|
|
10049
10053
|
}, ue = async () => {
|
|
10050
|
-
if (!
|
|
10054
|
+
if (!F.value) {
|
|
10051
10055
|
S.value = await rl.toDataURL("https://www.le.com", { margin: 2 });
|
|
10052
10056
|
return;
|
|
10053
10057
|
}
|
|
@@ -10070,7 +10074,7 @@ var eu = {
|
|
|
10070
10074
|
n.data.data.status === 1 && (t(), M.value = n.data.data, j.value = !0, i.onSuccess?.());
|
|
10071
10075
|
}, 2e3);
|
|
10072
10076
|
}, de = () => {
|
|
10073
|
-
k.value?.stop(),
|
|
10077
|
+
k.value?.stop(), ne("close");
|
|
10074
10078
|
}, fe = () => {
|
|
10075
10079
|
let e = i.smallPackageList?.find((e) => e.packageId === i.selectPkgId), t = !e && i.bigPackageList?.find((e) => e.packageId === i.selectPkgId);
|
|
10076
10080
|
e ? (b.value = e, y.value = 1, C.value?.slideTo(i.smallPackageList?.findIndex((e) => e.packageId === i.selectPkgId))) : t ? (b.value = t, y.value = 9, C.value?.slideTo(i.bigPackageList?.findIndex((e) => e.packageId === i.selectPkgId))) : b.value = ie.value[0];
|
|
@@ -10084,23 +10088,23 @@ var eu = {
|
|
|
10084
10088
|
if (r >= n) T.value = !1;
|
|
10085
10089
|
else {
|
|
10086
10090
|
let t = r + 1;
|
|
10087
|
-
localStorage.setItem(
|
|
10091
|
+
localStorage.setItem(hd + e, `${(0, gu.default)().format("YYYY-MM-DD")}#${t}`), T.value = !0;
|
|
10088
10092
|
}
|
|
10089
10093
|
}
|
|
10090
10094
|
}, me = (e) => {
|
|
10091
10095
|
console.log("父收到子传的数组:", e), M.value = e, j.value = !0, i.onSuccess?.();
|
|
10092
10096
|
};
|
|
10093
|
-
return
|
|
10097
|
+
return P(async () => {
|
|
10094
10098
|
S.value = await rl.toDataURL("https://www.le.com", { margin: 2 }), fe(), window.LEPass.onStatusChange(async (e) => {
|
|
10095
|
-
e === "signIn" && (c.value = window.LEPass.getUserInfo(), await R(),
|
|
10099
|
+
e === "signIn" && (c.value = window.LEPass.getUserInfo(), await R(), ne("refreshPackages"));
|
|
10096
10100
|
}), D.value = i.smallPackageList.concat(i.bigPackageList).filter((e) => e.customFields.guide_count > 1), console.log("guidePackages.value", D.value, D.value[0].customFields.guide_count), pe(), E.value = i.smallPackageList.concat(i.bigPackageList).filter((e) => e.customFields.redpackage === "1");
|
|
10097
10101
|
let e = o();
|
|
10098
10102
|
if (e >= 3) {
|
|
10099
|
-
|
|
10103
|
+
te.value = !1;
|
|
10100
10104
|
return;
|
|
10101
10105
|
} else {
|
|
10102
10106
|
let t = e + 1;
|
|
10103
|
-
localStorage.setItem(
|
|
10107
|
+
localStorage.setItem(md, `${(0, gu.default)().format("YYYY-MM-DD")}#${t}`), te.value = !0, w.value = E.value.length > 0;
|
|
10104
10108
|
}
|
|
10105
10109
|
}), H(() => y.value, (e) => {
|
|
10106
10110
|
e === 1 ? b.value = i.smallPackageList[0] : b.value = i.bigPackageList[0], C.value?.slideTo(1);
|
|
@@ -10108,14 +10112,14 @@ var eu = {
|
|
|
10108
10112
|
await le(), ue(), pe();
|
|
10109
10113
|
}), H(() => w.value, (e) => {
|
|
10110
10114
|
e || setTimeout(() => {
|
|
10111
|
-
N.value = !0,
|
|
10112
|
-
|
|
10115
|
+
N.value = !0, ee.value = !0, setTimeout(() => {
|
|
10116
|
+
ee.value = !1;
|
|
10113
10117
|
}, 900);
|
|
10114
10118
|
}, 400);
|
|
10115
10119
|
}), H([() => i.smallPackageList, () => i.bigPackageList], () => {
|
|
10116
10120
|
E.value = i.smallPackageList.concat(i.bigPackageList).filter((e) => e.customFields?.redpackage === "1"), fe();
|
|
10117
10121
|
}), (t, n) => (I(), u(V(Vc), { duration: 3e3 }, {
|
|
10118
|
-
default: W(() => [p("div", null, [n[30] ||= p("div", { class: "payLayerMask" }, null, -1), p("div",
|
|
10122
|
+
default: W(() => [p("div", null, [n[30] ||= p("div", { class: "payLayerMask" }, null, -1), p("div", _u, [
|
|
10119
10123
|
p("div", {
|
|
10120
10124
|
class: "payLayerClose",
|
|
10121
10125
|
onClick: n[0] ||= (e) => de()
|
|
@@ -10124,14 +10128,14 @@ var eu = {
|
|
|
10124
10128
|
href: "https://ibuy.le.com/v2/exchange/index.html",
|
|
10125
10129
|
target: "_blank"
|
|
10126
10130
|
}, "兑换会员")], -1),
|
|
10127
|
-
p("div",
|
|
10131
|
+
p("div", vu, [p("div", yu, [p("div", bu, [p("span", xu, [p("img", {
|
|
10128
10132
|
src: c.value?.headicon_200 || "https://i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon7.png",
|
|
10129
10133
|
alt: ""
|
|
10130
|
-
}, null, 8,
|
|
10134
|
+
}, null, 8, Su), p("i", { class: A(["iconUserVip", re.value ? "vip" : _.value?.endtime ? "expire" : ""]) }, null, 2)]), p("div", Cu, [p("div", wu, [p("span", Tu, z(c.value?.nickname || "注册/登录"), 1), _.value?.isSubscribe === 2 ? (I(), f("a", Eu, "续费管理")) : d("", !0)]), p("span", Du, z(F.value ? re.value ? `${_.value?.packageName} ${_.value?.endtime.split(" ")[0]}到期` : _.value?.endtime ? "视频会员服务已过期,续费立享会员权益" : "开通视频会员享会员权益,大片热剧免费看" : "请登录后购买,享受会员权益"), 1)])]), p("span", {
|
|
10131
10135
|
class: "userChange",
|
|
10132
10136
|
"data-bk": "change",
|
|
10133
10137
|
onClick: ae
|
|
10134
|
-
}, z(
|
|
10138
|
+
}, z(F.value ? "切换账号" : "立即登录"), 1)]), p("div", Ou, [p("div", { class: A(`packageTabTitle ${y.value === 9 ? "reverse" : ""}`) }, [p("div", {
|
|
10135
10139
|
class: "tab tab1 tabcur",
|
|
10136
10140
|
"data-viptype": "1",
|
|
10137
10141
|
onClick: n[1] ||= (e) => y.value = 1
|
|
@@ -10139,7 +10143,7 @@ var eu = {
|
|
|
10139
10143
|
class: "tab tab1",
|
|
10140
10144
|
"data-viptype": "9",
|
|
10141
10145
|
onClick: n[2] ||= (e) => y.value = 9
|
|
10142
|
-
}, [...n[9] ||= [p("span", null, "乐视频会员(电视端)", -1), p("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), p("div",
|
|
10146
|
+
}, [...n[9] ||= [p("span", null, "乐视频会员(电视端)", -1), p("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), p("div", ku, [
|
|
10143
10147
|
h(V(Xn), {
|
|
10144
10148
|
modules: [V(er)],
|
|
10145
10149
|
"slides-per-view": 3,
|
|
@@ -10154,17 +10158,17 @@ var eu = {
|
|
|
10154
10158
|
}, {
|
|
10155
10159
|
default: W(() => [(I(!0), f(a, null, ce(ie.value, (e) => (I(), u(V(Zn), { onClick: (t) => b.value = e }, {
|
|
10156
10160
|
default: W(() => [p("div", { class: A(`packItem ${b.value?.packageId === e.packageId ? "active" : ""} ${e.giftLedou ? "withledou" : ""}`) }, [
|
|
10157
|
-
p("div",
|
|
10158
|
-
E.value.find((t) => t.packageId === e.packageId) &&
|
|
10161
|
+
p("div", Au, z(e.packageName), 1),
|
|
10162
|
+
E.value.find((t) => t.packageId === e.packageId) && te.value ? (I(), f(a, { key: 0 }, [p("div", ju, [n[10] ||= p("span", null, "¥", -1), h(V($l), { value: N.value ? e.price : e.originalPrice }, null, 8, ["value"])]), ye(p("img", {
|
|
10159
10163
|
ref_for: !0,
|
|
10160
10164
|
ref: "rainGifRef",
|
|
10161
10165
|
class: "raingif",
|
|
10162
10166
|
src: "https://i0.letvimg.com/lc20_phone/202609/04/16/50/1788511847441967.gif",
|
|
10163
10167
|
alt: ""
|
|
10164
|
-
}, null, 512), [[_e, N.value &&
|
|
10165
|
-
e.customFields.iconlong ? (I(), f("div",
|
|
10166
|
-
e.customFields.point ? (I(), f("div",
|
|
10167
|
-
p("div",
|
|
10168
|
+
}, null, 512), [[_e, N.value && ee.value]])], 64)) : (I(), f(a, { key: 1 }, [p("div", Mu, [n[11] ||= p("span", null, "¥", -1), m(z(e.price), 1)]), e.originalPrice ? (I(), f("div", Nu, "¥" + z(e.originalPrice), 1)) : d("", !0)], 64)),
|
|
10169
|
+
e.customFields.iconlong ? (I(), f("div", Pu, z(e.customFields.iconlong), 1)) : d("", !0),
|
|
10170
|
+
e.customFields.point ? (I(), f("div", Fu, z(e.customFields.point), 1)) : d("", !0),
|
|
10171
|
+
p("div", Iu, [N.value && E.value.find((t) => t.packageId === e.packageId) ? (I(), u(nu, {
|
|
10168
10172
|
key: 0,
|
|
10169
10173
|
"count-down-name": `package_${E.value.length === 1 ? e.packageId : E.value.map((e) => e.packageId).join("_")}`,
|
|
10170
10174
|
onRefresh: se
|
|
@@ -10182,7 +10186,7 @@ var eu = {
|
|
|
10182
10186
|
class: "navigation next",
|
|
10183
10187
|
id: "precashier_next"
|
|
10184
10188
|
}, null, -1),
|
|
10185
|
-
b.value?.giftLedou ? (I(), f("div",
|
|
10189
|
+
b.value?.giftLedou ? (I(), f("div", Lu, [n[13] ||= p("img", {
|
|
10186
10190
|
src: "//i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon1.png",
|
|
10187
10191
|
width: "14",
|
|
10188
10192
|
height: "14"
|
|
@@ -10208,12 +10212,12 @@ var eu = {
|
|
|
10208
10212
|
})]),
|
|
10209
10213
|
_: 1
|
|
10210
10214
|
})])])) : d("", !0),
|
|
10211
|
-
b.value?.customFields.remark1 || b.value?.customFields.remark2 ? (I(), f("div",
|
|
10215
|
+
b.value?.customFields.remark1 || b.value?.customFields.remark2 ? (I(), f("div", Ru, [b.value?.customFields.remark1 ? (I(), f("div", zu, z(b.value?.customFields.remark1), 1)) : d("", !0), b.value?.customFields.remark2 ? (I(), f("div", Bu, z(b.value?.customFields.remark2), 1)) : d("", !0)])) : d("", !0),
|
|
10212
10216
|
n[16] ||= p("div", { class: "explainBox" }, [p("div", null, "本页展示的套餐价为新用户专享价或刊例价,划线价为建议零售价"), p("div", null, "如有问题可以联系在线客服:微信公众号“乐视影视会员”【9点-18点】")], -1)
|
|
10213
10217
|
])])]),
|
|
10214
|
-
p("div",
|
|
10215
|
-
p("div",
|
|
10216
|
-
p("div",
|
|
10218
|
+
p("div", Vu, [
|
|
10219
|
+
p("div", Hu, [p("div", Uu, [
|
|
10220
|
+
p("div", Wu, [n[17] ||= m(" ¥ ", -1), h(V($l), { value: (b.value?.price || 0) - (x.value?.amount || 0) || 0 }, null, 8, ["value"])]),
|
|
10217
10221
|
b.value?.originalPrice && b.value?.price && b.value?.price !== b.value?.originalPrice || x.value?.amount ? (I(), u(V(Mc), {
|
|
10218
10222
|
key: 0,
|
|
10219
10223
|
openDelay: 0
|
|
@@ -10229,11 +10233,11 @@ var eu = {
|
|
|
10229
10233
|
sideOffset: 4,
|
|
10230
10234
|
class: "highZContent"
|
|
10231
10235
|
}, {
|
|
10232
|
-
default: W(() => [h(V(kc), { class: "arrow priceTipArrow" }), p("div",
|
|
10236
|
+
default: W(() => [h(V(kc), { class: "arrow priceTipArrow" }), p("div", Gu, [
|
|
10233
10237
|
n[20] ||= p("div", { class: "tipTitle1" }, "支付明细", -1),
|
|
10234
10238
|
n[21] ||= p("div", { class: "tipTitle2" }, "会员套餐", -1),
|
|
10235
|
-
p("div",
|
|
10236
|
-
x.value ? (I(), f("div",
|
|
10239
|
+
p("div", Ku, [p("div", null, z(b.value?.name) + " " + z(b.value?.packageName), 1), p("div", null, [p("span", qu, "¥" + z(b.value?.originalPrice), 1), p("span", Ju, "¥" + z(b.value?.price), 1)])]),
|
|
10240
|
+
x.value ? (I(), f("div", Yu, [p("div", null, z(x.value.name), 1), p("div", null, [p("span", Xu, "-¥" + z(x.value.amount), 1)])])) : d("", !0)
|
|
10237
10241
|
])]),
|
|
10238
10242
|
_: 1
|
|
10239
10243
|
})]),
|
|
@@ -10241,14 +10245,14 @@ var eu = {
|
|
|
10241
10245
|
})]),
|
|
10242
10246
|
_: 1
|
|
10243
10247
|
})) : d("", !0),
|
|
10244
|
-
p("div",
|
|
10248
|
+
p("div", Zu, [n[23] ||= p("div", null, "代金券", -1), v.value.length > 0 ? (I(), u(V(xc), { key: 0 }, {
|
|
10245
10249
|
default: W(({ open: e, close: t }) => [
|
|
10246
10250
|
h(V(Oc), {
|
|
10247
10251
|
disabled: v.value.length < 1,
|
|
10248
10252
|
as: "div",
|
|
10249
10253
|
class: A(["currentCoupon", e ? "reverse" : ""])
|
|
10250
10254
|
}, {
|
|
10251
|
-
default: W(() => [m(z(x.value?.name || "不使用代金券") + " ", 1), v.value.length > 0 ? (I(), f("svg",
|
|
10255
|
+
default: W(() => [m(z(x.value?.name || "不使用代金券") + " ", 1), v.value.length > 0 ? (I(), f("svg", Qu, [...n[22] ||= [p("path", {
|
|
10252
10256
|
d: "M512.146286 619.52L245.296762 352.792381 193.584762 404.48l318.585905 318.415238 318.268952-318.415238-51.736381-51.687619z",
|
|
10253
10257
|
"p-id": "2509"
|
|
10254
10258
|
}, null, -1)]])) : d("", !0)]),
|
|
@@ -10261,34 +10265,34 @@ var eu = {
|
|
|
10261
10265
|
align: "end",
|
|
10262
10266
|
class: "highZContent"
|
|
10263
10267
|
}, {
|
|
10264
|
-
default: W(() => [p("div",
|
|
10268
|
+
default: W(() => [p("div", $u, [(I(!0), f(a, null, ce(v.value, (e) => (I(), f("div", {
|
|
10265
10269
|
class: A(["couponItem", e.code === x.value?.code ? "active" : ""]),
|
|
10266
10270
|
key: e.code,
|
|
10267
10271
|
onClick: (n) => oe(e, t)
|
|
10268
|
-
}, [p("div", null, z(e.name), 1), p("div",
|
|
10272
|
+
}, [p("div", null, z(e.name), 1), p("div", td, z(e.validEndTime.slice(0, 10)) + "前", 1)], 10, ed))), 128)), p("div", {
|
|
10269
10273
|
class: A(["couponItem", !x.value && "active"]),
|
|
10270
10274
|
style: { "justify-content": "center" },
|
|
10271
10275
|
onClick: (e) => oe(null, t)
|
|
10272
|
-
}, "不使用代金券", 10,
|
|
10276
|
+
}, "不使用代金券", 10, nd)])]),
|
|
10273
10277
|
_: 2
|
|
10274
10278
|
}, 1024)]),
|
|
10275
10279
|
_: 2
|
|
10276
10280
|
}, 1024)
|
|
10277
10281
|
]),
|
|
10278
10282
|
_: 1
|
|
10279
|
-
})) : (I(), f("div",
|
|
10283
|
+
})) : (I(), f("div", rd, "无可用代金券"))])
|
|
10280
10284
|
])]),
|
|
10281
|
-
p("div",
|
|
10285
|
+
p("div", id, [
|
|
10282
10286
|
p("img", {
|
|
10283
10287
|
class: "qrcode",
|
|
10284
10288
|
src: S.value || ""
|
|
10285
|
-
}, null, 8,
|
|
10289
|
+
}, null, 8, ad),
|
|
10286
10290
|
n[25] ||= p("img", {
|
|
10287
10291
|
class: "icon",
|
|
10288
10292
|
src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
|
|
10289
10293
|
alt: ""
|
|
10290
10294
|
}, null, -1),
|
|
10291
|
-
|
|
10295
|
+
F.value ? d("", !0) : (I(), f("div", od, [...n[24] ||= [p("svg", {
|
|
10292
10296
|
viewBox: "0 0 1024 1024",
|
|
10293
10297
|
version: "1.1",
|
|
10294
10298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -10301,12 +10305,12 @@ var eu = {
|
|
|
10301
10305
|
"p-id": "5070"
|
|
10302
10306
|
})], -1), p("span", null, "请先登录", -1)]]))
|
|
10303
10307
|
]),
|
|
10304
|
-
p("div",
|
|
10305
|
-
!b.value?.payChannel || b.value?.payChannel?.includes("1") ? (I(), f("i",
|
|
10306
|
-
!b.value?.payChannel || b.value?.payChannel?.includes("2") ? (I(), f("i",
|
|
10308
|
+
p("div", sd, [
|
|
10309
|
+
!b.value?.payChannel || b.value?.payChannel?.includes("1") ? (I(), f("i", cd)) : d("", !0),
|
|
10310
|
+
!b.value?.payChannel || b.value?.payChannel?.includes("2") ? (I(), f("i", ld)) : d("", !0),
|
|
10307
10311
|
m(" " + z(b.value?.customFields.QRtext || "请扫码完成支付"), 1)
|
|
10308
10312
|
]),
|
|
10309
|
-
p("div",
|
|
10313
|
+
p("div", ud, [y.value === 1 ? (I(), f(a, { key: 0 }, [n[26] ||= p("a", {
|
|
10310
10314
|
href: "https://aboutus.le.com/user/vip.html",
|
|
10311
10315
|
target: "_blank",
|
|
10312
10316
|
class: "vipXY"
|
|
@@ -10314,14 +10318,14 @@ var eu = {
|
|
|
10314
10318
|
href: "https://aboutus.le.com/user/auto.html",
|
|
10315
10319
|
target: "_blank",
|
|
10316
10320
|
class: "xufeiXY"
|
|
10317
|
-
}, "《自动续费服务协议》", -1)], 64)) : d("", !0), y.value === 9 ? (I(), f("a",
|
|
10321
|
+
}, "《自动续费服务协议》", -1)], 64)) : d("", !0), y.value === 9 ? (I(), f("a", dd, "《乐视频会员服务协议》")) : d("", !0)])
|
|
10318
10322
|
]),
|
|
10319
|
-
h(
|
|
10323
|
+
h(du, {
|
|
10320
10324
|
open: w.value,
|
|
10321
10325
|
"onUpdate:open": n[4] ||= (e) => w.value = e,
|
|
10322
10326
|
redPackages: E.value
|
|
10323
10327
|
}, null, 8, ["open", "redPackages"]),
|
|
10324
|
-
h(
|
|
10328
|
+
h(hu, {
|
|
10325
10329
|
open: T.value,
|
|
10326
10330
|
"onUpdate:open": n[5] ||= (e) => T.value = e,
|
|
10327
10331
|
twoMonthPackages: O.value,
|
|
@@ -10343,7 +10347,7 @@ var eu = {
|
|
|
10343
10347
|
default: W(() => [...n[28] ||= [m("购买成功", -1)]]),
|
|
10344
10348
|
_: 1
|
|
10345
10349
|
}), h(V(Qc), null, {
|
|
10346
|
-
default: W(() => [p("div",
|
|
10350
|
+
default: W(() => [p("div", fd, "购买套餐:" + z(M.value.productName), 1), p("div", pd, "支付金额:" + z(M.value.payable), 1)]),
|
|
10347
10351
|
_: 1
|
|
10348
10352
|
})]),
|
|
10349
10353
|
_: 1
|
|
@@ -10353,13 +10357,13 @@ var eu = {
|
|
|
10353
10357
|
_: 1
|
|
10354
10358
|
}));
|
|
10355
10359
|
}
|
|
10356
|
-
}), [["__scopeId", "data-v-9f9d6463"]]),
|
|
10357
|
-
if (
|
|
10358
|
-
|
|
10360
|
+
}), [["__scopeId", "data-v-9f9d6463"]]), _d = !1, vd = async (e) => {
|
|
10361
|
+
if (_d) return;
|
|
10362
|
+
_d = !0;
|
|
10359
10363
|
let t = document.createElement("div");
|
|
10360
10364
|
document.body.appendChild(t);
|
|
10361
10365
|
let n = [], r = [], i = {}, a = null, o = () => {
|
|
10362
|
-
se(null, t), t.remove(),
|
|
10366
|
+
se(null, t), t.remove(), _d = !1;
|
|
10363
10367
|
}, s = async () => {
|
|
10364
10368
|
let [e, t, o] = await Promise.all([
|
|
10365
10369
|
Se.get("https://d-api-m.le.com/website/packages", {
|
|
@@ -10380,7 +10384,7 @@ var eu = {
|
|
|
10380
10384
|
]);
|
|
10381
10385
|
n = e.data.data.packages, r = t.data.data.packages, i = o.data.body.data, a = window.LEPass.getUserInfo();
|
|
10382
10386
|
}, c = () => {
|
|
10383
|
-
se(S(
|
|
10387
|
+
se(S(gd, {
|
|
10384
10388
|
...e,
|
|
10385
10389
|
smallPackageList: n,
|
|
10386
10390
|
bigPackageList: r,
|
|
@@ -10395,4 +10399,4 @@ var eu = {
|
|
|
10395
10399
|
await s(), c();
|
|
10396
10400
|
};
|
|
10397
10401
|
//#endregion
|
|
10398
|
-
export { Ie as ActivitySwitcher,
|
|
10402
|
+
export { Ie as ActivitySwitcher, vd as openCashier };
|