@leshi/silicon 0.0.18-test.3 → 0.0.18-test.4

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.
@@ -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 P, onBeforeUpdate as ee, onMounted as F, onScopeDispose as te, onUnmounted as ne, 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";
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(), F(() => {
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, P = (w ? d[l].column ?? 0 : l) + (b && i === void 0 ? -x / 2 + .5 : 0);
971
- if (P < C) {
972
- M = Math.max(C - P, S);
973
- for (let e = 0; e < C - P; e += 1) {
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 (P + x > D - C) {
981
- N = Math.max(P - (D - C * 2), S), O && (N = Math.max(N, x - D + y + 1));
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 ee = u.controller?.control;
1018
- if (ee && !s) {
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(ee) ? ee.forEach((t) => {
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
- }) : ee instanceof u.constructor && ee.params.loop && ee.loopFix({
1031
+ }) : te instanceof u.constructor && te.params.loop && te.loopFix({
1032
1032
  ...e,
1033
- slideTo: ee.params.slidesPerView === h.slidesPerView && n
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
- }), F(() => {
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
- }), P(() => {
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
- F(() => {
2600
+ P(() => {
2601
2601
  !r || !r.value || (r.value.on("_slideClass", s), n = !0);
2602
- }), ee(() => {
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
- }), P(() => {
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() ? (te(e, t), !0) : !1;
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) && P(e, 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 && F(() => {
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
- }), ne(() => {
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 F(() => {
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
- }), ne(() => {
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 ne(() => {
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 F(() => {
5124
+ return P(() => {
5125
5125
  Z.branches.add(r.value);
5126
- }), ne(() => {
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
- F(() => {
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"), F(() => {
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
- }), ne(() => {
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"), F(() => {
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 F(() => {
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
- }), ne(() => {
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
- }), te(() => {
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
- }), F(() => {
8593
+ }), P(() => {
8594
8594
  p.onToastAdd();
8595
- }), ne(() => {
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
- }), F(() => {
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
- }), ne(() => {
9386
+ }), F(() => {
9387
9387
  t.delete(e);
9388
9388
  });
9389
9389
  }), (e, t) => R(e.$slots, "default");
@@ -9468,7 +9468,7 @@ Yl("-vue"), Cl("number-flow-vue", Dl);
9468
9468
  var eu = {
9469
9469
  key: 0,
9470
9470
  class: "countDown"
9471
- }, tu = 1800, nu = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
9471
+ }, tu = 60, nu = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
9472
9472
  __name: "CountDown",
9473
9473
  props: { countDownName: {} },
9474
9474
  emits: ["refresh"],
@@ -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 F(() => {
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
- }), P(() => {
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(() => [
@@ -9515,13 +9515,13 @@ var eu = {
9515
9515
  _: 1
9516
9516
  })])) : d("", !0);
9517
9517
  }
9518
- }), [["__scopeId", "data-v-e584f2ec"]]), ru = { class: "content" }, iu = {
9518
+ }), [["__scopeId", "data-v-ff19f085"]]), ru = { class: "content" }, iu = {
9519
9519
  key: 0,
9520
9520
  class: "mealWp"
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 = { class: "three" }, fu = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
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,15 @@ var eu = {
9533
9533
  return U(() => {
9534
9534
  t.redPackages && (i.value = t.redPackages.length === 1);
9535
9535
  }), H(() => n.value, (e) => {
9536
- e ? o = setInterval(() => {
9537
- r.value--, r.value === 0 && (n.value = !1);
9538
- }, 1e3) : o &&= (r.value = 3, clearInterval(o), null);
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() + 60 * 1e3;
9541
+ localStorage.setItem(e, i.toString());
9542
+ } else o && (clearInterval(o), o = null, setTimeout(() => {
9543
+ r.value = 3;
9544
+ }, 1e3));
9539
9545
  }, { immediate: !0 }), (t, o) => (I(), u(V(ca), {
9540
9546
  open: n.value,
9541
9547
  class: "root"
@@ -9586,7 +9592,7 @@ var eu = {
9586
9592
  key: 2,
9587
9593
  "count-down-name": `package_${e.redPackages.map((e) => e.packageId).join("_")}`
9588
9594
  }, null, 8, ["count-down-name"])) : d("", !0),
9589
- p("div", du, z(r.value) + "s后自动到账", 1)
9595
+ ye(p("div", { class: "three" }, z(r.value) + "s后自动到账", 513), [[_e, r.value > 0]])
9590
9596
  ])]),
9591
9597
  _: 1
9592
9598
  })]),
@@ -9595,7 +9601,7 @@ var eu = {
9595
9601
  _: 1
9596
9602
  }, 8, ["open"]));
9597
9603
  }
9598
- }), [["__scopeId", "data-v-93a426db"]]), pu = { class: "twoMonths" }, mu = { class: "qrcodeWp" }, hu = ["src"], gu = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
9604
+ }), [["__scopeId", "data-v-6954a4ca"]]), fu = { class: "twoMonths" }, pu = { class: "qrcodeWp" }, mu = ["src"], hu = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
9599
9605
  __name: "TwoMonthDialog",
