nxd-plugin 1.8.22 → 1.8.23

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.
Files changed (101) hide show
  1. package/dist/chunks/YCServiceSummary-D9qP6hLO.mjs +2 -0
  2. package/dist/chunks/{component-AiChat-AMGDZOnM.mjs → component-AiChat-BwP3zj0h.mjs} +637 -354
  3. package/dist/chunks/{component-AqiMonitor-CbRqtu9p.mjs → component-AqiMonitor-Cga2wb4h.mjs} +27 -31
  4. package/dist/chunks/{component-ChartCumulativePre-BTqI2llc.mjs → component-ChartCumulativePre-CkQrY-fM.mjs} +2 -2
  5. package/dist/chunks/{component-ChartServiceMaterial-B09CYvj1.mjs → component-ChartServiceMaterial-BSfXMgj4.mjs} +2 -2
  6. package/dist/chunks/{component-Duty-B_xLIwLc.mjs → component-Duty-DLMdCDNu.mjs} +2 -2
  7. package/dist/chunks/{component-EarlyWarningStatistic-CuEZKyRd.mjs → component-EarlyWarningStatistic-CHCmDM5w.mjs} +2 -2
  8. package/dist/chunks/{component-EarlyWarningStatistic2-CwxVVXDz.mjs → component-EarlyWarningStatistic2-D_Uc9rbm.mjs} +2 -2
  9. package/dist/chunks/{component-Forecast72h-DWuJmxhN.mjs → component-Forecast72h-CwDS2BCV.mjs} +91 -92
  10. package/dist/chunks/{component-GeologyLiveAlarm-D0Qp3NkC.mjs → component-GeologyLiveAlarm-TXjC0N1b.mjs} +2 -2
  11. package/dist/chunks/{component-GridForecastMsg-CACyyiD4.mjs → component-GridForecastMsg-J7V2m_bm.mjs} +1 -2
  12. package/dist/chunks/{component-HDSeaLegend-BKmNgyVy.mjs → component-HDSeaLegend-BbW1vk-L.mjs} +2 -1
  13. package/dist/chunks/{component-HdCameraList-CjERf58T.mjs → component-HdCameraList-ya7gQWsk.mjs} +84 -101
  14. package/dist/chunks/{component-HdFarmStation-B7LiZJNn.mjs → component-HdFarmStation-DbvF94Z6.mjs} +76 -81
  15. package/dist/chunks/{component-HdFarmStationDialog-DGaloDuc.mjs → component-HdFarmStationDialog-p3vjS1JB.mjs} +1 -2
  16. package/dist/chunks/{component-HdForecastProducts-Cqm11AZJ.mjs → component-HdForecastProducts-2ZXLMLdw.mjs} +1 -2
  17. package/dist/chunks/{component-HdHeatChart-DBrkJ7wc.mjs → component-HdHeatChart-CM4uhNsK.mjs} +1 -2
  18. package/dist/chunks/{component-HdHeatChartDialog-COXAQ7bQ.mjs → component-HdHeatChartDialog-CxIaxIg5.mjs} +2 -3
  19. package/dist/chunks/{component-HdHeatService-BytLjsOH.mjs → component-HdHeatService-BNRBwLEC.mjs} +1 -2
  20. package/dist/chunks/{component-HdInsectDetailList-Burje-lq.mjs → component-HdInsectDetailList-CNfJip9R.mjs} +1 -2
  21. package/dist/chunks/{component-HdInsectList-BmvZhDkG.mjs → component-HdInsectList-D0fRM6cx.mjs} +1 -2
  22. package/dist/chunks/component-HdMajorActivity-C95MgI5Y.mjs +704 -0
  23. package/dist/chunks/{component-HdObservation-CEBvwX20.mjs → component-HdObservation-DUMGmfJN.mjs} +3 -4
  24. package/dist/chunks/{component-HdPreSituation-C9k5S8xb.mjs → component-HdPreSituation-IILymZ3h.mjs} +3 -4
  25. package/dist/chunks/{component-HdQxServiceEffects-afWY5O0D.mjs → component-HdQxServiceEffects-B-C0VBH3.mjs} +1 -2
  26. package/dist/chunks/{component-HdRadarList-CcQfA_IK.mjs → component-HdRadarList-DSMrSb-T.mjs} +3 -3
  27. package/dist/chunks/{component-HdRadarTime-BinpFlES.mjs → component-HdRadarTime-FEhuGBEg.mjs} +1 -2
  28. package/dist/chunks/{component-HdRadarTimeLine-DsMjdctK.mjs → component-HdRadarTimeLine-UfzKKTgp.mjs} +1 -2
  29. package/dist/chunks/{component-HdRisk-CtU4tAFm.mjs → component-HdRisk-B3N71NoC.mjs} +2 -3
  30. package/dist/chunks/{component-HdSeaCase-BSUlsIx4.mjs → component-HdSeaCase-Cim-Y8hP.mjs} +1 -2
  31. package/dist/chunks/{component-HdServiceMarterial-BVRAV14z.mjs → component-HdServiceMarterial-BxifbLBR.mjs} +2 -3
  32. package/dist/chunks/{component-HdServiceRequirements-CuKHpG2x.mjs → component-HdServiceRequirements-BawMn0jA.mjs} +2 -3
  33. package/dist/chunks/{component-HdSoil-Cg5eJ24C.mjs → component-HdSoil-DaGj6RPD.mjs} +2 -3
  34. package/dist/chunks/{component-HdSoilDetailList-BXkegoW8.mjs → component-HdSoilDetailList-fBu8i74J.mjs} +1 -2
  35. package/dist/chunks/{component-HdStationTem-BDWsPUTr.mjs → component-HdStationTem-DgGFJ20c.mjs} +3 -4
  36. package/dist/chunks/{component-HdSuggestion-Z8vAFQcx.mjs → component-HdSuggestion-BnpgzKkp.mjs} +2 -3
  37. package/dist/chunks/{component-HdThreeWeatherTrend-D76c14hh.mjs → component-HdThreeWeatherTrend-Bmire4sm.mjs} +3 -4
  38. package/dist/chunks/{component-HdWaveForcast-BqdcmF-9.mjs → component-HdWaveForcast-Bc3sB9Fn.mjs} +2 -3
  39. package/dist/chunks/{component-HighQuality-CxiEeJ6T.mjs → component-HighQuality-DjDZKwMT.mjs} +1 -2
  40. package/dist/chunks/{component-HighWayEarlyWarningRed-CXddcWf3.mjs → component-HighWayEarlyWarningRed-CzBI_AJA.mjs} +2 -2
  41. package/dist/chunks/{component-HighWayFreeze-Ce2mS-fo.mjs → component-HighWayFreeze-sFMx0umE.mjs} +2 -2
  42. package/dist/chunks/{component-HighwayLiveAlarm-cmXVG7kx.mjs → component-HighwayLiveAlarm-Ozq7Y8qF.mjs} +2 -2
  43. package/dist/chunks/{component-HighwayLiveAlarmNew-DIh8-E-a.mjs → component-HighwayLiveAlarmNew-ByL2OYk0.mjs} +3 -3
  44. package/dist/chunks/{component-HighwayStations-DeOsPYJ4.mjs → component-HighwayStations-DXj5h1vg.mjs} +2 -2
  45. package/dist/chunks/{component-HighwayWeatherForecast-OTwm4aUB.mjs → component-HighwayWeatherForecast-6I714FL1.mjs} +69 -69
  46. package/dist/chunks/{component-IframeWeb-DJpLhA93.mjs → component-IframeWeb-DDYUNdVl.mjs} +1 -1
  47. package/dist/chunks/{component-ImageGeneration-CPp8qG9P.mjs → component-ImageGeneration-C0K8D1lM.mjs} +2 -1
  48. package/dist/chunks/{component-IntroducePic-DMbanecs.mjs → component-IntroducePic-Bzsjmjql.mjs} +1 -2
  49. package/dist/chunks/{component-LithiumBatteryMiningArea-BHUIxPQA.mjs → component-LithiumBatteryMiningArea-ClvF3vsD.mjs} +2 -2
  50. package/dist/chunks/{component-MapPopup-CG1DlFH_.mjs → component-MapPopup-BnKmR10m.mjs} +1 -1
  51. package/dist/chunks/{component-MaterialPreview-DFtr5Zsw.mjs → component-MaterialPreview-DG5VgGJp.mjs} +1 -2
  52. package/dist/chunks/{component-PieLegend-CUhuvyyt.mjs → component-PieLegend-Y_AZPS0g.mjs} +1 -1
  53. package/dist/chunks/{component-PrecipitationRanking-CvuHO8-L.mjs → component-PrecipitationRanking-71G9U_UP.mjs} +3 -4
  54. package/dist/chunks/{component-RadarChart-BtV2B9NQ.mjs → component-RadarChart-u6Xs1TTB.mjs} +2 -2
  55. package/dist/chunks/{component-RadarLegend-uI-vbK2B.mjs → component-RadarLegend-9ahVi99l.mjs} +1 -1
  56. package/dist/chunks/{component-RadarShortTerm-C3yIFfjc.mjs → component-RadarShortTerm-wwvpXBvp.mjs} +4 -4
  57. package/dist/chunks/{component-RadarTime-Cy5ezbus.mjs → component-RadarTime-BqkIprmh.mjs} +2 -2
  58. package/dist/chunks/{component-RenderMarkdown-Cf79iCPF.mjs → component-RenderMarkdown-Cip_f4e8.mjs} +2 -2
  59. package/dist/chunks/{component-ReservoirLiveAlarm-DvMi5KuT.mjs → component-ReservoirLiveAlarm-D6fDm2mR.mjs} +3 -3
  60. package/dist/chunks/{component-ServiceMaterial-tM5xlUk5.mjs → component-ServiceMaterial-DHdRLUhG.mjs} +2 -2
  61. package/dist/chunks/{component-ServiceMaterialsBtn-CkBLC8_V.mjs → component-ServiceMaterialsBtn-B6fjh9Bc.mjs} +2 -1
  62. package/dist/chunks/{component-StationDialog-ThXd8RYz.mjs → component-StationDialog-DP9cwrI_.mjs} +2 -3
  63. package/dist/chunks/{component-StationList-CTE-wJJe.mjs → component-StationList-Cfmz5c3d.mjs} +3 -4
  64. package/dist/chunks/{component-TimeBasedForecast-BH14WI1X.mjs → component-TimeBasedForecast-DIBNCv4O.mjs} +36 -36
  65. package/dist/chunks/{component-Typhoon-BAh6wD79.mjs → component-Typhoon-4Oj6wl91.mjs} +16 -16
  66. package/dist/chunks/{component-WarningLine-DXy9x9WQ.mjs → component-WarningLine-XjCN_f4w.mjs} +2 -2
  67. package/dist/chunks/{component-WarningSignal-omOhQ4Oe.mjs → component-WarningSignal-DPUOC73O.mjs} +3 -3
  68. package/dist/chunks/{component-WeatherForecast-CdccA6XY.mjs → component-WeatherForecast-Cl3G0gZG.mjs} +36 -36
  69. package/dist/chunks/{component-YCDataMonitor-b_yLhnlt.mjs → component-YCDataMonitor-Cmugq2Hc.mjs} +1 -2
  70. package/dist/chunks/{component-YCDataService-BuXN9Hbm.mjs → component-YCDataService-Veq9EEB6.mjs} +3 -4
  71. package/dist/chunks/{component-YCHighWaySummary-BJ5NCRVX.mjs → component-YCHighWaySummary-BfcLGdxr.mjs} +2 -2
  72. package/dist/chunks/{component-YCHome-KZ-r1BIn.mjs → component-YCHome-BgGFtVlS.mjs} +3 -4
  73. package/dist/chunks/{component-YCHomeLegend-CI9bN8C9.mjs → component-YCHomeLegend-jG8vwIka.mjs} +2 -1
  74. package/dist/chunks/{component-YCLoginNew-BwaX10Om.mjs → component-YCLoginNew-BKMD-5TL.mjs} +9 -10
  75. package/dist/chunks/component-YCServiceSummary-C2K81UiN.mjs +869 -0
  76. package/dist/components/AiChat/AiChat.vue.d.ts +18 -0
  77. package/dist/components/AiChat/AiChatResponse.vue.d.ts +2 -0
  78. package/dist/components/AiChat/AiChatThinking.vue.d.ts +4 -0
  79. package/dist/components/AiChat/types.d.ts +1 -0
  80. package/dist/components/HdCameraList/HdCameraList.vue.d.ts +0 -10
  81. package/dist/components/HdMajorActivity/HdMajorActivity.vue.d.ts +46 -2
  82. package/dist/components/YCServiceSummary/YCAIChatPanel.vue.d.ts +2 -0
  83. package/dist/components/YCServiceSummary/YCServiceSummary.vue.d.ts +2 -0
  84. package/dist/components/YCServiceSummary/YCServiceSummaryGeologyRefineAnalysis.vue.d.ts +24 -0
  85. package/dist/components/YCServiceSummary/YCServiceSummaryGeologyTrafficAnalysis.vue.d.ts +24 -0
  86. package/dist/components/YCServiceSummary/YCServiceSummaryReservoirRefineAnalysis.vue.d.ts +24 -0
  87. package/dist/components/YCServiceSummary/YCServiceSummaryReservoirTrafficAnalysis.vue.d.ts +24 -0
  88. package/dist/nxd-plugin.mjs +73 -73
  89. package/dist/styles/component-AiChat.css +1 -1
  90. package/dist/styles/component-Forecast72h.css +1 -1
  91. package/dist/styles/component-HdCameraList.css +1 -1
  92. package/dist/styles/component-HdFarmStation.css +1 -1
  93. package/dist/styles/component-HdInsectDetailList.css +1 -1
  94. package/dist/styles/component-HdMajorActivity.css +1 -1
  95. package/dist/styles/component-YCLoginNew.css +1 -1
  96. package/dist/styles/component-YCServiceSummary.css +1 -1
  97. package/dist/utils/request.d.ts +1 -0
  98. package/package.json +1 -1
  99. package/dist/chunks/YCServiceSummary-PPstZeY5.mjs +0 -2
  100. package/dist/chunks/component-HdMajorActivity-fd-kVYVY.mjs +0 -221
  101. package/dist/chunks/component-YCServiceSummary-DyWhK07a.mjs +0 -509
