delta-comic-core 0.0.2 → 0.0.3

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/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, customRef, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, hasInjectionContext, inject, isRef, isVNode, markRaw, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeUnmount, onBeforeUpdate, onDeactivated, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveDynamicComponent, shallowReactive, shallowReadonly, shallowRef, toDisplayString, toRef, toValue, unref, useCssVars, useModel, useTemplateRef, vShow, watch, watchEffect, withCtx, withDirectives, withModifiers } from "vue";
2
- import { onBeforeRouteLeave, useRoute } from "vue-router";
2
+ import { onBeforeRouteLeave, routerKey, useRoute } from "vue-router";
3
3
  import { NButton, NEmpty, NIcon, NImage, NPopconfirm, NResult, NVirtualList, useThemeVars } from "naive-ui";
4
4
  import { showImagePreview } from "vant";
5
5
  import { defineStore } from "pinia";
@@ -1080,13 +1080,13 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1080
1080
  }), K();
1081
1081
  };
1082
1082
  isHidden(a) ? nextTick().then(r) : r();
1083
- }, El = () => J(s.active), Dl, Ol = (n) => {
1084
- !e.touchable || n.touches.length > 1 || (l.start(n), c = !1, Dl = Date.now(), W(), k());
1085
- }, kl = (r) => {
1083
+ }, Dl = () => J(s.active), Ol, kl = (n) => {
1084
+ !e.touchable || n.touches.length > 1 || (l.start(n), c = !1, Ol = Date.now(), W(), k());
1085
+ }, Al = (r) => {
1086
1086
  e.touchable && s.swiping && (l.move(r), S.value && (!e.loop && (s.active === 0 && h.value > 0 || s.active === p.value - 1 && h.value < 0) || (preventDefault(r, e.stopPropagation), O({ offset: h.value }), c ||= (n("dragStart", { index: b.value }), !0))));
1087
- }, Al = () => {
1087
+ }, jl = () => {
1088
1088
  if (!e.touchable || !s.swiping) return;
1089
- let r = Date.now() - Dl, i = h.value / r;
1089
+ let r = Date.now() - Ol, i = h.value / r;
1090
1090
  if ((Math.abs(i) > .25 || Math.abs(h.value) > m.value / 2) && S.value) {
1091
1091
  let n = e.vertical ? l.offsetY.value : l.offsetX.value, r = 0;
1092
1092
  r = e.loop ? n > 0 ? h.value > 0 ? -1 : 1 : 0 : -Math[h.value > 0 ? "ceil" : "floor"](h.value / m.value), O({
@@ -1095,7 +1095,7 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1095
1095
  });
1096
1096
  } else h.value && O({ pace: 0 });
1097
1097
  c = !1, s.swiping = !1, n("dragEnd", { index: b.value }), K();
1098
- }, jl = (n, r = {}) => {
1098
+ }, Ml = (n, r = {}) => {
1099
1099
  k(), l.reset(), doubleRaf(() => {
1100
1100
  let i;
1101
1101
  i = e.loop && n === p.value ? s.active === 0 ? 0 : n : n % p.value, r.immediate ? doubleRaf(() => {
@@ -1105,25 +1105,25 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1105
1105
  emitChange: !0
1106
1106
  });
1107
1107
  });
1108
- }, Ml = (n, r) => {
1108
+ }, Nl = (n, r) => {
1109
1109
  let i = r === b.value;
1110
1110
  return createVNode("i", {
1111
1111
  style: i ? { backgroundColor: e.indicatorColor } : void 0,
1112
1112
  class: bem$7("indicator", { active: i })
1113
1113
  }, null);
1114
- }, Nl = () => {
1114
+ }, Pl = () => {
1115
1115
  if (r.indicator) return r.indicator({
1116
1116
  active: b.value,
1117
1117
  total: p.value
1118
1118
  });
1119
- if (e.showIndicators && p.value > 1) return createVNode("div", { class: bem$7("indicators", { vertical: e.vertical }) }, [Array(p.value).fill("").map(Ml)]);
1119
+ if (e.showIndicators && p.value > 1) return createVNode("div", { class: bem$7("indicators", { vertical: e.vertical }) }, [Array(p.value).fill("").map(Nl)]);
1120
1120
  };
1121
1121
  return useExpose({
1122
1122
  prev: M,
1123
1123
  next: V,
1124
1124
  state: s,
1125
- resize: El,
1126
- swipeTo: jl
1125
+ resize: Dl,
1126
+ swipeTo: Ml
1127
1127
  }), f({
1128
1128
  size: m,
1129
1129
  props: e,
@@ -1134,19 +1134,19 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1134
1134
  windowHeight,
1135
1135
  () => e.width,
1136
1136
  () => e.height
1137
- ], El), watch(usePageVisibility(), (e) => {
1137
+ ], Dl), watch(usePageVisibility(), (e) => {
1138
1138
  e === "visible" ? K() : W();
1139
- }), onMounted(J), onActivated(() => J(s.active)), onPopupReopen(() => J(s.active)), onDeactivated(W), onBeforeUnmount(W), useEventListener("touchmove", kl, { target: o }), () => createVNode("div", {
1139
+ }), onMounted(J), onActivated(() => J(s.active)), onPopupReopen(() => J(s.active)), onDeactivated(W), onBeforeUnmount(W), useEventListener("touchmove", Al, { target: o }), () => createVNode("div", {
1140
1140
  ref: a,
1141
1141
  class: bem$7()
1142
1142
  }, [createVNode("div", {
1143
1143
  ref: o,
1144
1144
  style: C.value,
1145
1145
  class: bem$7("track", { vertical: e.vertical }),
1146
- onTouchstartPassive: Ol,
1147
- onTouchend: Al,
1148
- onTouchcancel: Al
1149
- }, [r.default?.call(r)]), Nl()]);
1146
+ onTouchstartPassive: kl,
1147
+ onTouchend: jl,
1148
+ onTouchcancel: jl
1149
+ }, [r.default?.call(r)]), Pl()]);
1150
1150
  }
1151
1151
  })), [name$6, bem$6] = createNamespace("tabs"), stdin_default$5 = defineComponent({
1152
1152
  name: name$6,
@@ -1283,26 +1283,26 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1283
1283
  event: a,
1284
1284
  disabled: s
1285
1285
  });