9600
9606
  props: /*@__PURE__*/ D({
9601
9607
  twoMonthPackages: {},
@@ -9639,13 +9645,13 @@ var eu = {
9639
9645
  style: M(`background:url(${e.twoMonthPackages[0]?.pc_pic}) no-repeat;background-size: 100%;`)
9640
9646
  }, {
9641
9647
  default: W(() => [h(V(Va), null, {
9642
- default: W(() => [p("div", pu, [p("div", {
9648
+ default: W(() => [p("div", fu, [p("div", {
9643
9649
  class: "btnClose",
9644
9650
  onClick: n[0] ||= (e) => i.value = !1
9645
- }), p("div", mu, [p("img", {
9651
+ }), p("div", pu, [p("img", {
9646
9652
  class: "qrcode",
9647
9653
  src: s.value || ""
9648
- }, null, 8, hu), n[1] ||= p("img", {
9654
+ }, null, 8, mu), n[1] ||= p("img", {
9649
9655
  class: "icon",
9650
9656
  src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
9651
9657
  alt: ""
@@ -9657,7 +9663,7 @@ var eu = {
9657
9663
  _: 1
9658
9664
  }, 8, ["open"]));
9659
9665
  }
9660
- }), [["__scopeId", "data-v-15f1b275"]]), _u = /* @__PURE__ */ Me((/* @__PURE__ */ G(((e, t) => {
9666
+ }), [["__scopeId", "data-v-15f1b275"]]), gu = /* @__PURE__ */ Me((/* @__PURE__ */ G(((e, t) => {
9661
9667
  (function(n, r) {
9662
9668
  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
9669
  })(e, (function() {
@@ -9951,33 +9957,33 @@ var eu = {
9951
9957
  return w(1e3 * e);
9952
9958
  }, w.en = b[y], w.Ls = b, w.p = {}, w;
9953
9959
  }));
9954
- })))(), 1), vu = { class: "payLayerFrame" }, yu = { class: "payLeft" }, bu = { class: "userBox" }, xu = { class: "userInfo" }, Su = { class: "userAvatar" }, Cu = ["src"], wu = { class: "userLogin" }, Tu = { class: "userState" }, Eu = { class: "userLoginName" }, Du = {
9960
+ })))(), 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
9961
  key: 0,
9956
9962
  class: "userPay",
9957
9963
  href: "https://www.le.com/user/vip",
9958
9964
  target: "_blank"
9959
- }, Ou = { class: "userTip" }, ku = { class: "payPackage" }, Au = { class: "packageTabContainer" }, ju = { class: "payTime" }, Mu = { class: "payPrice flow" }, Nu = { class: "payPrice" }, Pu = {
9965
+ }, Du = { class: "userTip" }, Ou = { class: "payPackage" }, ku = { class: "packageTabContainer" }, Au = { class: "payTime" }, ju = { class: "payPrice flow" }, Mu = { class: "payPrice" }, Nu = {
9960
9966
  key: 0,
9961
9967
  class: "payOldPrice"
9962
- }, Fu = {
9968
+ }, Pu = {
9963
9969
  key: 2,
9964
9970
  class: "payIcon"
9965
- }, Iu = {
9971
+ }, Fu = {
9966
9972
  key: 3,
9967
9973
  class: "payPoint"
9968
- }, Lu = { class: "countdown" }, Ru = {
9974
+ }, Iu = { class: "countdown" }, Lu = {
9969
9975
  key: 0,
9970
9976
  class: "payGoodsDetailIntro"
9971
- }, zu = {
9977
+ }, Ru = {
9972
9978
  key: 1,
9973
9979
  class: "payGoodsDetailIntro2"
9974
- }, Bu = { key: 0 }, Vu = { key: 1 }, Hu = { class: "payRight" }, Uu = { class: "payDetail" }, Wu = { class: "priceBox" }, Gu = { class: "price" }, Ku = { class: "priceTipContent" }, qu = { class: "detail" }, Ju = { class: "o" }, Yu = { class: "c" }, Xu = {
9980
+ }, 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
9981
  key: 0,
9976
9982
  class: "detail"
9977
- }, Zu = {
9983
+ }, Xu = {
9978
9984
  class: "o",
9979
9985
  style: { "text-decoration": "none" }
9980
- }, Qu = { class: "couponWp" }, $u = {
9986
+ }, Zu = { class: "couponWp" }, Qu = {
9981
9987
  key: 0,
9982
9988
  t: "1787640783271",
9983
9989
  class: "icon",
@@ -9987,21 +9993,21 @@ var eu = {
9987
9993
  "p-id": "2508",
9988
9994
  width: "200",
9989
9995
  height: "200"
9990
- }, ed = { class: "couponContent" }, td = ["onClick"], nd = { class: "expire" }, rd = ["onClick"], id = { key: 1 }, ad = { class: "qrcodeWp" }, od = ["src"], sd = {
9996
+ }, $u = { class: "couponContent" }, ed = ["onClick"], td = { class: "expire" }, nd = ["onClick"], rd = { key: 1 }, id = { class: "qrcodeWp" }, ad = ["src"], od = {
9991
9997
  key: 0,
9992
9998
  class: "mask"
9993
- }, cd = { class: "wxalibox" }, ld = {
9999
+ }, sd = { class: "wxalibox" }, cd = {
9994
10000
  key: 0,
9995
10001
  class: "payAli"
9996
- }, ud = {
10002
+ }, ld = {
9997
10003
  key: 1,
9998
10004
  class: "payWechat"
9999
- }, dd = { class: "explainBoxR" }, fd = {
10005
+ }, ud = { class: "explainBoxR" }, dd = {
10000
10006
  key: 1,
10001
10007
  href: "https://minisite.letv.com/msite/leVipAgreement/index.shtml",
10002
10008
  target: "_blank",
10003
10009
  class: "dapingvipXY"
10004
- }, pd = { class: "tip" }, md = { class: "tip" }, hd = "red_packet_popup_daily", gd = "guide_count", _d = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
10010
+ }, fd = { class: "tip" }, pd = { class: "tip" }, md = "red_packet_popup_daily", hd = "guide_count", gd = /*#__PURE__*/ Fe(/* @__PURE__ */ _({
10005
10011
  __name: "component",
10006
10012
  props: {
10007
10013
  smallPackageList: {},
@@ -10016,14 +10022,14 @@ var eu = {
10016
10022
  emits: ["close", "refreshPackages"],
10017
10023
  setup(e, { emit: r }) {
10018
10024
  let i = e, o = () => {
10019
- let [e, t] = localStorage.getItem(hd)?.split("#") ?? [];
10020
- return e === (0, _u.default)().format("YYYY-MM-DD") && Number(t) || 0;
10025
+ let [e, t] = localStorage.getItem(md)?.split("#") ?? [];
10026
+ return e === (0, gu.default)().format("YYYY-MM-DD") && Number(t) || 0;
10021
10027
  }, s = (e) => {
10022
- let t = gd + e, [n, r] = localStorage.getItem(t)?.split("#") ?? [];
10023
- return n === (0, _u.default)().format("YYYY-MM-DD") && Number(r) || 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), P = L(!1), ee = L(o() < 3);
10028
+ let t = hd + e, [n, r] = localStorage.getItem(t)?.split("#") ?? [];
10029
+ return n === (0, gu.default)().format("YYYY-MM-DD") && Number(r) || 0;
10030
+ }, 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
10031
  L(!1);
10026
- let te = r, ne = l(() => !!c.value?.uid), re = l(() => _.value?.isvip ? _.value.vipType : 0), ie = l(() => y.value === 1 ? i.smallPackageList : i.bigPackageList), ae = () => {
10032
+ 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
10033
  window.LEPassNew.openLoginDialog();
10028
10034
  }, oe = (e, t) => {
10029
10035
  x.value = e, t();
@@ -10031,7 +10037,7 @@ var eu = {
10031
10037
  N.value = !1;
10032
10038
  let e = o();
10033
10039
  e < 3 && setTimeout(() => {
10034
- w.value = !0, localStorage.setItem(hd, `${(0, _u.default)().format("YYYY-MM-DD")}#${e + 1}`);
10040
+ w.value = !0, localStorage.setItem(md, `${(0, gu.default)().format("YYYY-MM-DD")}#${e + 1}`);
10035
10041
  }, 1e3);
10036
10042
  }, R = async () => {
10037
10043
  let e = await t("https://d-api-m.le.com/yuanxian/member?platform=pc");
@@ -10047,7 +10053,7 @@ var eu = {
10047
10053
  });
10048
10054
  e.data.data?.length > 0 ? (v.value = e.data.data, x.value = e.data.data[0]) : (v.value = [], x.value = null);
10049
10055
  }, ue = async () => {
10050
- if (!ne.value) {
10056
+ if (!F.value) {
10051
10057
  S.value = await rl.toDataURL("https://www.le.com", { margin: 2 });
10052
10058
  return;
10053
10059
  }
@@ -10070,7 +10076,7 @@ var eu = {
10070
10076
  n.data.data.status === 1 && (t(), M.value = n.data.data, j.value = !0, i.onSuccess?.());
10071
10077
  }, 2e3);
10072
10078
  }, de = () => {
10073
- k.value?.stop(), te("close");
10079
+ k.value?.stop(), ne("close");
10074
10080
  }, fe = () => {
10075
10081
  let e = i.smallPackageList?.find((e) => e.packageId === i.selectPkgId), t = !e && i.bigPackageList?.find((e) => e.packageId === i.selectPkgId);
10076
10082
  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 +10090,23 @@ var eu = {
10084
10090
  if (r >= n) T.value = !1;
10085
10091
  else {
10086
10092
  let t = r + 1;
10087
- localStorage.setItem(gd + e, `${(0, _u.default)().format("YYYY-MM-DD")}#${t}`), T.value = !0;
10093
+ localStorage.setItem(hd + e, `${(0, gu.default)().format("YYYY-MM-DD")}#${t}`), T.value = !0;
10088
10094
  }
10089
10095
  }
10090
10096
  }, me = (e) => {
10091
10097
  console.log("父收到子传的数组:", e), M.value = e, j.value = !0, i.onSuccess?.();
10092
10098
  };
10093
- return F(async () => {
10099
+ return P(async () => {
10094
10100
  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(), te("refreshPackages"));
10101
+ e === "signIn" && (c.value = window.LEPass.getUserInfo(), await R(), ne("refreshPackages"));
10096
10102
  }), 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
10103
  let e = o();
10098
10104
  if (e >= 3) {
10099
- ee.value = !1;
10105
+ te.value = !1;
10100
10106
  return;
10101
10107
  } else {
10102
10108
  let t = e + 1;
10103
- localStorage.setItem(hd, `${(0, _u.default)().format("YYYY-MM-DD")}#${t}`), ee.value = !0, w.value = E.value.length > 0;
10109
+ localStorage.setItem(md, `${(0, gu.default)().format("YYYY-MM-DD")}#${t}`), te.value = !0, w.value = E.value.length > 0;
10104
10110
  }
10105
10111
  }), H(() => y.value, (e) => {
10106
10112
  e === 1 ? b.value = i.smallPackageList[0] : b.value = i.bigPackageList[0], C.value?.slideTo(1);
@@ -10108,14 +10114,14 @@ var eu = {
10108
10114
  await le(), ue(), pe();
10109
10115
  }), H(() => w.value, (e) => {
10110
10116
  e || setTimeout(() => {
10111
- N.value = !0, P.value = !0, setTimeout(() => {
10112
- P.value = !1;
10117
+ N.value = !0, ee.value = !0, setTimeout(() => {
10118
+ ee.value = !1;
10113
10119
  }, 900);
10114
10120
  }, 400);
10115
10121
  }), H([() => i.smallPackageList, () => i.bigPackageList], () => {
10116
10122
  E.value = i.smallPackageList.concat(i.bigPackageList).filter((e) => e.customFields?.redpackage === "1"), fe();
10117
10123
  }), (t, n) => (I(), u(V(Vc), { duration: 3e3 }, {
10118
- default: W(() => [p("div", null, [n[30] ||= p("div", { class: "payLayerMask" }, null, -1), p("div", vu, [
10124
+ default: W(() => [p("div", null, [n[30] ||= p("div", { class: "payLayerMask" }, null, -1), p("div", _u, [
10119
10125
  p("div", {
10120
10126
  class: "payLayerClose",
10121
10127
  onClick: n[0] ||= (e) => de()
@@ -10124,14 +10130,14 @@ var eu = {
10124
10130
  href: "https://ibuy.le.com/v2/exchange/index.html",
10125
10131
  target: "_blank"
10126
10132
  }, "兑换会员")], -1),
10127
- p("div", yu, [p("div", bu, [p("div", xu, [p("span", Su, [p("img", {
10133
+ p("div", vu, [p("div", yu, [p("div", bu, [p("span", xu, [p("img", {
10128
10134
  src: c.value?.headicon_200 || "https://i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon7.png",
10129
10135
  alt: ""
10130
- }, null, 8, Cu), p("i", { class: A(["iconUserVip", re.value ? "vip" : _.value?.endtime ? "expire" : ""]) }, null, 2)]), p("div", wu, [p("div", Tu, [p("span", Eu, z(c.value?.nickname || "注册/登录"), 1), _.value?.isSubscribe === 2 ? (I(), f("a", Du, "续费管理")) : d("", !0)]), p("span", Ou, z(ne.value ? re.value ? `${_.value?.packageName} ${_.value?.endtime.split(" ")[0]}到期` : _.value?.endtime ? "视频会员服务已过期,续费立享会员权益" : "开通视频会员享会员权益,大片热剧免费看" : "请登录后购买,享受会员权益"), 1)])]), p("span", {
10136
+ }, 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
10137
  class: "userChange",
10132
10138
  "data-bk": "change",
10133
10139
  onClick: ae
10134
- }, z(ne.value ? "切换账号" : "立即登录"), 1)]), p("div", ku, [p("div", { class: A(`packageTabTitle ${y.value === 9 ? "reverse" : ""}`) }, [p("div", {
10140
+ }, z(F.value ? "切换账号" : "立即登录"), 1)]), p("div", Ou, [p("div", { class: A(`packageTabTitle ${y.value === 9 ? "reverse" : ""}`) }, [p("div", {
10135
10141
  class: "tab tab1 tabcur",
10136
10142
  "data-viptype": "1",
10137
10143
  onClick: n[1] ||= (e) => y.value = 1
@@ -10139,7 +10145,7 @@ var eu = {
10139
10145
  class: "tab tab1",
10140
10146
  "data-viptype": "9",
10141
10147
  onClick: n[2] ||= (e) => y.value = 9
10142
- }, [...n[9] ||= [p("span", null, "乐视频会员(电视端)", -1), p("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), p("div", Au, [
10148
+ }, [...n[9] ||= [p("span", null, "乐视频会员(电视端)", -1), p("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), p("div", ku, [
10143
10149
  h(V(Xn), {
10144
10150
  modules: [V(er)],
10145
10151
  "slides-per-view": 3,
@@ -10154,17 +10160,17 @@ var eu = {
10154
10160
  }, {
10155
10161
  default: W(() => [(I(!0), f(a, null, ce(ie.value, (e) => (I(), u(V(Zn), { onClick: (t) => b.value = e }, {
10156
10162
  default: W(() => [p("div", { class: A(`packItem ${b.value?.packageId === e.packageId ? "active" : ""} ${e.giftLedou ? "withledou" : ""}`) }, [
10157
- p("div", ju, z(e.packageName), 1),
10158
- E.value.find((t) => t.packageId === e.packageId) && ee.value ? (I(), f(a, { key: 0 }, [p("div", Mu, [n[10] ||= p("span", null, "¥", -1), h(V($l), { value: N.value ? e.price : e.originalPrice }, null, 8, ["value"])]), ye(p("img", {
10163
+ p("div", Au, z(e.packageName), 1),
10164
+ 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
10165
  ref_for: !0,
10160
10166
  ref: "rainGifRef",
10161
10167
  class: "raingif",
10162
10168
  src: "https://i0.letvimg.com/lc20_phone/202609/04/16/50/1788511847441967.gif",
10163
10169
  alt: ""
10164
- }, null, 512), [[_e, N.value && P.value]])], 64)) : (I(), f(a, { key: 1 }, [p("div", Nu, [n[11] ||= p("span", null, "¥", -1), m(z(e.price), 1)]), e.originalPrice ? (I(), f("div", Pu, "¥" + z(e.originalPrice), 1)) : d("", !0)], 64)),
10165
- e.customFields.iconlong ? (I(), f("div", Fu, z(e.customFields.iconlong), 1)) : d("", !0),
10166
- e.customFields.point ? (I(), f("div", Iu, z(e.customFields.point), 1)) : d("", !0),
10167
- p("div", Lu, [N.value && E.value.find((t) => t.packageId === e.packageId) ? (I(), u(nu, {
10170
+ }, 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)),
10171
+ e.customFields.iconlong ? (I(), f("div", Pu, z(e.customFields.iconlong), 1)) : d("", !0),
10172
+ e.customFields.point ? (I(), f("div", Fu, z(e.customFields.point), 1)) : d("", !0),
10173
+ p("div", Iu, [N.value && E.value.find((t) => t.packageId === e.packageId) ? (I(), u(nu, {
10168
10174
  key: 0,
10169
10175
  "count-down-name": `package_${E.value.length === 1 ? e.packageId : E.value.map((e) => e.packageId).join("_")}`,
10170
10176
  onRefresh: se
@@ -10182,7 +10188,7 @@ var eu = {
10182
10188
  class: "navigation next",
10183
10189
  id: "precashier_next"
10184
10190
  }, null, -1),
10185
- b.value?.giftLedou ? (I(), f("div", Ru, [n[13] ||= p("img", {
10191
+ b.value?.giftLedou ? (I(), f("div", Lu, [n[13] ||= p("img", {
10186
10192
  src: "//i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon1.png",
10187
10193
  width: "14",
10188
10194
  height: "14"
@@ -10208,12 +10214,12 @@ var eu = {
10208
10214
  })]),
10209
10215
  _: 1
10210
10216
  })])])) : d("", !0),
10211
- b.value?.customFields.remark1 || b.value?.customFields.remark2 ? (I(), f("div", zu, [b.value?.customFields.remark1 ? (I(), f("div", Bu, z(b.value?.customFields.remark1), 1)) : d("", !0), b.value?.customFields.remark2 ? (I(), f("div", Vu, z(b.value?.customFields.remark2), 1)) : d("", !0)])) : d("", !0),
10217
+ 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
10218
  n[16] ||= p("div", { class: "explainBox" }, [p("div", null, "本页展示的套餐价为新用户专享价或刊例价,划线价为建议零售价"), p("div", null, "如有问题可以联系在线客服:微信公众号“乐视影视会员”【9点-18点】")], -1)
10213
10219
  ])])]),
10214
- p("div", Hu, [
10215
- p("div", Uu, [p("div", Wu, [
10216
- p("div", Gu, [n[17] ||= m(" ¥ ", -1), h(V($l), { value: (b.value?.price || 0) - (x.value?.amount || 0) || 0 }, null, 8, ["value"])]),
10220
+ p("div", Vu, [
10221
+ p("div", Hu, [p("div", Uu, [
10222
+ p("div", Wu, [n[17] ||= m(" ¥ ", -1), h(V($l), { value: (b.value?.price || 0) - (x.value?.amount || 0) || 0 }, null, 8, ["value"])]),
10217
10223
  b.value?.originalPrice && b.value?.price && b.value?.price !== b.value?.originalPrice || x.value?.amount ? (I(), u(V(Mc), {
10218
10224
  key: 0,
10219
10225
  openDelay: 0
@@ -10229,11 +10235,11 @@ var eu = {
10229
10235
  sideOffset: 4,
10230
10236
  class: "highZContent"
10231
10237
  }, {
10232
- default: W(() => [h(V(kc), { class: "arrow priceTipArrow" }), p("div", Ku, [
10238
+ default: W(() => [h(V(kc), { class: "arrow priceTipArrow" }), p("div", Gu, [
10233
10239
  n[20] ||= p("div", { class: "tipTitle1" }, "支付明细", -1),
10234
10240
  n[21] ||= p("div", { class: "tipTitle2" }, "会员套餐", -1),
10235
- p("div", qu, [p("div", null, z(b.value?.name) + " " + z(b.value?.packageName), 1), p("div", null, [p("span", Ju, "¥" + z(b.value?.originalPrice), 1), p("span", Yu, "¥" + z(b.value?.price), 1)])]),
10236
- x.value ? (I(), f("div", Xu, [p("div", null, z(x.value.name), 1), p("div", null, [p("span", Zu, "-¥" + z(x.value.amount), 1)])])) : d("", !0)
10241
+ 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)])]),
10242
+ 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
10243
  ])]),
10238
10244
  _: 1
10239
10245
  })]),
@@ -10241,14 +10247,14 @@ var eu = {
10241
10247
  })]),
10242
10248
  _: 1
10243
10249
  })) : d("", !0),
10244
- p("div", Qu, [n[23] ||= p("div", null, "代金券", -1), v.value.length > 0 ? (I(), u(V(xc), { key: 0 }, {
10250
+ p("div", Zu, [n[23] ||= p("div", null, "代金券", -1), v.value.length > 0 ? (I(), u(V(xc), { key: 0 }, {
10245
10251
  default: W(({ open: e, close: t }) => [
10246
10252
  h(V(Oc), {
10247
10253
  disabled: v.value.length < 1,
10248
10254
  as: "div",
10249
10255
  class: A(["currentCoupon", e ? "reverse" : ""])
10250
10256
  }, {
10251
- default: W(() => [m(z(x.value?.name || "不使用代金券") + " ", 1), v.value.length > 0 ? (I(), f("svg", $u, [...n[22] ||= [p("path", {
10257
+ default: W(() => [m(z(x.value?.name || "不使用代金券") + " ", 1), v.value.length > 0 ? (I(), f("svg", Qu, [...n[22] ||= [p("path", {
10252
10258
  d: "M512.146286 619.52L245.296762 352.792381 193.584762 404.48l318.585905 318.415238 318.268952-318.415238-51.736381-51.687619z",
10253
10259
  "p-id": "2509"
10254
10260
  }, null, -1)]])) : d("", !0)]),
@@ -10261,34 +10267,34 @@ var eu = {
10261
10267
  align: "end",
10262
10268
  class: "highZContent"
10263
10269
  }, {
10264
- default: W(() => [p("div", ed, [(I(!0), f(a, null, ce(v.value, (e) => (I(), f("div", {
10270
+ default: W(() => [p("div", $u, [(I(!0), f(a, null, ce(v.value, (e) => (I(), f("div", {
10265
10271
  class: A(["couponItem", e.code === x.value?.code ? "active" : ""]),
10266
10272
  key: e.code,
10267
10273
  onClick: (n) => oe(e, t)
10268
- }, [p("div", null, z(e.name), 1), p("div", nd, z(e.validEndTime.slice(0, 10)) + "前", 1)], 10, td))), 128)), p("div", {
10274
+ }, [p("div", null, z(e.name), 1), p("div", td, z(e.validEndTime.slice(0, 10)) + "前", 1)], 10, ed))), 128)), p("div", {
10269
10275
  class: A(["couponItem", !x.value && "active"]),
10270
10276
  style: { "justify-content": "center" },
10271
10277
  onClick: (e) => oe(null, t)
10272
- }, "不使用代金券", 10, rd)])]),
10278
+ }, "不使用代金券", 10, nd)])]),
10273
10279
  _: 2
10274
10280
  }, 1024)]),
10275
10281
  _: 2
10276
10282
  }, 1024)
10277
10283
  ]),
10278
10284
  _: 1
10279
- })) : (I(), f("div", id, "无可用代金券"))])
10285
+ })) : (I(), f("div", rd, "无可用代金券"))])
10280
10286
  ])]),
10281
- p("div", ad, [
10287
+ p("div", id, [
10282
10288
  p("img", {
10283
10289
  class: "qrcode",
10284
10290
  src: S.value || ""
10285
- }, null, 8, od),
10291
+ }, null, 8, ad),
10286
10292
  n[25] ||= p("img", {
10287
10293
  class: "icon",
10288
10294
  src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
10289
10295
  alt: ""
10290
10296
  }, null, -1),
10291
- ne.value ? d("", !0) : (I(), f("div", sd, [...n[24] ||= [p("svg", {
10297
+ F.value ? d("", !0) : (I(), f("div", od, [...n[24] ||= [p("svg", {
10292
10298
  viewBox: "0 0 1024 1024",
10293
10299
  version: "1.1",
10294
10300
  xmlns: "http://www.w3.org/2000/svg",
@@ -10301,12 +10307,12 @@ var eu = {
10301
10307
  "p-id": "5070"
10302
10308
  })], -1), p("span", null, "请先登录", -1)]]))
10303
10309
  ]),
10304
- p("div", cd, [
10305
- !b.value?.payChannel || b.value?.payChannel?.includes("1") ? (I(), f("i", ld)) : d("", !0),
10306
- !b.value?.payChannel || b.value?.payChannel?.includes("2") ? (I(), f("i", ud)) : d("", !0),
10310
+ p("div", sd, [
10311
+ !b.value?.payChannel || b.value?.payChannel?.includes("1") ? (I(), f("i", cd)) : d("", !0),
10312
+ !b.value?.payChannel || b.value?.payChannel?.includes("2") ? (I(), f("i", ld)) : d("", !0),
10307
10313
  m(" " + z(b.value?.customFields.QRtext || "请扫码完成支付"), 1)
10308
10314
  ]),
10309
- p("div", dd, [y.value === 1 ? (I(), f(a, { key: 0 }, [n[26] ||= p("a", {
10315
+ p("div", ud, [y.value === 1 ? (I(), f(a, { key: 0 }, [n[26] ||= p("a", {
10310
10316
  href: "https://aboutus.le.com/user/vip.html",
10311
10317
  target: "_blank",
10312
10318
  class: "vipXY"
@@ -10314,14 +10320,14 @@ var eu = {
10314
10320
  href: "https://aboutus.le.com/user/auto.html",
10315
10321
  target: "_blank",
10316
10322
  class: "xufeiXY"
10317
- }, "《自动续费服务协议》", -1)], 64)) : d("", !0), y.value === 9 ? (I(), f("a", fd, "《乐视频会员服务协议》")) : d("", !0)])
10323
+ }, "《自动续费服务协议》", -1)], 64)) : d("", !0), y.value === 9 ? (I(), f("a", dd, "《乐视频会员服务协议》")) : d("", !0)])
10318
10324
  ]),
10319
- h(fu, {
10325
+ h(du, {
10320
10326
  open: w.value,
10321
10327
  "onUpdate:open": n[4] ||= (e) => w.value = e,
10322
10328
  redPackages: E.value
10323
10329
  }, null, 8, ["open", "redPackages"]),
10324
- h(gu, {
10330
+ h(hu, {
10325
10331
  open: T.value,
10326
10332
  "onUpdate:open": n[5] ||= (e) => T.value = e,
10327
10333
  twoMonthPackages: O.value,
@@ -10343,7 +10349,7 @@ var eu = {
10343
10349
  default: W(() => [...n[28] ||= [m("购买成功", -1)]]),
10344
10350
  _: 1
10345
10351
  }), h(V(Qc), null, {
10346
- default: W(() => [p("div", pd, "购买套餐:" + z(M.value.productName), 1), p("div", md, "支付金额:" + z(M.value.payable), 1)]),
10352
+ default: W(() => [p("div", fd, "购买套餐:" + z(M.value.productName), 1), p("div", pd, "支付金额:" + z(M.value.payable), 1)]),
10347
10353
  _: 1
10348
10354
  })]),
10349
10355
  _: 1
@@ -10353,13 +10359,13 @@ var eu = {
10353
10359
  _: 1
10354
10360
  }));
10355
10361
  }
10356
- }), [["__scopeId", "data-v-9f9d6463"]]), vd = !1, yd = async (e) => {
10357
- if (vd) return;
10358
- vd = !0;
10362
+ }), [["__scopeId", "data-v-9f9d6463"]]), _d = !1, vd = async (e) => {
10363
+ if (_d) return;
10364
+ _d = !0;
10359
10365
  let t = document.createElement("div");
10360
10366
  document.body.appendChild(t);
10361
10367
  let n = [], r = [], i = {}, a = null, o = () => {
10362
- se(null, t), t.remove(), vd = !1;
10368
+ se(null, t), t.remove(), _d = !1;
10363
10369
  }, s = async () => {
10364
10370
  let [e, t, o] = await Promise.all([
10365
10371
  Se.get("https://d-api-m.le.com/website/packages", {
@@ -10380,7 +10386,7 @@ var eu = {
10380
10386
  ]);
10381
10387
  n = e.data.data.packages, r = t.data.data.packages, i = o.data.body.data, a = window.LEPass.getUserInfo();
10382
10388
  }, c = () => {
10383
- se(S(_d, {
10389
+ se(S(gd, {
10384
10390
  ...e,
10385
10391
  smallPackageList: n,
10386
10392
  bigPackageList: r,
@@ -10395,4 +10401,4 @@ var eu = {
10395
10401
  await s(), c();
10396
10402
  };
10397
10403
  //#endregion
10398
- export { Ie as ActivitySwitcher, yd as openCashier };
10404
+ export { Ie as ActivitySwitcher, vd as openCashier };