@@ -9,6 +9,7 @@ type ReqFlowConfig = {
9
9
  appKey?: string;
10
10
  appSalt?: string;
11
11
  };
12
+ export declare const http: import('axios').AxiosInstance;
12
13
  export declare const reqFlow: <T = any>({ id, baseHttp, reqType, variables, isFormData, appKey, appSalt }: ReqFlowConfig) => Promise<T>;
13
14
  export default reqFlow;
14
15
  export declare const sendSms: (phone: string, code: string, url: string) => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nxd-plugin",
3
- "version": "1.8.22",
3
+ "version": "1.8.23",
4
4
  "main": "dist/nxd-plugin.mjs",
5
5
  "module": "dist/nxd-plugin.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -1,2 +0,0 @@
1
- import { t as e } from "./component-YCServiceSummary-DyWhK07a.mjs";
2
- export { e as default };
@@ -1,221 +0,0 @@
1
- import { n as e } from "./component-AqiMonitor-CbRqtu9p.mjs";
2
- import { a as t } from "./component-AiChat-AMGDZOnM.mjs";
3
- import "./component-Forecast72h-DWuJmxhN.mjs";
4
- import { ElCarousel as n, ElCarouselItem as r, ElDatePicker as i, ElImageViewer as a, ElLoadingDirective as o } from "element-plus/es";
5
- import { Fragment as s, Teleport as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, normalizeClass as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, withCtx as C, withDirectives as ee } from "vue";
6
- import "element-plus/dist/index.css";
7
- //#region src/components/HdMajorActivity/HdMajorActivity.vue?vue&type=script&setup=true&lang.ts
8
- var w = {
9
- class: "HdMajorActivity",
10
- "element-loading-background": "rgba(0, 0, 0, 0.5)"
11
- }, T = { class: "HdMajorActivity-body" }, te = { class: "HdMajorActivity-yearBar" }, ne = {
12
- key: 0,
13
- class: "HdMajorActivity-cover"
14
- }, re = ["src"], ie = {
15
- key: 1,
16
- class: "HdMajorActivity-coverPlaceholder"
17
- }, ae = ["disabled"], E = ["disabled"], D = { class: "HdMajorActivity-coverMask" }, O = { class: "HdMajorActivity-coverTitle" }, k = { class: "HdMajorActivity-coverTime" }, A = { class: "HdMajorActivity-coverTimeValue" }, j = {
18
- key: 1,
19
- class: "HdMajorActivity-section"
20
- }, M = { class: "HdMajorActivity-introduction" }, N = {
21
- key: 2,
22
- class: "HdMajorActivity-section"
23
- }, P = ["src", "onClick"], F = {
24
- key: 3,
25
- class: "HdMajorActivity-noData"
26
- }, I = /* @__PURE__ */ e(/* @__PURE__ */ g({
27
- __name: "HdMajorActivity",
28
- props: {
29
- mock: {
30
- type: Boolean,
31
- default: !1
32
- },
33
- baseHttp: { default: "" },
34
- appKey: { default: "" },
35
- appSalt: { default: "" },
36
- imgBaseUrl: { default: "" },
37
- ids: { default: () => ({}) },
38
- refreshInterval: { default: 0 },
39
- yearField: { default: "year" }
40
- },
41
- emits: ["close"],
42
- setup(e, { emit: g }) {
43
- let I = (/* @__PURE__ */ new Date()).getFullYear(), L = I - 20, R = I + 10, z = e, B = g, V = b(!1), H = b([]), U = b(null), W = b(0), G = b(!1), K = b(0), q = l(() => U.value ? H.value.filter((e) => {
44
- let t = e.year || ce(e.start_time);
45
- return String(t) === String(U.value);
46
- }) : H.value), J = l(() => q.value[W.value] || null), Y = l(() => Z(J.value?.cover_image)), X = l(() => {
47
- let e = J.value?.images;
48
- return e ? e.split(",").map((e) => Z(e.trim())).filter(Boolean) : [];
49
- }), oe = (e) => {
50
- let t = e.getFullYear();
51
- return t < L || t > R;
52
- }, se = () => {
53
- W.value = 0, $();
54
- }, ce = (e) => {
55
- if (!e) return null;
56
- let t = new Date(e);
57
- return isNaN(t.getTime()) ? null : t.getFullYear();
58
- }, Z = (e) => e ? e.startsWith("http://") || e.startsWith("https://") ? e : `${z.imgBaseUrl.replace(/\/$/, "")}${e.startsWith("/") ? e : `/${e}`}` : "", le = (e) => `${e.start_time ? e.start_time.split(" ")[0] : "--"} 至 ${e.end_time ? e.end_time.split(" ")[0] : "--"}`, Q = (e) => {
59
- if (e.status === 0) return "未开始";
60
- if (e.status === 1) return "进行中";
61
- if (e.status === 2) return "已结束";
62
- let t = (/* @__PURE__ */ new Date()).getTime(), n = e.start_time ? new Date(e.start_time).getTime() : 0, r = e.end_time ? new Date(e.end_time).getTime() : 0;
63
- return n && t < n ? "未开始" : r && t > r ? "已结束" : "进行中";
64
- }, ue = (e) => {
65
- let t = Q(e);
66
- return t === "未开始" ? "HdMajorActivity-status--pending" : t === "进行中" ? "HdMajorActivity-status--active" : "HdMajorActivity-status--ended";
67
- }, de = () => {
68
- W.value > 0 && W.value--;
69
- }, fe = () => {
70
- W.value < q.value.length - 1 && W.value++;
71
- }, pe = (e) => {
72
- K.value = e, G.value = !0;
73
- }, me = () => {
74
- G.value = !1;
75
- }, he = () => {
76
- B("close", "HdMajorActivity");
77
- }, ge = (e) => {
78
- let t = z.ids[e] || z.ids.data;
79
- return t?.id ? t : null;
80
- }, _e = (e) => e ? e.data === void 0 ? e.result === void 0 ? e : e.result : e.data?.result?.output === void 0 ? e.data?.result === void 0 ? e.data : e.data.result : e.data.result.output : null, ve = () => U.value ? { [z.yearField]: Number(U.value) } : {}, ye = () => {
81
- H.value = [{
82
- id: 1,
83
- name: "2018上合组织青岛峰会",
84
- location: "青岛国际会议中心",
85
- start_time: "2018-06-09 00:00:00",
86
- end_time: "2018-06-10 00:00:00",
87
- cover_image: "",
88
- images: "",
89
- introduction: "上海合作组织成员国元首理事会会议。",
90
- status: 2,
91
- year: 2018
92
- }, {
93
- id: 2,
94
- name: "啤酒节",
95
- location: "青岛会议中心",
96
- start_time: "2026-09-02 00:00:00",
97
- end_time: "2026-09-03 00:00:00",
98
- cover_image: "",
99
- images: "",
100
- introduction: "青岛国际啤酒节。",
101
- status: 1,
102
- year: 2026
103
- }];
104
- }, be = async () => {
105
- let e = ge("data");
106
- if (!e) {
107
- console.warn("HdMajorActivity 缺少工作流配置");
108
- return;
109
- }
110
- try {
111
- let n = _e(await t({
112
- id: e.id,
113
- baseHttp: z.baseHttp,
114
- reqType: e.reqType,
115
- variables: ve(),
116
- isFormData: e.isFormData,
117
- appKey: z.appKey,
118
- appSalt: z.appSalt
119
- }));
120
- Array.isArray(n) ? H.value = n : n && Array.isArray(n.list) ? H.value = n.list : H.value = [];
121
- } catch (e) {
122
- console.error("HdMajorActivity 数据加载失败", e);
123
- }
124
- }, $ = async () => {
125
- V.value = !0, z.mock ? ye() : await be(), V.value = !1;
126
- };
127
- return v(() => {
128
- $();
129
- }), (e, t) => {
130
- let l = i, g = r, v = n, b = a, I = o;
131
- return ee((y(), f("div", w, [
132
- p("button", {
133
- class: "HdMajorActivity-close",
134
- onClick: he
135
- }, [...t[1] ||= [p("span", null, "✕", -1)]]),
136
- t[8] ||= p("div", { class: "HdMajorActivity-header" }, [p("div", { class: "HdMajorActivity-headerContent" }, [p("h3", { class: "HdMajorActivity-title" }, "重大活动")]), p("img", {
137
- class: "HdMajorActivity-headerLine",
138
- src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
139
- alt: ""
140
- })], -1),
141
- p("div", T, [
142
- p("div", te, [t[2] ||= p("span", { class: "HdMajorActivity-yearLabel" }, "年份", -1), h(l, {
143
- modelValue: U.value,
144
- "onUpdate:modelValue": t[0] ||= (e) => U.value = e,
145
- type: "year",
146
- placeholder: "全部",
147
- "value-format": "YYYY",
148
- format: "YYYY",
149
- size: "small",
150
- clearable: !0,
151
- teleported: !1,
152
- class: "HdMajorActivity-yearPicker",
153
- "popper-class": "HdMajorActivity-yearPopper",
154
- "disabled-date": oe,
155
- onChange: se
156
- }, null, 8, ["modelValue"])]),
157
- J.value ? (y(), f("div", ne, [
158
- Y.value ? (y(), f("img", {
159
- key: 0,
160
- src: Y.value,
161
- alt: "活动封面"
162
- }, null, 8, re)) : (y(), f("div", ie, "暂无封面")),
163
- p("button", {
164
- class: "HdMajorActivity-coverArrow HdMajorActivity-coverArrow--left",
165
- disabled: W.value <= 0,
166
- onClick: de
167
- }, [...t[3] ||= [p("svg", {
168
- viewBox: "0 0 24 24",
169
- width: "16",
170
- height: "16",
171
- fill: "none",
172
- stroke: "currentColor",
173
- "stroke-width": "2"
174
- }, [p("polyline", { points: "15 18 9 12 15 6" })], -1)]], 8, ae),
175
- p("button", {
176
- class: "HdMajorActivity-coverArrow HdMajorActivity-coverArrow--right",
177
- disabled: W.value >= q.value.length - 1,
178
- onClick: fe
179
- }, [...t[4] ||= [p("svg", {
180
- viewBox: "0 0 24 24",
181
- width: "16",
182
- height: "16",
183
- fill: "none",
184
- stroke: "currentColor",
185
- "stroke-width": "2"
186
- }, [p("polyline", { points: "9 18 15 12 9 6" })], -1)]], 8, E),
187
- p("div", D, [p("h4", O, [m(S(J.value.name) + " ", 1), p("span", { class: _(["HdMajorActivity-coverStatus", ue(J.value)]) }, S(Q(J.value)), 3)]), p("div", k, [t[5] ||= p("span", { class: "HdMajorActivity-coverTimeLabel" }, "服务时间:", -1), p("span", A, S(le(J.value)), 1)])])
188
- ])) : d("", !0),
189
- J.value ? (y(), f("div", j, [t[6] ||= p("div", { class: "HdMajorActivity-sectionTitle" }, "活动介绍", -1), p("div", M, S(J.value.introduction || "暂无介绍"), 1)])) : d("", !0),
190
- X.value.length ? (y(), f("div", N, [t[7] ||= p("div", { class: "HdMajorActivity-sectionTitle" }, "活动图片", -1), h(v, {
191
- class: "HdMajorActivity-carouselBox",
192
- height: "140px",
193
- autoplay: !1,
194
- "indicator-position": "outside",
195
- arrow: "always"
196
- }, {
197
- default: C(() => [(y(!0), f(s, null, x(X.value, (e, t) => (y(), u(g, { key: t }, {
198
- default: C(() => [p("img", {
199
- class: "HdMajorActivity-carouselImage",
200
- src: e,
201
- alt: "活动图片",
202
- onClick: (e) => pe(t)
203
- }, null, 8, P)]),
204
- _: 2
205
- }, 1024))), 128))]),
206
- _: 1
207
- })])) : d("", !0),
208
- !q.value.length && !V.value ? (y(), f("div", F, "暂无活动数据")) : d("", !0)
209
- ]),
210
- (y(), u(c, { to: "body" }, [G.value ? (y(), u(b, {
211
- key: 0,
212
- "url-list": X.value,
213
- "initial-index": K.value,
214
- onClose: me
215
- }, null, 8, ["url-list", "initial-index"])) : d("", !0)]))
216
- ])), [[I, V.value]]);
217
- };
218
- }
219
- }), [["__scopeId", "data-v-84b826b2"]]);
220
- //#endregion
221
- export { I as t };