1286
- }, El = (e) => {
1287
- s = e.isFixed, n("scroll", e);
1288
1286
  }, Dl = (e) => {
1287
+ s = e.isFixed, n("scroll", e);
1288
+ }, Ol = (e) => {
1289
1289
  nextTick(() => {
1290
1290
  W(e), K(!0);
1291
1291
  });
1292
- }, Ol = () => {
1292
+ }, kl = () => {
1293
1293
  for (let e = 0; e < b.length; e++) {
1294
1294
  let { top: n } = useRect(b[e].$el);
1295
1295
  if (n > M.value) return e === 0 ? 0 : e - 1;
1296
1296
  }
1297
1297
  return b.length - 1;
1298
- }, kl = () => {
1299
- e.scrollspy && !o && H(Ol());
1300
1298
  }, Al = () => {
1299
+ e.scrollspy && !o && H(kl());
1300
+ }, jl = () => {
1301
1301
  if (e.type === "line" && b.length) return createVNode("div", {
1302
1302
  class: bem$5("line"),
1303
1303
  style: C.lineStyle
1304
1304
  }, null);
1305
- }, jl = () => {
1305
+ }, Ml = () => {
1306
1306
  let { type: n, border: i, sticky: a } = e, o = [createVNode("div", {
1307
1307
  ref: a ? void 0 : p,
1308
1308
  class: [bem$5("wrap"), { [BORDER_TOP_BOTTOM]: n === "line" && i }]
@@ -1318,11 +1318,11 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1318
1318
  }, [
1319
1319
  r["nav-left"]?.call(r),
1320
1320
  b.map((e) => e.renderTitle(J)),
1321
- Al(),
1321
+ jl(),
1322
1322
  r["nav-right"]?.call(r)
1323
1323
  ])]), r["nav-bottom"]?.call(r)];
1324
1324
  return a ? createVNode("div", { ref: p }, [o]) : o;
