nxd-plugin 1.7.83 → 1.7.85
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/chunks/{component-AiChat-C1xBPkS5.mjs → component-AiChat-BXNBLM1G.mjs} +92 -93
- package/dist/chunks/{component-AqiMonitor-DoAVs1Jf.mjs → component-AqiMonitor-C_V1Nuf_.mjs} +1 -1
- package/dist/chunks/{component-ChartCumulativePre-BOIMPYxl.mjs → component-ChartCumulativePre-Bo28Bgaa.mjs} +2 -2
- package/dist/chunks/{component-ChartServiceMaterial-CmR3bmG_.mjs → component-ChartServiceMaterial-DELVCsKj.mjs} +2 -2
- package/dist/chunks/{component-Duty-gmt7ZcSc.mjs → component-Duty-dyZZ4vHt.mjs} +2 -2
- package/dist/chunks/{component-EarlyWarningStatistic-BWYWrz65.mjs → component-EarlyWarningStatistic-CBJfrRsV.mjs} +2 -2
- package/dist/chunks/component-Forecast72h-TFBSlUgI.mjs +543 -0
- package/dist/chunks/{component-GeologyLiveAlarm-CNpQPmGs.mjs → component-GeologyLiveAlarm-B9jBWXf0.mjs} +2 -2
- package/dist/chunks/component-HdForecastProducts-D4x_Y0OB.mjs +211 -0
- package/dist/chunks/{component-HdHeatService-ok6q8UuG.mjs → component-HdHeatService-Bf9XH3DP.mjs} +2 -2
- package/dist/chunks/{component-HdObservation-BmQdGJV6.mjs → component-HdObservation-rcQFHEfW.mjs} +51 -45
- package/dist/chunks/{component-HdPreSituation-LBpO58bE.mjs → component-HdPreSituation-CnRwuRGg.mjs} +168 -133
- package/dist/chunks/{component-HdRadarTime-D7hOn_ph.mjs → component-HdRadarTime-Gcn9dJky.mjs} +179 -148
- package/dist/chunks/{component-HdSeaCase-DYPQ7CdN.mjs → component-HdSeaCase-3-YFxSuM.mjs} +2 -2
- package/dist/chunks/component-HdServiceMarterial-ehquoNg2.mjs +317 -0
- package/dist/chunks/{component-HdServiceRequirements-DcXrcIIV.mjs → component-HdServiceRequirements-Bd4HJrpn.mjs} +38 -39
- package/dist/chunks/{component-HdStationTem-US6IRwbQ.mjs → component-HdStationTem-CbJkt6Ww.mjs} +100 -100
- package/dist/chunks/component-HdSuggestion-_JNJhwSK.mjs +161 -0
- package/dist/chunks/component-HdThreeWeatherTrend-HlRMLWm8.mjs +372 -0
- package/dist/chunks/component-HdWaveForcast-jNK-H1b1.mjs +269 -0
- package/dist/chunks/{component-HighQuality-B0OgPi3T.mjs → component-HighQuality-1iqLOQAF.mjs} +2 -2
- package/dist/chunks/{component-HighWayEarlyWarningRed-BTl2WWZ-.mjs → component-HighWayEarlyWarningRed-DlgG9rTx.mjs} +3 -3
- package/dist/chunks/{component-HighWayFreeze-B1aMHQWU.mjs → component-HighWayFreeze-CCp1Rxpz.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarm-8u45ZdnN.mjs → component-HighwayLiveAlarm-D7PKi5rG.mjs} +2 -2
- package/dist/chunks/{component-HighwayLiveAlarmNew-DK827eVk.mjs → component-HighwayLiveAlarmNew-rH59lsj8.mjs} +3 -3
- package/dist/chunks/{component-HighwayStations-BzrbWP50.mjs → component-HighwayStations-DGt6Gsr9.mjs} +2 -2
- package/dist/chunks/component-HighwayWeatherForecast-CDLKFRNB.mjs +32194 -0
- package/dist/chunks/{component-IframeWeb-DuBssYPk.mjs → component-IframeWeb-vLIWvbJY.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-3G3j7utC.mjs → component-ImageGeneration-BtM7MHcE.mjs} +1 -1
- package/dist/chunks/{component-IntroducePic-L8VH8Yq8.mjs → component-IntroducePic-D3FSEuKX.mjs} +1 -1
- package/dist/chunks/{component-LithiumBatteryMiningArea-DSFTVepN.mjs → component-LithiumBatteryMiningArea-B5aUe7T0.mjs} +2 -2
- package/dist/chunks/{component-MapPopup-BNc18syw.mjs → component-MapPopup-UmWWAPBE.mjs} +1 -1
- package/dist/chunks/{component-MaterialPreview-DhLUbjcT.mjs → component-MaterialPreview-1Hyl4bjM.mjs} +2 -2
- package/dist/chunks/{component-PieLegend-Haojhtet.mjs → component-PieLegend-C0Acehix.mjs} +1 -1
- package/dist/chunks/component-PrecipitationRanking-BOm_vb1L.mjs +740 -0
- package/dist/chunks/{component-RadarChart-BYMbkI3K.mjs → component-RadarChart-BXfMyPPi.mjs} +2 -2
- package/dist/chunks/{component-RadarLegend-CiGsla7a.mjs → component-RadarLegend-B2ajP_0M.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-yPc2UWpz.mjs → component-RadarShortTerm-BeGEjbHr.mjs} +4 -4
- package/dist/chunks/{component-RadarTime-CkqIaTJh.mjs → component-RadarTime-DGRztCiR.mjs} +2 -2
- package/dist/chunks/{component-RenderMarkdown-D590sXEf.mjs → component-RenderMarkdown-Dv-UVGrS.mjs} +2 -2
- package/dist/chunks/{component-ReservoirLiveAlarm-DTtKdDQS.mjs → component-ReservoirLiveAlarm-CRgl_ztt.mjs} +3 -3
- package/dist/chunks/{component-ServiceMaterial-BKbVQbKm.mjs → component-ServiceMaterial-BTWYke8W.mjs} +2 -2
- package/dist/chunks/{component-ServiceMaterialsBtn-CskK-Qiz.mjs → component-ServiceMaterialsBtn-C9m-epfv.mjs} +1 -1
- package/dist/chunks/{component-StationDialog-Bn7Fbk24.mjs → component-StationDialog-CnJuYTfB.mjs} +246 -177
- package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BcnqOIZY.mjs} +101 -85
- package/dist/chunks/{component-TimeBasedForecast-D1fJ4rGJ.mjs → component-TimeBasedForecast-C1yk1Iu-.mjs} +4 -4
- package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.mjs} +3 -3
- package/dist/chunks/{component-WeatherForecast-CYsbJhYt.mjs → component-WeatherForecast-BRml38Ik.mjs} +80 -76
- package/dist/chunks/{component-YCDataMonitor-vVlnkSzT.mjs → component-YCDataMonitor-DPMFqIFB.mjs} +108 -110
- package/dist/chunks/{component-YCDataService-okkY1-iU.mjs → component-YCDataService-B4PPV3Dp.mjs} +4 -4
- package/dist/chunks/{component-YCHome-BfpbxDIg.mjs → component-YCHome-C-_Hf_oA.mjs} +4 -4
- package/dist/chunks/{component-YCHomeLegend-CuT-BwNJ.mjs → component-YCHomeLegend-B-nlePS2.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-KZoyW1EV.mjs → component-YCLoginNew-Bx2LoLJz.mjs} +3 -3
- package/dist/components/HdForecastProducts/HdForecastProducts.vue.d.ts +49 -0
- package/dist/components/HdPreSituation/HdPreSituation.vue.d.ts +0 -1
- package/dist/components/HdRadarTime/HdRadarTime.vue.d.ts +4 -2
- package/dist/components/HdServiceMarterial/HdServiceMarterial.vue.d.ts +54 -0
- package/dist/components/HdSuggestion/HdSuggestion.vue.d.ts +49 -0
- package/dist/components/HdThreeWeatherTrend/HdThreeWeatherTrend.vue.d.ts +71 -0
- package/dist/components/HdWaveForcast/HdWaveForcast.vue.d.ts +70 -0
- package/dist/components/PrecipitationRanking/PrecipitationRanking.vue.d.ts +5 -0
- package/dist/components/WeatherForecast/WeatherForecast.vue.d.ts +9 -0
- package/dist/index.d.ts +6 -1
- package/dist/nxd-plugin.mjs +56 -51
- package/dist/styles/component-Forecast72h.css +1 -1
- package/dist/styles/component-HdForecastProducts.css +1 -0
- package/dist/styles/component-HdObservation.css +1 -1
- package/dist/styles/component-HdPreSituation.css +1 -1
- package/dist/styles/component-HdRadarTime.css +1 -1
- package/dist/styles/component-HdServiceMarterial.css +1 -0
- package/dist/styles/component-HdServiceRequirements.css +1 -1
- package/dist/styles/component-HdStationTem.css +1 -1
- package/dist/styles/component-HdSuggestion.css +1 -0
- package/dist/styles/component-HdThreeWeatherTrend.css +1 -0
- package/dist/styles/component-HdWaveForcast.css +1 -0
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-PrecipitationRanking.css +1 -1
- package/dist/styles/component-StationDialog.css +1 -1
- package/dist/styles/component-StationList.css +1 -1
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCDataMonitor.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
- package/dist/chunks/component-Forecast72h-BZ1kB2TJ.mjs +0 -427
- package/dist/chunks/component-HighwayWeatherForecast-DER5XGc3.mjs +0 -32251
- package/dist/chunks/component-PrecipitationRanking-BanKrD3J.mjs +0 -608
package/dist/chunks/{component-StationList-DRABlFdc.mjs → component-StationList-BcnqOIZY.mjs}
RENAMED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-Cz5NsrRf.mjs";
|
|
2
|
-
import { n as t } from "./component-AqiMonitor-
|
|
3
|
-
import { i as n } from "./component-AiChat-
|
|
4
|
-
import "./component-Forecast72h-
|
|
5
|
-
import { n as r } from "./component-HdObservation-
|
|
6
|
-
import { ElConfigProvider as i, ElDatePicker as a,
|
|
7
|
-
import { computed as
|
|
8
|
-
import E from "element-plus/
|
|
2
|
+
import { n as t } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
3
|
+
import { i as n } from "./component-AiChat-BXNBLM1G.mjs";
|
|
4
|
+
import "./component-Forecast72h-TFBSlUgI.mjs";
|
|
5
|
+
import { n as r } from "./component-HdObservation-rcQFHEfW.mjs";
|
|
6
|
+
import { ElConfigProvider as i, ElDatePicker as a, ElIcon as o, ElLoadingDirective as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
7
|
+
import { computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, getCurrentInstance as g, normalizeClass as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, toDisplayString as S, unref as C, withCtx as w, withDirectives as T } from "vue";
|
|
8
|
+
import { Download as E, RefreshRight as ee } from "@element-plus/icons-vue";
|
|
9
|
+
import { ElMessage as D } from "element-plus";
|
|
10
|
+
import O from "element-plus/es/locale/lang/zh-cn.mjs";
|
|
11
|
+
import "element-plus/dist/index.css";
|
|
9
12
|
//#region src/components/StationList/StationList.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var
|
|
13
|
+
var k = /* @__PURE__ */ e(r()), A = {
|
|
11
14
|
class: "StationList",
|
|
12
15
|
"element-loading-background": "rgba(0, 0, 0, 0.5)"
|
|
13
|
-
},
|
|
16
|
+
}, te = { class: "StationList-header" }, ne = { class: "StationList-headerContent" }, j = { class: "StationList-title" }, M = {
|
|
14
17
|
key: 0,
|
|
15
18
|
class: "StationList-dataTime"
|
|
16
|
-
},
|
|
19
|
+
}, N = { class: "StationList-toolbar" }, P = { class: "StationList-timeWrap" }, F = { class: "StationList-actions" }, I = { class: "StationList-content" }, L = { class: "StationList-tableWrap" }, R = /* @__PURE__ */ t(/* @__PURE__ */ h({
|
|
17
20
|
__name: "StationList",
|
|
18
21
|
props: {
|
|
19
22
|
mock: {
|
|
@@ -120,74 +123,78 @@ var ee = /* @__PURE__ */ e(r()), D = {
|
|
|
120
123
|
},
|
|
121
124
|
emits: ["close", "rowClick"],
|
|
122
125
|
setup(e, { emit: t }) {
|
|
123
|
-
let r = g()?.appContext.config.globalProperties.$bus, h = e,
|
|
124
|
-
let e = [...
|
|
125
|
-
return
|
|
126
|
-
let n = Number(e[
|
|
127
|
-
return
|
|
126
|
+
let r = g()?.appContext.config.globalProperties.$bus, h = e, R = t, z = x(!1), B = x(!1), V = x(""), H = x(""), U = x(""), W = x([]), G = x(""), K = x("asc"), q = null, J = u(() => {
|
|
127
|
+
let e = [...W.value];
|
|
128
|
+
return G.value && e.sort((e, t) => {
|
|
129
|
+
let n = Number(e[G.value]) || 0, r = Number(t[G.value]) || 0;
|
|
130
|
+
return K.value === "asc" ? n - r : r - n;
|
|
128
131
|
}), e;
|
|
129
|
-
}),
|
|
132
|
+
}), Y = (e) => e == null || e === "" || e === 9999, X = (e, t) => Y(e) ? "--" : t ? `${e}${t}` : String(e), Z = (e, t) => {
|
|
130
133
|
let n = Number(e[t]);
|
|
131
|
-
if (
|
|
134
|
+
if (Y(n) || isNaN(n)) return !1;
|
|
132
135
|
let r = h.thresholds[t];
|
|
133
136
|
return r ? r.min !== void 0 && n < r.min || r.max !== void 0 && n > r.max : !1;
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
},
|
|
137
|
+
}, re = () => {
|
|
138
|
+
R("close", "StationList");
|
|
139
|
+
}, ie = (e) => {
|
|
140
|
+
R("rowClick", e);
|
|
141
|
+
}, ae = ({ prop: e, order: t }) => {
|
|
139
142
|
if (!e || !t) {
|
|
140
|
-
|
|
143
|
+
G.value = "";
|
|
141
144
|
return;
|
|
142
145
|
}
|
|
143
|
-
|
|
144
|
-
},
|
|
146
|
+
G.value = e, K.value = t === "ascending" ? "asc" : "desc";
|
|
147
|
+
}, oe = (e) => {
|
|
145
148
|
let t = h.ids[e] || h.ids.data;
|
|
146
149
|
return t?.id ? t : null;
|
|
147
|
-
},
|
|
150
|
+
}, se = (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, ce = () => {
|
|
148
151
|
let e = h.mockData;
|
|
149
|
-
console.log(e, "data"),
|
|
150
|
-
},
|
|
151
|
-
let e =
|
|
152
|
+
console.log(e, "data"), W.value = e.list || [], U.value = e.dataTime || "";
|
|
153
|
+
}, le = async () => {
|
|
154
|
+
let e = oe("data");
|
|
152
155
|
if (!e) {
|
|
153
156
|
console.warn("StationList 缺少工作流配置");
|
|
154
157
|
return;
|
|
155
158
|
}
|
|
156
159
|
try {
|
|
157
|
-
let t =
|
|
160
|
+
let t = se(await n({
|
|
158
161
|
id: e.id,
|
|
159
162
|
baseHttp: h.baseHttp,
|
|
160
163
|
reqType: e.reqType,
|
|
161
164
|
variables: {
|
|
162
|
-
startTime:
|
|
163
|
-
endTime:
|
|
165
|
+
startTime: V.value,
|
|
166
|
+
endTime: H.value
|
|
164
167
|
},
|
|
165
168
|
isFormData: e.isFormData,
|
|
166
169
|
appKey: h.appKey,
|
|
167
170
|
appSalt: h.appSalt
|
|
168
171
|
}));
|
|
169
|
-
t && (
|
|
172
|
+
t && (W.value = Array.isArray(t.list) ? t.list : [], U.value = t.dataTime || "");
|
|
170
173
|
} catch (e) {
|
|
171
174
|
console.error("StationList 数据加载失败", e);
|
|
172
175
|
}
|
|
173
176
|
}, Q = async () => {
|
|
174
|
-
|
|
175
|
-
},
|
|
177
|
+
z.value = !0, h.mock ? ce() : await le(), z.value = !1;
|
|
178
|
+
}, ue = () => {
|
|
176
179
|
Q();
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
}, de = async () => {
|
|
181
|
+
B.value = !0, await Q(), setTimeout(() => {
|
|
182
|
+
B.value = !1;
|
|
180
183
|
}, 500);
|
|
181
|
-
},
|
|
182
|
-
|
|
184
|
+
}, fe = () => {
|
|
185
|
+
if (J.value.length == 0) {
|
|
186
|
+
D.warning("暂无数据可导出");
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
let e = J.value.map((e) => ({
|
|
183
190
|
站名: e.stationName,
|
|
184
|
-
温度:
|
|
185
|
-
降水量:
|
|
186
|
-
风速:
|
|
191
|
+
温度: X(e.temperature, "℃"),
|
|
192
|
+
降水量: X(e.precipitation, "mm"),
|
|
193
|
+
风速: X(e.windSpeed, "m/s"),
|
|
187
194
|
风向: e.windDirectionText || "--",
|
|
188
|
-
数据时间: e.monitorTime ||
|
|
195
|
+
数据时间: e.monitorTime || U.value || ""
|
|
189
196
|
}));
|
|
190
|
-
new
|
|
197
|
+
new k.default({
|
|
191
198
|
fileName: `自动站观测数据_${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
192
199
|
datas: [{
|
|
193
200
|
sheetData: e,
|
|
@@ -218,27 +225,27 @@ var ee = /* @__PURE__ */ e(r()), D = {
|
|
|
218
225
|
]
|
|
219
226
|
}]
|
|
220
227
|
}).saveExcel();
|
|
221
|
-
},
|
|
222
|
-
$(), !(h.refreshInterval <= 0) && (
|
|
228
|
+
}, pe = () => {
|
|
229
|
+
$(), !(h.refreshInterval <= 0) && (q = setInterval(() => {
|
|
223
230
|
Q();
|
|
224
231
|
}, h.refreshInterval));
|
|
225
232
|
}, $ = () => {
|
|
226
|
-
|
|
233
|
+
q &&= (clearInterval(q), null);
|
|
227
234
|
};
|
|
228
235
|
return y(() => {
|
|
229
236
|
r?.on("toComponent", (e) => {
|
|
230
237
|
e.componentName === "StationList" && Q();
|
|
231
|
-
}), Q(),
|
|
238
|
+
}), Q(), pe();
|
|
232
239
|
}), v(() => {
|
|
233
240
|
$();
|
|
234
241
|
}), (t, n) => {
|
|
235
|
-
let r = a,
|
|
236
|
-
return T((b(),
|
|
237
|
-
|
|
242
|
+
let r = a, u = i, h = o, g = l, v = c, y = s;
|
|
243
|
+
return T((b(), f("div", A, [
|
|
244
|
+
p("button", {
|
|
238
245
|
class: "StationList-close",
|
|
239
|
-
onClick:
|
|
240
|
-
}, [...n[1] ||= [
|
|
241
|
-
|
|
246
|
+
onClick: re
|
|
247
|
+
}, [...n[1] ||= [p("span", null, "✕", -1)]]),
|
|
248
|
+
p("div", te, [p("div", ne, [p("h3", j, S(e.title), 1), U.value ? (b(), f("span", M, "(数据时间:" + S(U.value) + ")", 1)) : d("", !0)]), n[2] ||= p("img", {
|
|
242
249
|
style: {
|
|
243
250
|
width: "100%",
|
|
244
251
|
"object-fit": "contain",
|
|
@@ -247,77 +254,86 @@ var ee = /* @__PURE__ */ e(r()), D = {
|
|
|
247
254
|
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",
|
|
248
255
|
alt: ""
|
|
249
256
|
}, null, -1)]),
|
|
250
|
-
|
|
257
|
+
p("div", N, [p("div", P, [n[3] ||= p("span", { class: "StationList-toolbarLabel" }, "时间选择", -1), m(u, { locale: C(O) }, {
|
|
251
258
|
default: w(() => [m(r, {
|
|
259
|
+
size: "small",
|
|
252
260
|
style: { "max-width": "150px" },
|
|
253
|
-
modelValue:
|
|
254
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
261
|
+
modelValue: V.value,
|
|
262
|
+
"onUpdate:modelValue": n[0] ||= (e) => V.value = e,
|
|
255
263
|
type: "datetime",
|
|
256
264
|
placeholder: "请选择时间",
|
|
257
|
-
"value-format": "YYYY-MM-DD HH",
|
|
258
|
-
format: "YYYY-MM-DD HH",
|
|
265
|
+
"value-format": "YYYY-MM-DD HH:mm",
|
|
266
|
+
format: "YYYY-MM-DD HH:mm",
|
|
259
267
|
class: "StationList-datePicker",
|
|
260
268
|
"popper-class": "StationList-datePopper",
|
|
261
|
-
onChange:
|
|
269
|
+
onChange: ue
|
|
262
270
|
}, null, 8, ["modelValue"])]),
|
|
263
271
|
_: 1
|
|
264
|
-
}, 8, ["locale"])]),
|
|
272
|
+
}, 8, ["locale"])]), p("div", F, [p("button", {
|
|
265
273
|
class: "StationList-btn",
|
|
266
|
-
onClick:
|
|
267
|
-
}, [
|
|
274
|
+
onClick: fe
|
|
275
|
+
}, [m(h, null, {
|
|
276
|
+
default: w(() => [m(C(E))]),
|
|
277
|
+
_: 1
|
|
278
|
+
}), n[4] ||= p("span", null, "导出", -1)]), p("button", {
|
|
268
279
|
class: "StationList-btn",
|
|
269
|
-
onClick:
|
|
270
|
-
}, [
|
|
271
|
-
|
|
272
|
-
|
|
280
|
+
onClick: de
|
|
281
|
+
}, [m(h, null, {
|
|
282
|
+
default: w(() => [m(C(ee))]),
|
|
283
|
+
_: 1
|
|
284
|
+
}), n[5] ||= p("span", null, "刷新", -1)])])]),
|
|
285
|
+
p("div", I, [p("div", L, [m(v, {
|
|
286
|
+
data: J.value,
|
|
273
287
|
class: "StationList-table",
|
|
274
288
|
height: e.tableHeight,
|
|
275
289
|
"empty-text": "暂无数据",
|
|
276
|
-
onSortChange:
|
|
277
|
-
onRowClick:
|
|
290
|
+
onSortChange: ae,
|
|
291
|
+
onRowClick: ie
|
|
278
292
|
}, {
|
|
279
293
|
default: w(() => [
|
|
280
|
-
m(
|
|
294
|
+
m(g, {
|
|
281
295
|
prop: "stationName",
|
|
282
296
|
label: "站名",
|
|
283
297
|
align: "left",
|
|
284
|
-
"min-width": "
|
|
298
|
+
"min-width": "25%",
|
|
285
299
|
"show-overflow-tooltip": ""
|
|
286
300
|
}),
|
|
287
|
-
m(
|
|
301
|
+
m(g, {
|
|
288
302
|
prop: "temperature",
|
|
289
303
|
label: "温度",
|
|
290
304
|
align: "center",
|
|
291
305
|
sortable: "custom",
|
|
292
|
-
"min-width": "
|
|
306
|
+
"min-width": "22%"
|
|
293
307
|
}, {
|
|
294
|
-
default: w(({ row: e }) => [
|
|
308
|
+
default: w(({ row: e }) => [p("span", { class: _({ "is-alarm": Z(e, "temperature") }) }, S(X(e.temperature, "℃")), 3)]),
|
|
295
309
|
_: 1
|
|
296
310
|
}),
|
|
297
|
-
m(
|
|
311
|
+
m(g, {
|
|
298
312
|
prop: "precipitation",
|
|
299
313
|
label: "降水量",
|
|
300
314
|
align: "center",
|
|
301
315
|
sortable: "custom",
|
|
302
|
-
"min-width": "
|
|
316
|
+
"min-width": "23%"
|
|
303
317
|
}, {
|
|
304
|
-
default: w(({ row: e }) => [
|
|
318
|
+
default: w(({ row: e }) => [p("span", { class: _({ "is-alarm": Z(e, "precipitation") }) }, S(X(e.precipitation, "mm")), 3)]),
|
|
305
319
|
_: 1
|
|
306
320
|
}),
|
|
307
|
-
m(
|
|
321
|
+
m(g, {
|
|
308
322
|
label: "风向风速",
|
|
309
|
-
align: "
|
|
310
|
-
|
|
323
|
+
align: "center",
|
|
324
|
+
prop: "windSpeed",
|
|
325
|
+
"min-width": "25%",
|
|
326
|
+
sortable: ""
|
|
311
327
|
}, {
|
|
312
|
-
default: w(({ row: e }) => [p(S(
|
|
328
|
+
default: w(({ row: e }) => [p("div", null, [p("div", null, S(e.windSpeed ? X(e.windSpeed, "m/s") : "无"), 1), p("div", null, S(e.windDirectionText || "无"), 1)])]),
|
|
313
329
|
_: 1
|
|
314
330
|
})
|
|
315
331
|
]),
|
|
316
332
|
_: 1
|
|
317
333
|
}, 8, ["data", "height"])])])
|
|
318
|
-
])), [[
|
|
334
|
+
])), [[y, z.value]]);
|
|
319
335
|
};
|
|
320
336
|
}
|
|
321
|
-
}), [["__scopeId", "data-v-
|
|
337
|
+
}), [["__scopeId", "data-v-a32d57cd"]]);
|
|
322
338
|
//#endregion
|
|
323
|
-
export {
|
|
339
|
+
export { R as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import { A as n, C as r, D as i, E as ee, F as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as te, d as ne, f as re, g as ie, h as ae, i as oe, j as se, k as ce, l as le, m as ue, o as h, p as g, r as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-
|
|
4
|
-
import { n as v } from "./component-LithiumBatteryMiningArea-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as ee, F as a, M as o, N as s, O as c, P as l, S as u, T as d, _ as f, a as p, b as m, c as te, d as ne, f as re, g as ie, h as ae, i as oe, j as se, k as ce, l as le, m as ue, o as h, p as g, r as _, s as de, u as fe, v as pe, w as me, x as he, y as ge } from "./component-Forecast72h-TFBSlUgI.mjs";
|
|
4
|
+
import { n as v } from "./component-LithiumBatteryMiningArea-B5aUe7T0.mjs";
|
|
5
5
|
import { ElLoadingDirective as y, ElOption as b, ElSelect as x } from "element-plus/es";
|
|
6
6
|
import { Fragment as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineComponent as E, getCurrentInstance as D, nextTick as O, normalizeStyle as k, onBeforeUnmount as A, onMounted as j, openBlock as M, ref as N, renderList as P, toDisplayString as F, watch as I, withCtx as L, withDirectives as _e } from "vue";
|
|
7
7
|
import * as ve from "echarts";
|
package/dist/chunks/{component-WarningLine-jN8sg45u.mjs → component-WarningLine-CcFfVzar.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./component-AiChat-
|
|
2
|
-
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import { i as e } from "./component-AiChat-BXNBLM1G.mjs";
|
|
2
|
+
import { $ as t, A as n, B as r, C as ee, D as te, E as ne, F as re, G as ie, H as ae, I as oe, J as se, K as ce, L as le, M as ue, N as de, O as fe, P as pe, Q as me, R as he, S as ge, T as _e, U as ve, V as ye, W as be, X as xe, Y as Se, Z as Ce, _ as i, a, at as o, b as s, c, ct as l, d as u, dt as d, et as f, f as p, ft as m, g as h, h as g, i as _, it as v, j as y, k as b, l as x, lt as S, m as C, nt as w, o as T, ot as E, p as D, q as O, r as k, rt as A, s as we, st as Te, tt as Ee, u as De, ut as Oe, v as ke, w as Ae, x as je, y as Me, z as j } from "./component-HighWayEarlyWarningRed-DlgG9rTx.mjs";
|
|
3
3
|
import { Fragment as M, Transition as N, computed as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createVNode as Ne, defineComponent as R, getCurrentInstance as Pe, normalizeStyle as Fe, onMounted as Ie, onUnmounted as Le, openBlock as z, ref as B, renderList as Re, toDisplayString as V, watch as ze, withCtx as Be } from "vue";
|
|
4
4
|
//#region src/components/WarningLine/WarningLine.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var Ve = { class: "WarningLine__content" }, He = { class: "WarningLine__scroll-container" }, Ue = ["src"], We = { class: "WarningLine__text" }, Ge = {
|
package/dist/chunks/{component-WarningSignal-BkIKqyJB.mjs → component-WarningSignal-C0CnTLVH.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import { $ as n, A as r, B as i, C as a, D as o, E as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as ee, O as te, P as ne, Q as re, R as ie, S as ae, T as oe, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _ as pe, a as me, at as he, b as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as we, h as Te, i as Ee, it as g, j as _, k as v, l as y, lt as b, m as x, n as S, nt as C, o as w, ot as T, p as E, q as D, r as De, rt as Oe, s as ke, st as Ae, tt as je, u as Me, ut as Ne, v as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./component-HighWayEarlyWarningRed-DlgG9rTx.mjs";
|
|
4
4
|
import { ElLoadingDirective as O } from "element-plus/es";
|
|
5
5
|
import { Fragment as k, computed as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createStaticVNode as ze, createVNode as Be, defineComponent as P, getCurrentInstance as Ve, normalizeStyle as F, onBeforeUnmount as I, onMounted as He, openBlock as L, ref as R, renderList as Ue, toDisplayString as z, unref as B, vShow as We, watch as V, withDirectives as H, withModifiers as U } from "vue";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { n as e } from "./component-AqiMonitor-
|
|
2
|
-
import { i as t } from "./component-AiChat-
|
|
3
|
-
import { A as n, C as r, D as i, E as a, F as o, M as s, N as c, O as l, P as ee, S as te, T as u, _ as d, a as f, b as p, c as m, d as h, f as g, g as
|
|
4
|
-
import { n as
|
|
5
|
-
import { ElLoadingDirective as
|
|
6
|
-
import { Fragment as
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-C_V1Nuf_.mjs";
|
|
2
|
+
import { i as t } from "./component-AiChat-BXNBLM1G.mjs";
|
|
3
|
+
import { A as n, C as r, D as i, E as a, F as o, M as s, N as c, O as l, P as ee, S as te, T as u, _ as d, a as f, b as p, c as m, d as h, f as g, g as _, h as ne, i as re, j as ie, k as ae, l as oe, m as se, o as v, p as y, r as b, s as x, u as S, v as C, w, x as T, y as E } from "./component-Forecast72h-TFBSlUgI.mjs";
|
|
4
|
+
import { n as D } from "./component-LithiumBatteryMiningArea-B5aUe7T0.mjs";
|
|
5
|
+
import { ElLoadingDirective as O } from "element-plus/es";
|
|
6
|
+
import { Fragment as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, defineComponent as N, getCurrentInstance as P, normalizeClass as F, onMounted as I, openBlock as L, ref as R, renderList as z, toDisplayString as B, vShow as ce, withDirectives as V } from "vue";
|
|
7
7
|
//#region src/components/WeatherForecast/WeatherForecast.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
8
|
+
var H = {
|
|
9
9
|
class: "WeatherForecast",
|
|
10
10
|
"element-loading-background": "rgba(0, 0, 0, 0.4)"
|
|
11
|
-
},
|
|
11
|
+
}, U = { class: "WeatherForecast__head" }, W = { class: "WeatherForecast__head-top" }, G = { class: "WeatherForecast__body" }, le = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "WeatherForecast__area-select"
|
|
14
|
-
},
|
|
14
|
+
}, ue = { style: {
|
|
15
15
|
display: "flex",
|
|
16
16
|
"align-items": "center"
|
|
17
|
-
} },
|
|
17
|
+
} }, de = { class: "WeatherForecast__dropdown-wrapper" }, fe = { class: "WeatherForecast__area-panel" }, pe = ["onClick"], me = { class: "WeatherForecast__wrap" }, he = ["src", "alt"], K = /* @__PURE__ */ e(/* @__PURE__ */ N({
|
|
18
18
|
__name: "WeatherForecast",
|
|
19
19
|
props: {
|
|
20
20
|
appKey: {
|
|
@@ -36,11 +36,15 @@ var V = {
|
|
|
36
36
|
title: {
|
|
37
37
|
type: String,
|
|
38
38
|
default: "天气预报"
|
|
39
|
+
},
|
|
40
|
+
showAreaBtn: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: !1
|
|
39
43
|
}
|
|
40
44
|
},
|
|
41
45
|
emits: ["close"],
|
|
42
|
-
setup(e, { emit:
|
|
43
|
-
let
|
|
46
|
+
setup(e, { emit: N }) {
|
|
47
|
+
let K = P()?.appContext.config.globalProperties.$bus, q = e, ge = N, J = R(!1), Y = R([]), X = R({}), _e = R([
|
|
44
48
|
{
|
|
45
49
|
name: "黄岛区",
|
|
46
50
|
value: "aksu",
|
|
@@ -89,10 +93,10 @@ var V = {
|
|
|
89
93
|
longitude: "79.0200",
|
|
90
94
|
latitude: "40.5000"
|
|
91
95
|
}
|
|
92
|
-
]), Z =
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
e.componentName === "WeatherForecast" && (
|
|
96
|
+
]), Z = R({}), Q = R(!1);
|
|
97
|
+
I(() => {
|
|
98
|
+
K?.on("toComponent", (e) => {
|
|
99
|
+
e.componentName === "WeatherForecast" && (X.value = e.data, ve());
|
|
96
100
|
});
|
|
97
101
|
}), document.addEventListener("click", (e) => {
|
|
98
102
|
e.target.closest(".WeatherForecast__area-select") || (Q.value = !1);
|
|
@@ -100,38 +104,38 @@ var V = {
|
|
|
100
104
|
let ve = async () => {
|
|
101
105
|
await xe();
|
|
102
106
|
}, ye = () => {
|
|
103
|
-
|
|
107
|
+
ge("close", "WeatherForecast");
|
|
104
108
|
}, be = () => {
|
|
105
109
|
Q.value = !Q.value;
|
|
106
110
|
}, $ = async (e) => {
|
|
107
111
|
Q.value = !1, Z.value?.value !== e.value && (Z.value = e);
|
|
108
112
|
}, xe = async () => {
|
|
109
|
-
|
|
113
|
+
J.value = !0;
|
|
110
114
|
let e = {
|
|
111
|
-
lon:
|
|
112
|
-
lat:
|
|
115
|
+
lon: X.value.longitude,
|
|
116
|
+
lat: X.value.latitude,
|
|
113
117
|
hours: 168
|
|
114
|
-
},
|
|
115
|
-
appKey:
|
|
116
|
-
appSalt:
|
|
117
|
-
id:
|
|
118
|
-
variables: { str:
|
|
119
|
-
baseHttp:
|
|
120
|
-
reqType:
|
|
121
|
-
isFormData:
|
|
118
|
+
}, O = await t({
|
|
119
|
+
appKey: q.appKey,
|
|
120
|
+
appSalt: q.appSalt,
|
|
121
|
+
id: q.ids.data.id,
|
|
122
|
+
variables: { str: D.encode(JSON.stringify(e)) },
|
|
123
|
+
baseHttp: q.baseHttp,
|
|
124
|
+
reqType: q.ids.data.reqType,
|
|
125
|
+
isFormData: q.ids.data.isFormData
|
|
122
126
|
});
|
|
123
|
-
|
|
124
|
-
let
|
|
125
|
-
if (!
|
|
126
|
-
console.warn("天气预报接口返回为空",
|
|
127
|
+
J.value = !1;
|
|
128
|
+
let k = O.data?.result?.output;
|
|
129
|
+
if (!k) {
|
|
130
|
+
console.warn("天气预报接口返回为空", O), Y.value = [];
|
|
127
131
|
return;
|
|
128
132
|
}
|
|
129
|
-
let
|
|
130
|
-
if (!Array.isArray(
|
|
131
|
-
|
|
133
|
+
let A = (typeof k == "string" ? JSON.parse(k) : k).ds;
|
|
134
|
+
if (!Array.isArray(A) || A.length === 0) {
|
|
135
|
+
Y.value = [];
|
|
132
136
|
return;
|
|
133
137
|
}
|
|
134
|
-
let
|
|
138
|
+
let j = [
|
|
135
139
|
"日",
|
|
136
140
|
"一",
|
|
137
141
|
"二",
|
|
@@ -140,86 +144,86 @@ var V = {
|
|
|
140
144
|
"五",
|
|
141
145
|
"六"
|
|
142
146
|
];
|
|
143
|
-
|
|
144
|
-
let
|
|
145
|
-
|
|
146
|
-
let
|
|
147
|
+
Y.value = A.map((e, t) => {
|
|
148
|
+
let D = new Date(e.observation_time.replace(/\//g, "-"));
|
|
149
|
+
D.setDate(D.getDate() + t);
|
|
150
|
+
let O = `${D.getMonth() + 1}`.padStart(2, "0"), k = `${D.getDate()}`.padStart(2, "0");
|
|
147
151
|
return {
|
|
148
152
|
...e,
|
|
149
|
-
_date: `${
|
|
150
|
-
_week: `周${
|
|
153
|
+
_date: `${O}-${k}`,
|
|
154
|
+
_week: `周${j[D.getDay()]}`,
|
|
151
155
|
_icon: new URL((/* @__PURE__ */ Object.assign({
|
|
152
156
|
"../../assets/img/weatherIcon/0.gif": o,
|
|
153
157
|
"../../assets/img/weatherIcon/1.gif": ee,
|
|
154
158
|
"../../assets/img/weatherIcon/10.gif": c,
|
|
155
159
|
"../../assets/img/weatherIcon/11.gif": s,
|
|
156
|
-
"../../assets/img/weatherIcon/12.gif":
|
|
160
|
+
"../../assets/img/weatherIcon/12.gif": ie,
|
|
157
161
|
"../../assets/img/weatherIcon/13.gif": n,
|
|
158
|
-
"../../assets/img/weatherIcon/14.gif":
|
|
162
|
+
"../../assets/img/weatherIcon/14.gif": ae,
|
|
159
163
|
"../../assets/img/weatherIcon/15.gif": l,
|
|
160
164
|
"../../assets/img/weatherIcon/16.gif": i,
|
|
161
165
|
"../../assets/img/weatherIcon/17.gif": a,
|
|
162
166
|
"../../assets/img/weatherIcon/18.gif": u,
|
|
163
|
-
"../../assets/img/weatherIcon/19.gif":
|
|
167
|
+
"../../assets/img/weatherIcon/19.gif": w,
|
|
164
168
|
"../../assets/img/weatherIcon/2.gif": r,
|
|
165
169
|
"../../assets/img/weatherIcon/20.gif": te,
|
|
166
|
-
"../../assets/img/weatherIcon/21.gif":
|
|
170
|
+
"../../assets/img/weatherIcon/21.gif": T,
|
|
167
171
|
"../../assets/img/weatherIcon/22.gif": p,
|
|
168
|
-
"../../assets/img/weatherIcon/23.gif":
|
|
169
|
-
"../../assets/img/weatherIcon/24.gif":
|
|
172
|
+
"../../assets/img/weatherIcon/23.gif": E,
|
|
173
|
+
"../../assets/img/weatherIcon/24.gif": C,
|
|
170
174
|
"../../assets/img/weatherIcon/25.gif": d,
|
|
171
|
-
"../../assets/img/weatherIcon/26.gif":
|
|
172
|
-
"../../assets/img/weatherIcon/27.gif":
|
|
173
|
-
"../../assets/img/weatherIcon/28.gif":
|
|
174
|
-
"../../assets/img/weatherIcon/29.gif":
|
|
175
|
+
"../../assets/img/weatherIcon/26.gif": _,
|
|
176
|
+
"../../assets/img/weatherIcon/27.gif": ne,
|
|
177
|
+
"../../assets/img/weatherIcon/28.gif": se,
|
|
178
|
+
"../../assets/img/weatherIcon/29.gif": y,
|
|
175
179
|
"../../assets/img/weatherIcon/3.gif": g,
|
|
176
180
|
"../../assets/img/weatherIcon/30.gif": h,
|
|
177
|
-
"../../assets/img/weatherIcon/31.gif":
|
|
178
|
-
"../../assets/img/weatherIcon/4.gif":
|
|
181
|
+
"../../assets/img/weatherIcon/31.gif": S,
|
|
182
|
+
"../../assets/img/weatherIcon/4.gif": oe,
|
|
179
183
|
"../../assets/img/weatherIcon/5.gif": m,
|
|
180
|
-
"../../assets/img/weatherIcon/53.gif":
|
|
181
|
-
"../../assets/img/weatherIcon/6.gif":
|
|
184
|
+
"../../assets/img/weatherIcon/53.gif": x,
|
|
185
|
+
"../../assets/img/weatherIcon/6.gif": v,
|
|
182
186
|
"../../assets/img/weatherIcon/7.gif": f,
|
|
183
|
-
"../../assets/img/weatherIcon/8.gif":
|
|
184
|
-
"../../assets/img/weatherIcon/9.gif":
|
|
187
|
+
"../../assets/img/weatherIcon/8.gif": re,
|
|
188
|
+
"../../assets/img/weatherIcon/9.gif": b
|
|
185
189
|
}))[`../../assets/img/weatherIcon/${e.weatherPhenomenon}.gif`], import.meta.url).href
|
|
186
190
|
};
|
|
187
191
|
});
|
|
188
192
|
};
|
|
189
193
|
return (t, n) => {
|
|
190
|
-
let r =
|
|
191
|
-
return
|
|
194
|
+
let r = O;
|
|
195
|
+
return V((L(), j("div", H, [M("div", U, [M("div", W, [M("div", null, B(e.title), 1), M("div", {
|
|
192
196
|
class: "closeBtn",
|
|
193
197
|
onClick: ye,
|
|
194
198
|
title: "关闭"
|
|
195
|
-
})]), n[0] ||=
|
|
199
|
+
})]), n[0] ||= M("img", {
|
|
196
200
|
class: "WeatherForecast__head-line",
|
|
197
201
|
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",
|
|
198
202
|
alt: ""
|
|
199
|
-
}, null, -1)]),
|
|
203
|
+
}, null, -1)]), M("div", G, [q.showAreaBtn ? (L(), j("div", le, [M("div", ue, [n[1] ||= M("label", { style: { "font-size": "12px" } }, "区域选择:", -1), M("div", de, [M("div", {
|
|
200
204
|
class: "WeatherForecast__area-trigger",
|
|
201
205
|
onClick: be
|
|
202
|
-
}, [
|
|
206
|
+
}, [M("span", null, B(Z.value?.name || "选择区域"), 1), M("span", { class: F(["WeatherForecast__arrow", { "is-open": Q.value }]) }, "▼", 2)]), V(M("div", fe, [(L(!0), j(k, null, z(_e.value, (e, t) => (L(), j("div", {
|
|
203
207
|
key: t,
|
|
204
|
-
class:
|
|
208
|
+
class: F(["WeatherForecast__area-item", { "is-selected": Z.value?.value === e.value }]),
|
|
205
209
|
onClick: (t) => $(e)
|
|
206
|
-
},
|
|
210
|
+
}, B(e.name), 11, pe))), 128))], 512), [[ce, Q.value]])])])])) : A("", !0), M("div", me, [(L(!0), j(k, null, z(Y.value, (e) => (L(), j("div", {
|
|
207
211
|
class: "WeatherForecast__item",
|
|
208
212
|
key: `${e.observation_time}-${e.hour}`
|
|
209
213
|
}, [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
214
|
+
M("div", null, B(e._date), 1),
|
|
215
|
+
M("div", null, B(e._week), 1),
|
|
216
|
+
M("img", {
|
|
213
217
|
src: e._icon,
|
|
214
218
|
alt: e.weather
|
|
215
|
-
}, null, 8,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
]))), 128))])])])), [[r,
|
|
219
|
+
}, null, 8, he),
|
|
220
|
+
M("div", null, B(e.weather), 1),
|
|
221
|
+
M("div", null, B(e.temp_low) + "~" + B(e.temp_high) + "℃", 1),
|
|
222
|
+
M("div", null, B(e.wind_directinfo), 1),
|
|
223
|
+
M("div", null, B(e.wind_speedinfo === null || Number(e.wind_speedinfo) < 3 ? "<3级" : `${e.wind_speedinfo}级`), 1)
|
|
224
|
+
]))), 128))])])])), [[r, J.value]]);
|
|
221
225
|
};
|
|
222
226
|
}
|
|
223
|
-
}), [["__scopeId", "data-v-
|
|
227
|
+
}), [["__scopeId", "data-v-b6dbf561"]]);
|
|
224
228
|
//#endregion
|
|
225
|
-
export {
|
|
229
|
+
export { K as t };
|