1325
- }, Ml = () => {
1325
+ }, Nl = () => {
1326
1326
  B(), nextTick(() => {
1327
1327
  var e;
1328
1328
  z(!0), (e = m.value?.swipeRef.value) == null || e.resize();
@@ -1333,20 +1333,20 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1333
1333
  e.duration,
1334
1334
  e.lineWidth,
1335
1335
  e.lineHeight
1336
- ], B), watch(windowWidth, Ml), watch(() => e.active, (e) => {
1336
+ ], B), watch(windowWidth, Nl), watch(() => e.active, (e) => {
1337
1337
  e !== k.value && W(e);
1338
1338
  }), watch(() => b.length, () => {
1339
1339
  C.inited && (W(e.active), B(), nextTick(() => {
1340
1340
  z(!0);
1341
1341
  }));
1342
1342
  }), useExpose({
1343
- resize: Ml,
1344
- scrollTo: Dl
1343
+ resize: Nl,
1344
+ scrollTo: Ol
1345
1345
  }), onActivated(B), onPopupReopen(B), onMountedOrActivated(() => {
1346
1346
  W(e.active, !0), nextTick(() => {
1347
1347
  C.inited = !0, p.value && (a = useRect(p.value).height), z(!0);
1348
1348
  });
1349
- }), useVisibilityChange(d, B), useEventListener("scroll", kl, {
1349
+ }), useVisibilityChange(d, B), useEventListener("scroll", Al, {
1350
1350
  target: g,
1351
1351
  passive: !0
1352
1352
  }), S({
@@ -1364,8 +1364,8 @@ var [name$8, bem$8] = createNamespace("sticky"), Sticky = withInstall(defineComp
1364
1364
  }, [e.showHeader ? e.sticky ? createVNode(Sticky, {
1365
1365
  container: d.value,
1366
1366
  offsetTop: j.value,
1367
- onScroll: El
1368
- }, { default: () => [jl()] }) : jl() : null, createVNode(stdin_default$5, {
1367
+ onScroll: Dl
1368
+ }, { default: () => [Ml()] }) : Ml() : null, createVNode(stdin_default$5, {
1369
1369
  ref: m,
1370
1370
  count: b.length,
1371
1371
  inited: C.inited,
@@ -2198,7 +2198,7 @@ var loading_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
2198
2198
  textColor: {}
2199
2199
  },
2200
2200
  setup(e) {
2201
- useCssVars((e) => ({ 59230568: r.value }));
2201
+ useCssVars((e) => ({ v6a9760b4: r.value }));
2202
2202
  let n = e, r = computed(() => isNumber(n.size) ? `${n.size}px` : n.size);
2203
2203
  return (e, r) => {
2204
2204
  let i = Loading;
@@ -2212,7 +2212,7 @@ var loading_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
2212
2212
  let r = e.__vccOpts || e;
2213
2213
  for (let [e, i] of n) r[e] = i;
2214
2214
  return r;
2215
- }, loading_default = /* @__PURE__ */ __plugin_vue_export_helper_default(loading_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-fb775dfa"]]);
2215
+ }, loading_default = /* @__PURE__ */ __plugin_vue_export_helper_default(loading_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-472e17a3"]]);
2216
2216
  const useGlobalVar = (e, n) => (window.$api.__core_lib__ ??= {})[n] ??= e;
2217
2217
  var layout_exports = /* @__PURE__ */ __export({ useZIndex: () => useZIndex }), allLayers = useGlobalVar(shallowReactive([]), "utils/layers");
2218
2218
  const useZIndex = (e) => {
@@ -2942,22 +2942,22 @@ var floatPopup_default = /* @__PURE__ */ defineComponent({
2942
2942
  },
2943
2943
  isShowing: shallowReadonly(f),
2944
2944
  height: shallowReadonly(h)
2945
- }), (e, i) => {
2946
- let s = Overlay, l = FloatingPanel;
2947
- return openBlock(), createBlock(Teleport, { to: "#popups" }, [e.overlay ? (openBlock(), createBlock(s, {
2945
+ }), (i, s) => {
2946
+ let l = Overlay, d = FloatingPanel;
2947
+ return openBlock(), createBlock(Teleport, { to: "#popups" }, [e.overlay ? (openBlock(), createBlock(l, {
2948
2948
  key: 0,
2949
2949
  zIndex: unref(g),
2950
2950
  show: f.value,
2951
- onClick: i[0] ||= (e) => f.value = !1
2951
+ onClick: s[0] ||= (e) => f.value = !1
2952
2952
  }, null, 8, ["zIndex", "show"])) : createCommentVNode("", !0), createVNode(Transition, {
2953
- onAfterLeave: i[3] ||= (e) => h.value = 0,
2953
+ onAfterLeave: s[3] ||= (e) => h.value = 0,
2954
2954
  name: "van-slide-up"
2955
2955
  }, {
2956
- default: withCtx(() => [withDirectives(createVNode(l, {
2957
- onHeightChange: i[1] ||= ({ height: e }) => e <= 0 && (f.value = !1),
2956
+ default: withCtx(() => [withDirectives(createVNode(d, {
2957
+ onHeightChange: s[1] ||= ({ height: e }) => e <= 0 && (f.value = !1),
2958
2958
  anchors: m.value,
2959
2959
  height: h.value,
2960
- "onUpdate:height": i[2] ||= (e) => h.value = e,
2960
+ "onUpdate:height": s[2] ||= (e) => h.value = e,
2961
2961
  "content-draggable": !1,
2962
2962
  "lock-scroll": e.lockScroll,
2963
2963
  style: normalizeStyle([e.style, { zIndex: unref(g) }]),
@@ -2966,7 +2966,7 @@ var floatPopup_default = /* @__PURE__ */ defineComponent({
2966
2966
  default: withCtx(() => [createElementVNode("div", {
2967
2967
  class: "bg-(--van-background) w-full",
2968
2968
  style: normalizeStyle({ height: `calc(${h.value}px - var(--van-floating-panel-header-height))` })
2969
- }, [h.value == 0 ? createCommentVNode("", !0) : renderSlot(e.$slots, "default", {
2969
+ }, [h.value == 0 ? createCommentVNode("", !0) : renderSlot(i.$slots, "default", {
2970
2970
  key: 0,
2971
2971
  height: h.value
2972
2972
  })], 4)]),
@@ -3080,10 +3080,10 @@ var image_default = /* @__PURE__ */ defineComponent({
3080
3080
  isLoaded: S,
3081
3081
  imageEl: j.value?.imageRef,
3082
3082
  imageIns: j.value
3083
- }), (n, r) => {
3084
- let i = NImage, l = Icon;
3083
+ }), (r, i) => {
3084
+ let l = NImage, m = Icon;
3085
3085
  return openBlock(), createElementBlock(Fragment, null, [
3086
- y.value ? withDirectives((openBlock(), createBlock(i, mergeProps({
3086
+ y.value ? withDirectives((openBlock(), createBlock(l, mergeProps({
3087
3087
  key: 0,
3088
3088
  onError: h
3089
3089
  }, d, {
@@ -3122,9 +3122,9 @@ var image_default = /* @__PURE__ */ defineComponent({
3122
3122
  d.class
3123
3123
  ]]),
3124
3124
  style: normalizeStyle(n.style),
3125
- onClick: r[0] ||= (e) => p("click")
3126
- }, [n.$slots.loading ? renderSlot(n.$slots, "loading", { key: 0 }) : (openBlock(), createBlock(loading_default, { key: 1 }))], 6)) : createCommentVNode("", !0),
3127
- unref(v).error.has(unref(f)) && !n.hideError ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [n.fallback ? (openBlock(), createBlock(i, mergeProps({
3125
+ onClick: i[0] ||= (e) => p("click")
3126
+ }, [r.$slots.loading ? renderSlot(r.$slots, "loading", { key: 0 }) : (openBlock(), createBlock(loading_default, { key: 1 }))], 6)) : createCommentVNode("", !0),
3127
+ unref(v).error.has(unref(f)) && !n.hideError ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [n.fallback ? (openBlock(), createBlock(l, mergeProps({
3128
3128
  key: 0,
3129
3129
  onError: h
3130
3130
  }, d, {
@@ -3157,14 +3157,14 @@ var image_default = /* @__PURE__ */ defineComponent({
3157
3157
  n.inline ? "inline-flex" : "flex",
3158
3158
  d.class
3159
3159
  ]]),
3160
- onClick: r[1] ||= withModifiers(() => {
3160
+ onClick: i[1] ||= withModifiers(() => {
3161
3161
  unref(v).error.delete(unref(f)), b();
3162
3162
  }, ["stop"])
3163
- }, [n.$slots.loading ? renderSlot(n.$slots, "loading", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(l, {
3163
+ }, [r.$slots.loading ? renderSlot(r.$slots, "loading", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(m, {
3164
3164
  name: "warning-o",
3165
3165
  size: "2.5rem",
3166
3166
  color: "var(--van-text-color-2)"
3167
- }), r[2] ||= createElementVNode("div", { class: "text-sm text-(--van-text-color-2)" }, "点击重试", -1)], 64))], 2))], 64)) : createCommentVNode("", !0)
3167
+ }), i[2] ||= createElementVNode("div", { class: "text-sm text-(--van-text-color-2)" }, "点击重试", -1)], 64))], 2))], 64)) : createCommentVNode("", !0)
3168
3168
  ], 64);
3169
3169
  };
3170
3170
  }
@@ -3630,7 +3630,8 @@ var _hoisted_1$5 = {
3630
3630
  left: "50%",
3631
3631
  top: "8px",
3632
3632
  translateX: "-50%",
3633
- backgroundColor: "#ffffff"
3633
+ backgroundColor: "#ffffff",
3634
+ borderRadius: "100%"
3634
3635
  },
3635
3636
  isErrorNoData: {
3636
3637
  opacity: 1,
@@ -3698,16 +3699,16 @@ var _hoisted_1$5 = {
3698
3699
  borderRadius: "4px"
3699
3700
  }
3700
3701
  }, h = computed(() => !d.hideLoading && f.value.isLoading ? f.value.isEmpty ? "isLoadingNoData" : "isLoadingData" : !d.hideError && f.value.isError ? f.value.isEmpty ? "isErrorNoData" : "isErrorData" : !d.hideEmpty && f.value.isNoResult ? "isEmpty" : "done"), g = useTemplateRef("cont");
3701
- return n({ cont: g }), (e, n) => {
3702
- let i = Loading, p = NEmpty, v = NButton, y = NIcon, b = NResult, S = AnimatePresence;
3702
+ return n({ cont: g }), (n, i) => {
3703
+ let p = Loading, v = NEmpty, y = NButton, b = NIcon, S = NResult, C = AnimatePresence;
3703
3704
  return openBlock(), createElementBlock("div", _hoisted_1$2, [createElementVNode("div", {
3704
3705
  class: normalizeClass(["relative size-full", [d.class]]),
3705
3706
  ref_key: "cont",
3706
3707
  ref: g
3707
- }, [f.value.isEmpty ? createCommentVNode("", !0) : renderSlot(e.$slots, "default", {
3708
+ }, [f.value.isEmpty ? createCommentVNode("", !0) : renderSlot(n.$slots, "default", {
3708
3709
  key: 0,
3709
3710
  data: f.value.data
3710
- })], 2), createVNode(S, null, {
3711
+ })], 2), createVNode(C, null, {
3711
3712
  default: withCtx(() => [createVNode(unref(motion).div, {
3712
3713
  initial: {
3713
3714
  opacity: 0,
@@ -3720,7 +3721,7 @@ var _hoisted_1$5 = {
3720
3721
  class: "shadow flex justify-center items-center scale-100 absolute whitespace-nowrap"
3721
3722
  }, {
3722
3723
  default: withCtx(() => [createVNode(Transition, { name: "van-fade" }, {
3723
- default: withCtx(() => [h.value === "isLoadingNoData" ? (openBlock(), createBlock(i, {
3724
+ default: withCtx(() => [h.value === "isLoadingNoData" ? (openBlock(), createBlock(p, {
3724
3725
  key: 0,
3725
3726
  size: "25px",
3726
3727
  color: "var(--p-color)"
@@ -3729,28 +3730,28 @@ var _hoisted_1$5 = {
3729
3730
  size: "10px",
3730
3731
  color: "white"
3731
3732
  }, {
3732
- default: withCtx(() => [...n[2] ||= [createTextVNode("加载中", -1)]]),
3733
+ default: withCtx(() => [...i[2] ||= [createTextVNode("加载中", -1)]]),
3733
3734
  _: 1
3734
- })) : h.value === "isEmpty" ? (openBlock(), createElementBlock("div", _hoisted_2$1, [createVNode(p, {
3735
+ })) : h.value === "isEmpty" ? (openBlock(), createElementBlock("div", _hoisted_2$1, [createVNode(v, {
3735
3736
  description: "无结果",
3736
3737
  class: normalizeClass(["w-full !justify-center", [e.classEmpty]]),
3737
3738
  style: normalizeStyle([e.style, e.styleEmpty])
3738
- }, null, 8, ["class", "style"])])) : h.value === "isErrorNoData" ? (openBlock(), createElementBlock("div", _hoisted_3$1, [createVNode(b, {
3739
+ }, null, 8, ["class", "style"])])) : h.value === "isErrorNoData" ? (openBlock(), createElementBlock("div", _hoisted_3$1, [createVNode(S, {
3739
3740
  class: normalizeClass(["!items-center !justify-center flex flex-col !size-full", [e.classError]]),
3740
3741
  status: "error",
3741
3742
  title: "网络错误",
3742
3743
  style: normalizeStyle([e.style, e.styleError]),
3743
3744
  description: f.value.errorCause ?? "未知原因"
3744
3745
  }, {
3745
- footer: withCtx(() => [e.retriable ? (openBlock(), createBlock(v, {
3746
+ footer: withCtx(() => [e.retriable ? (openBlock(), createBlock(y, {
3746
3747
  key: 0,
3747
- onClick: n[0] ||= (n) => e.$emit("resetRetry"),
3748
+ onClick: i[0] ||= (e) => n.$emit("resetRetry"),
3748
3749
  type: "primary"
3749
3750
  }, {
3750
- default: withCtx(() => [...n[3] ||= [createTextVNode("重试", -1)]]),
3751
+ default: withCtx(() => [...i[3] ||= [createTextVNode("重试", -1)]]),
3751
3752
  _: 1
3752
3753
  })) : createCommentVNode("", !0)]),
3753
- icon: withCtx(() => [createVNode(y, {
3754
+ icon: withCtx(() => [createVNode(b, {
3754
3755
  size: "10rem",
3755
3756
  color: "var(--nui-error-color)"
3756
3757
  }, {
@@ -3763,21 +3764,21 @@ var _hoisted_1$5 = {
3763
3764
  "style",
3764
3765
  "description"
3765
3766
  ])])) : h.value === "isErrorData" ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
3766
- createVNode(y, {
3767
+ createVNode(b, {
3767
3768
  size: "3rem",
3768
3769
  color: "white"
3769
3770
  }, {
3770
3771
  default: withCtx(() => [createVNode(unref(WifiTetheringErrorRound_default))]),
3771
3772
  _: 1
3772
3773
  }),
3773
- createElementVNode("div", _hoisted_5$1, [n[4] ||= createElementVNode("div", { class: "text-sm" }, "网络错误", -1), createElementVNode("div", _hoisted_6$1, toDisplayString(f.value.errorCause ?? "未知原因"), 1)]),
3774
- createVNode(v, {
3774
+ createElementVNode("div", _hoisted_5$1, [i[4] ||= createElementVNode("div", { class: "text-sm" }, "网络错误", -1), createElementVNode("div", _hoisted_6$1, toDisplayString(f.value.errorCause ?? "未知原因"), 1)]),
3775
+ createVNode(y, {
3775
3776
  circle: "",
3776
3777
  type: "error",
3777
3778
  size: "large",
3778
- onClick: n[1] ||= (n) => e.$emit("retry")
3779
+ onClick: i[1] ||= (e) => n.$emit("retry")
3779
3780
  }, {
3780
- icon: withCtx(() => [createVNode(y, { color: "white" }, {
3781
+ icon: withCtx(() => [createVNode(b, { color: "white" }, {
3781
3782
  default: withCtx(() => [createVNode(unref(ReloadOutlined_default))]),
3782
3783
  _: 1
3783
3784
  })]),
@@ -3876,15 +3877,15 @@ var _hoisted_1$5 = {
3876
3877
  return n({
3877
3878
  scrollTop: f,
3878
3879
  listInstance: d
3879
- }), (e, n) => {
3880
- let r = NVirtualList, i = PullRefresh;
3881
- return openBlock(), createBlock(i, {
3880
+ }), (n, r) => {
3881
+ let i = NVirtualList, s = PullRefresh;
3882
+ return openBlock(), createBlock(s, {
3882
3883
  modelValue: h.value,
3883
- "onUpdate:modelValue": n[0] ||= (e) => h.value = e,
3884
+ "onUpdate:modelValue": r[0] ||= (e) => h.value = e,
3884
3885
  class: normalizeClass(["relative", o.class]),
3885
3886
  onRefresh: g,
3886
3887
  disabled: (unref(Stream).isStream(e.source) ? !1 : unref(isArray)(e.source) ? !0 : e.source.reloadable ?? !0) || l.value.isError || l.value.isRequesting || !!unref(f) && !m.value,
3887
- onChange: n[1] ||= ({ distance: e }) => m.value = !!e,
3888
+ onChange: r[1] ||= ({ distance: e }) => m.value = !!e,
3888
3889
  style: normalizeStyle(e.style)
3889
3890
  }, {
3890
3891
  default: withCtx(() => [createVNode(content_default, {
@@ -3897,20 +3898,20 @@ var _hoisted_1$5 = {
3897
3898
  "hide-loading": m.value && l.value.isRequesting
3898
3899
  }, {
3899
3900
  default: withCtx(() => [createVNode(var_default, { value: l.value.data }, {
3900
- default: withCtx(({ value: n }) => [createVNode(r, mergeProps(e.listProp ?? {}, {
3901
+ default: withCtx(({ value: r }) => [createVNode(i, mergeProps(e.listProp ?? {}, {
3901
3902
  "item-resizable": e.itemResizable,
3902
3903
  "item-size": e.itemHeight,
3903
3904
  onScroll: unref(p),
3904
3905
  class: ["overflow-x-hidden h-full", [m.value ? "overflow-y-hidden" : "overflow-y-auto"]],
3905
- items: n,
3906
+ items: r,
3906
3907
  ref_key: "vList",
3907
3908
  ref: d
3908
3909
  }), {
3909
- default: withCtx(({ item: r }) => [renderSlot(e.$slots, "default", {
3910
+ default: withCtx(({ item: i }) => [renderSlot(n.$slots, "default", {
3910
3911
  height: e.itemHeight,
3911
3912
  data: {
3912
- item: r,
3913
- index: n.indexOf(r)
3913
+ item: i,
3914
+ index: r.indexOf(i)
3914
3915
  }
3915
3916
  })]),
3916
3917
  _: 2
@@ -3990,22 +3991,22 @@ var _hoisted_1$5 = {
3990
3991
  }, { immediate: !0 }), n({
3991
3992
  zIndex: u,
3992
3993
  trulyShow: l
3993
- }), (e, n) => {
3994
- let r = Popup;
3995
- return openBlock(), createBlock(r, mergeProps(s, {
3994
+ }), (n, r) => {
3995
+ let i = Popup;
3996
+ return openBlock(), createBlock(i, mergeProps(s, {
3996
3997
  show: c.value,
3997
- "onUpdate:show": n[0] ||= (e) => c.value = e,
3998
+ "onUpdate:show": r[0] ||= (e) => c.value = e,
3998
3999
  "z-index": unref(u),
3999
4000
  teleport: "#popups",
4000
- onOpen: n[1] ||= (e) => l.value = !0,
4001
- onClosed: n[2] ||= () => {
4002
- l.value = !1, e.$emit("closed");
4001
+ onOpen: r[1] ||= (e) => l.value = !0,
4002
+ onClosed: r[2] ||= () => {
4003
+ l.value = !1, n.$emit("closed");
4003
4004
  },
4004
4005
  class: ["max-h-screen !overflow-y-auto overflow-hidden", !e.noBorder && "border-0 border-t border-solid border-(--van-border-color)"],
4005
4006
  overlay: "",
4006
4007
  "close-on-click-overlay": ""
4007
4008
  }), {
4008
- default: withCtx(() => [l.value ? renderSlot(e.$slots, "default", { key: 0 }) : createCommentVNode("", !0)]),
4009
+ default: withCtx(() => [l.value ? renderSlot(n.$slots, "default", { key: 0 }) : createCommentVNode("", !0)]),
4009
4010
  _: 3
4010
4011
  }, 16, [
4011
4012
  "show",
@@ -4040,21 +4041,21 @@ var _hoisted_1$5 = {
4040
4041
  });
4041
4042
  return onUnmounted(() => {
4042
4043
  d();
4043
- }), (n, r) => {
4044
- let i = Tab, c = Tabs;
4045
- return openBlock(), createBlock(c, {
4044
+ }), (r, i) => {
4045
+ let c = Tab, d = Tabs;
4046
+ return openBlock(), createBlock(d, {
4046
4047
  ref_key: "tab",
4047
4048
  ref: l,
4048
4049
  shrink: "",
4049
4050
  active: o.value,
4050
- "onUpdate:active": r[0] ||= (e) => o.value = e,
4051
+ "onUpdate:active": i[0] ||= (e) => o.value = e,
4051
4052
  beforeChange: u,
4052
4053
  class: "w-full"
4053
4054
  }, {
4054
- "nav-left": withCtx(() => [renderSlot(n.$slots, "left")]),
4055
- "nav-right": withCtx(() => [renderSlot(n.$slots, "right")]),
4056
- "nav-bottom": withCtx(() => [renderSlot(n.$slots, "bottom")]),
4057
- default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(n.items, (e) => (openBlock(), createBlock(i, {
4055
+ "nav-left": withCtx(() => [renderSlot(r.$slots, "left")]),
4056
+ "nav-right": withCtx(() => [renderSlot(r.$slots, "right")]),
4057
+ "nav-bottom": withCtx(() => [renderSlot(r.$slots, "bottom")]),
4058
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(n.items, (e) => (openBlock(), createBlock(c, {
4058
4059
  title: e.title,
4059
4060
  onClick: (n) => o.value = e.name,
4060
4061
  name: e.name
@@ -4081,16 +4082,16 @@ var _hoisted_1$5 = {
4081
4082
  value: e,
4082
4083
  mode: "text"
4083
4084
  }));
4084
- return (n, r) => {
4085
- let i = NButton;
4085
+ return (r, i) => {
4086
+ let u = NButton;
4086
4087
  return openBlock(), createElementBlock("div", {
4087
4088
  class: normalizeClass([[unref(isNumber)(n.ellipsis) && "overflow-ellipsis overflow-hidden"], "whitespace-pre-wrap text-(--van-text-color)"]),
4088
4089
  style: normalizeStyle([unref(isNumber)(n.ellipsis) && `line-break: anywhere;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: ${n.ellipsis};`])
4089
- }, [renderSlot(n.$slots, "default"), (openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (n) => (openBlock(), createElementBlock(Fragment, null, [n.mode === "link" ? (openBlock(), createBlock(i, {
4090
+ }, [renderSlot(r.$slots, "default"), (openBlock(!0), createElementBlock(Fragment, null, renderList(c.value, (n) => (openBlock(), createElementBlock(Fragment, null, [n.mode === "link" ? (openBlock(), createBlock(u, {
4090
4091
  key: 0,
4091
4092
  tag: "a",
4092
4093
  class: "underline",
4093
- onClick: r[0] ||= withModifiers(() => {}, ["stop"]),
4094
+ onClick: i[0] ||= withModifiers(() => {}, ["stop"]),
4094
4095
  text: "",
4095
4096
  type: "primary",
4096
4097
  target: "_blank",
@@ -4129,20 +4130,20 @@ var _hoisted_1$5 = {
4129
4130
  }, d = useTemplateRef("htmlRefHook");
4130
4131
  return onLongPress(d, () => {
4131
4132
  i("longClick");
4132
- }, { modifiers: { prevent: !0 } }), (e, n) => {
4133
- let r = NIcon;
4133
+ }, { modifiers: { prevent: !0 } }), (n, r) => {
4134
+ let i = NIcon;
4134
4135
  return openBlock(), createElementBlock("div", {
4135
4136
  class: normalizeClass(["flex items-center justify-center **:!transition-colors", [e.rowMode || "flex-col", e.padding && "px-4"]]),
4136
4137
  onClick: withModifiers(l, ["stop"]),
4137
4138
  ref_key: "htmlRefHook",
4138
4139
  ref: d
4139
- }, [createVNode(r, {
4140
+ }, [createVNode(i, {
4140
4141
  size: e.size,
4141
4142
  color: o.value ? "var(--p-color)" : "var(--van-gray-7)"
4142
4143
  }, {
4143
4144
  default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(e.icon)))]),
4144
4145
  _: 1
4145
- }, 8, ["size", "color"]), createElementVNode("span", _hoisted_1$1, [renderSlot(e.$slots, "default")])], 2);
4146
+ }, 8, ["size", "color"]), createElementVNode("span", _hoisted_1$1, [renderSlot(n.$slots, "default")])], 2);
4146
4147
  };
4147
4148
  }
4148
4149
  }), Z = Object.defineProperty, ee = Object.defineProperties, te = Object.getOwnPropertyDescriptors, I = Object.getOwnPropertySymbols, P = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable, N = (e, n, r) => n in e ? Z(e, n, {
@@ -4495,42 +4496,42 @@ var Ce = ["data-index"], U = /* @__PURE__ */ defineComponent({
4495
4496
  deep: 1,
4496
4497
  immediate: !0
4497
4498
  });
4498
- let b = useTemplateRef("waterfallEl"), S = useTemp().$applyRaw("waterfall", () => shallowReactive(/* @__PURE__ */ new Map())), C = [], w = new MutationObserver(([e]) => {
4499
- for (let e of C) e();
4499
+ let b = useTemplateRef("waterfallEl"), S = useTemp().$apply("waterfall", () => ({ top: 0 })), C = S.top++, w = useTemp().$applyRaw(`waterfall:${C}`, () => shallowReactive(/* @__PURE__ */ new Map())), O = [], A = new MutationObserver(([e]) => {
4500
+ for (let e of O) e();
4500
4501
  if (!(e.target instanceof HTMLDivElement) || !f.value.data) return;
4501
4502
  let n = [...e.target.children];
4502
4503
  for (let e of n) {
4503
4504
  let n = Number(e.dataset.index), r = f.value.data[n], i = () => {
4504
4505
  let n = e.firstElementChild?.getBoundingClientRect();
4505
- S.set(r, n?.height ?? s.minHeight);
4506
+ w.set(r, n?.height ?? s.minHeight);
4506
4507
  }, a = useResizeObserver(e.firstElementChild, i);
4507
- i(), C.push(() => a.stop());
4508
+ i(), O.push(() => a.stop());
4508
4509
  }
4509
4510
  });
4510
4511
  watch(b, (e) => {
4511
- if (!e) return w.disconnect();
4512
- w.observe(e.$el, { childList: !0 });
4512
+ if (!e) return A.disconnect();
4513
+ A.observe(e.$el, { childList: !0 });
4513
4514
  }), onUnmounted(() => {
4514
- w.disconnect();
4515
- for (let e of C) e();
4515
+ A.disconnect();
4516
+ for (let e of O) e();
4516
4517
  });
4517
- let O = shallowRef(!0);
4518
+ let j = shallowRef(!0);
4518
4519
  return n({
4519
4520
  scrollTop: y,
4520
4521
  scrollParent: v,
4521
4522
  async reloadList() {
4522
- O.value = !1, S.clear(), await nextTick(), O.value = !0;
4523
+ j.value = !1, w.clear(), await nextTick(), j.value = !0;
4523
4524
  }
4524
- }), (e, n) => {
4525
- let r = PullRefresh;
4526
- return O.value ? (openBlock(), createBlock(r, {
4525
+ }), (n, r) => {
4526
+ let i = PullRefresh;
4527
+ return j.value ? (openBlock(), createBlock(i, {
4527
4528
  key: 0,
4528
4529
  modelValue: m.value,
4529
- "onUpdate:modelValue": n[0] ||= (e) => m.value = e,
4530
+ "onUpdate:modelValue": r[0] ||= (e) => m.value = e,
4530
4531
  class: normalizeClass(["relative h-full", s.class]),
4531
4532
  disabled: e.unReloadable || f.value.isRequesting || !!unref(y) && !p.value,
4532
4533
  onRefresh: h,
4533
- onChange: n[1] ||= ({ distance: e }) => p.value = !!e,
4534
+ onChange: r[1] ||= ({ distance: e }) => p.value = !!e,
4534
4535
  style: normalizeStyle(e.style)
4535
4536
  }, {
4536
4537
  default: withCtx(() => [createVNode(content_default, {
@@ -4553,15 +4554,15 @@ var Ce = ["data-index"], U = /* @__PURE__ */ defineComponent({
4553
4554
  "preload-screen-count": [0, 1],
4554
4555
  ref_key: "waterfallEl",
4555
4556
  ref: b,
4556
- "calc-item-height": (n) => unref(S).get(n) ?? e.minHeight,
4557
+ "calc-item-height": (n) => unref(w).get(n) ?? e.minHeight,
4557
4558
  class: "waterfall",
4558
4559
  "min-column-count": d.value[0],
4559
4560
  "max-column-count": d.value[1]
4560
4561
  }, {
4561
- default: withCtx(({ item: n, index: r }) => [renderSlot(e.$slots, "default", {
4562
- item: n,
4563
- index: r,
4564
- height: unref(S).get(n),
4562
+ default: withCtx(({ item: r, index: i }) => [renderSlot(n.$slots, "default", {
4563
+ item: r,
4564
+ index: i,
4565
+ height: unref(w).get(r),
4565
4566
  length: f.value.length,
4566
4567
  minHeight: e.minHeight
4567
4568
  })]),
@@ -4981,6 +4982,30 @@ var Ce = ["data-index"], U = /* @__PURE__ */ defineComponent({
4981
4982
  static toContentTypeString(e) {
4982
4983
  return isString(e) ? e : `${e.plugin}:${e.name}`;
4983
4984
  }
4985
+ static levelboard = useGlobalVar(shallowReactive(/* @__PURE__ */ new Map()), "uni/contentPage/levelboard");
4986
+ static setLevelboard(e, n) {
4987
+ let r = this.levelboard.get(e) ?? [];
4988
+ return r.push(n), this.levelboard.set(e, r), e;
4989
+ }
4990
+ static getLevelboard(e) {
4991
+ return this.levelboard.get(e);
4992
+ }
4993
+ static topButton = useGlobalVar(shallowReactive(/* @__PURE__ */ new Map()), "uni/contentPage/topButton");
4994
+ static setTopButton(e, n) {
4995
+ let r = this.topButton.get(e) ?? [];
4996
+ return r.push(n), this.topButton.set(e, r), e;
4997
+ }
4998
+ static getTopButton(e) {
4999
+ return this.topButton.get(e);
5000
+ }
5001
+ static mainLists = useGlobalVar(shallowReactive(/* @__PURE__ */ new Map()), "uni/contentPage/mainLists");
5002
+ static setMainList(e, n) {
5003
+ let r = this.mainLists.get(e) ?? [];
5004
+ return r.push(n), this.mainLists.set(e, r), e;
5005
+ }
5006
+ static getMainList(e) {
5007
+ return this.mainLists.get(e);
5008
+ }
4984
5009
  constructor(e, n, r) {
4985
5010
  this.id = n, this.ep = r, this.preload.value = e;
4986
5011
  }
@@ -5155,20 +5180,20 @@ var _hoisted_1 = ["disabled"], _hoisted_2 = { class: "flex absolute flex-col w-[
5155
5180
  },
5156
5181
  emits: ["click"],
5157
5182
  setup(n, { emit: r }) {
5158
- useCssVars((e) => ({ "0388e6a2": h.value }));
5183
+ useCssVars((e) => ({ v0b67184e: h.value }));
5159
5184
  let d = n, f = r, p = useTemplateRef("cover"), m = computed(() => uni.item.Item.is(d.item) ? d.item.$cover : uni.image.Image.create(d.item.cover)), h = computed(() => p.value?.isLoaded ? "unset" : `${m.value.aspect?.width || 3} / ${m.value.aspect?.height || 4}`), [g, v] = /* @__PURE__ */ createReusableTemplate(), y = () => {
5160
5185
  uni.item.Item.is(d.item) && SharedFunction.callWitch("addRecent", "core", d.item);
5161
5186
  }, b = useConfig(), S = computed(() => b.appConfig["core.easilyTitle"] ? d.item.title.replace(/(\([^\)]+\)|\[[^\]]+\]|\([^\)]+\)|\【[^\】]+\】)+?/gi, "").trim() : d.item.title);
5162
- return (n, r) => {
5163
- let i = NIcon, h = NButton, b = NPopconfirm;
5187
+ return (r, i) => {
5188
+ let h = NIcon, b = NButton, C = NPopconfirm;
5164
5189
  return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(g), null, {
5165
- default: withCtx(() => [createVNode(b, { onPositiveClick: y }, {
5166
- trigger: withCtx(() => [createVNode(h, {
5167
- onClick: r[0] ||= withModifiers(() => {}, ["stop"]),
5190
+ default: withCtx(() => [createVNode(C, { onPositiveClick: y }, {
5191
+ trigger: withCtx(() => [createVNode(b, {
5192
+ onClick: i[0] ||= withModifiers(() => {}, ["stop"]),
5168
5193
  text: "",
5169
5194
  class: "!absolute bottom-1.5 right-2"
5170
5195
  }, {
5171
- default: withCtx(() => [createVNode(i, {
5196
+ default: withCtx(() => [createVNode(h, {
5172
5197
  color: "var(--van-text-color-2)",
5173
5198
  size: "1rem"
5174
5199
  }, {
@@ -5177,32 +5202,32 @@ var _hoisted_1 = ["disabled"], _hoisted_2 = { class: "flex absolute flex-col w-[
5177
5202
  })]),
5178
5203
  _: 1
5179
5204
  })]),
5180
- default: withCtx(() => [r[3] ||= createTextVNode(" 加入\"稍后再看\"? ", -1)]),
5205
+ default: withCtx(() => [i[3] ||= createTextVNode(" 加入\"稍后再看\"? ", -1)]),
5181
5206
  _: 1
5182
5207
  })]),
5183
5208
  _: 1
5184
5209
  }), n.type == "small" ? (openBlock(), createElementBlock("div", {
5185
5210
  key: 1,
5186
5211
  style: normalizeStyle([{ height: n.freeHeight ? "auto" : "140px" }, n.style]),
5187
- onClick: r[2] ||= (e) => f("click"),
5212
+ onClick: i[2] ||= (e) => f("click"),
5188
5213
  disabled: n.disabled,
5189
5214
  class: normalizeClass([[{ "van-haptics-feedback": !n.disabled }, d.class], "overflow-hidden w-full rounded-lg block van-hairline--top-bottom bg-center bg-(--van-background-2) text-(--van-text-color) border-none relative p-0 items-center"]),
5190
5215
  ref: "container"
5191
5216
  }, [
5192
- createElementVNode("div", _hoisted_6, [n.$slots.cover ? createCommentVNode("", !0) : (openBlock(), createBlock(image_default, {
5217
+ createElementVNode("div", _hoisted_6, [r.$slots.cover ? createCommentVNode("", !0) : (openBlock(), createBlock(image_default, {
5193
5218
  key: 0,
5194
5219
  src: m.value,
5195
5220
  class: "rounded-t-lg w-full image-size",
5196
5221
  fit: "cover",
5197
5222
  ref_key: "cover",
5198
5223
  ref: p
5199
- }, null, 8, ["src"])), createElementVNode("div", _hoisted_7, [renderSlot(n.$slots, "smallTopInfo", {}, void 0, !0)])]),
5200
- createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [createElementVNode("span", _hoisted_10, toDisplayString(S.value), 1)]), createElementVNode("div", _hoisted_11, [renderSlot(n.$slots, "default", {}, void 0, !0)])]),
5224
+ }, null, 8, ["src"])), createElementVNode("div", _hoisted_7, [renderSlot(r.$slots, "smallTopInfo", {}, void 0, !0)])]),
5225
+ createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [createElementVNode("span", _hoisted_10, toDisplayString(S.value), 1)]), createElementVNode("div", _hoisted_11, [renderSlot(r.$slots, "default", {}, void 0, !0)])]),
5201
5226
  createVNode(unref(v))
5202
5227
  ], 14, _hoisted_5)) : (openBlock(), createElementBlock("div", {
5203
5228
  key: 0,
5204
5229
  ref: "container",
5205
- onClick: r[1] ||= (e) => f("click"),
5230
+ onClick: i[1] ||= (e) => f("click"),
5206
5231
  disabled: n.disabled,
5207
5232
  class: normalizeClass(["overflow-hidden w-full van-hairline--top-bottom bg-(--van-background-2) text-(--van-text-color) relative p-2 flex", [{ "van-haptics-feedback": !n.disabled }, d.class]]),
5208
5233
  style: normalizeStyle([{ height: n.freeHeight ? "auto" : "140px" }, n.style])
@@ -5220,12 +5245,12 @@ var _hoisted_1 = ["disabled"], _hoisted_2 = { class: "flex absolute flex-col w-[
5220
5245
  ref_key: "cover",
5221
5246
  ref: p
5222
5247
  }, null, 8, ["src"]),
5223
- createElementVNode("div", _hoisted_2, [createElementVNode("span", _hoisted_3, toDisplayString(S.value), 1), createElementVNode("div", _hoisted_4, [renderSlot(n.$slots, "default", {}, void 0, !0)])]),
5248
+ createElementVNode("div", _hoisted_2, [createElementVNode("span", _hoisted_3, toDisplayString(S.value), 1), createElementVNode("div", _hoisted_4, [renderSlot(r.$slots, "default", {}, void 0, !0)])]),
5224
5249
  createVNode(unref(v))
5225
5250
  ], 14, _hoisted_1))], 64);
5226
5251
  };
5227
5252
  }
5228
- }), [["__scopeId", "data-v-58777aa0"]]), translate_exports = /* @__PURE__ */ __export({ createDateString: () => createDateString }), import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1);
5253
+ }), [["__scopeId", "data-v-15d539f3"]]), translate_exports = /* @__PURE__ */ __export({ createDateString: () => createDateString }), import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1);
5229
5254
  const createDateString = (e = (0, import_dayjs_min.default)()) => {
5230
5255
  let n = (0, import_dayjs_min.default)(), r = e.isSame(n, "year"), i = r && e.isSame(n, "month"), a = i && e.date() === n.date(), o = i && e.date() === n.date() - 1, s = "";
5231
5256
  return r || (s += "YYYY年 "), a ? s += "今天 " : o ? s += "昨天 " : s += "M月D日 ", s += "HH:mm", e.format(s);
@@ -5334,6 +5359,11 @@ const createLoadingMessage = (e = "加载中", n = window.$message) => {
5334
5359
  if (o) {
5335
5360
  if (o.categories) for (let e of o.categories) ContentPage.setCategories(r, e);
5336
5361
  if (o.tabbar) for (let e of o.tabbar) ContentPage.setTabbar(r, e);
5362
+ if (o.hotPage) {
5363
+ for (let e of o.hotPage.mainListCard ?? []) ContentPage.setMainList(r, e);
5364
+ for (let e of o.hotPage.levelBoard ?? []) ContentPage.setLevelboard(r, e);
5365
+ for (let e of o.hotPage.topButton ?? []) ContentPage.setTopButton(r, e);
5366
+ }
5337
5367
  }
5338
5368
  s && User.userEditorBase.set(r, s.edit), SharedFunction.callWitch("addPlugin", "core", n);
5339
5369
  }, _ = void 0, Comp = {
@@ -5359,6 +5389,7 @@ const Store = {
5359
5389
  useTemp,
5360
5390
  useConfig
5361
5391
  };
5392
+ console.log(routerKey);
5362
5393
  export { Comp, Store, Utils, _, definePlugin, uni };
5363
5394
 
5364
5395
  //# sourceMappingURL=bundle.js.map