nxd-plugin 1.2.1 → 1.2.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/chunks/{component-HighWayEarlyWarningRed-CWoyTkXq.mjs → component-HighWayEarlyWarningRed-y3S7s_i8.mjs} +9 -30
- package/dist/chunks/component-HighWayFreeze-C6Uy8M-5.mjs +4683 -0
- package/dist/chunks/{component-HighwayLiveAlarm-HFw2weyT.mjs → component-HighwayLiveAlarm-r5a9cFtU.mjs} +10939 -15470
- package/dist/chunks/component-HighwayLiveAlarmNew-C5Xxs3tk.mjs +32795 -0
- package/dist/chunks/{component-HighwayStations-qZJR8_Oq.mjs → component-HighwayStations-B6ZKiKT3.mjs} +21 -20
- package/dist/chunks/{component-HighwayWeatherForecast-DFuLAow_.mjs → component-HighwayWeatherForecast-b3jFSmt2.mjs} +4 -3
- package/dist/chunks/{component-ServiceMaterialsBtn-DY7vnsHN.mjs → component-ServiceMaterialsBtn-FCFnBAfM.mjs} +339 -338
- package/dist/chunks/component-YCHome-DXj1KN3G.mjs +2295 -0
- package/dist/chunks/{component-YCLogin-XOcbfbD9.mjs → component-YCLogin-4NFYZI0q.mjs} +8 -8
- package/dist/chunks/component-YCLoginNew-CfJBjOYb.mjs +137 -0
- package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +9 -30
- package/dist/components/HighwayLiveAlarmNew/default.json.d.ts +31945 -0
- package/dist/nxd-plugin.mjs +13 -10
- package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +6 -0
- package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +98 -0
- package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +4 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -0
- package/dist/styles/component-HighwayLiveAlarm.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -0
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -0
- package/package.json +1 -1
- package/readme.md +27 -3
- package/dist/chunks/component-YCHome-ADka3_Ox.mjs +0 -2294
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as i } from "./component-HighWayEarlyWarningRed-
|
|
4
|
-
import { a, i as o, n as s, r as c } from "./component-YCHome-
|
|
5
|
-
import { r as l } from "./component-ServiceMaterialsBtn-
|
|
2
|
+
import { C as e, T as t, f as n, w as r } from "./component-HighWayFreeze-C6Uy8M-5.mjs";
|
|
3
|
+
import { n as i } from "./component-HighWayEarlyWarningRed-y3S7s_i8.mjs";
|
|
4
|
+
import { a, i as o, n as s, r as c } from "./component-YCHome-DXj1KN3G.mjs";
|
|
5
|
+
import { r as l } from "./component-ServiceMaterialsBtn-FCFnBAfM.mjs";
|
|
6
6
|
import { Fragment as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, unref as b, withCtx as x, withKeys as S } from "vue";
|
|
7
7
|
//#region src/components/YCLogin/YCLogin.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-container" }, E = { class: "login-wrapper" }, D = { class: "login-box" }, O = { class: "login-header" }, k = { class: "header-icon" }, A = { class: "input-icon-box" }, j = { class: "input-icon-box" }, M = /* @__PURE__ */ i(/* @__PURE__ */ m({
|
|
@@ -41,7 +41,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
|
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
return (i, s) => {
|
|
44
|
-
let m =
|
|
44
|
+
let m = n, h = c, _ = a, v = l, M = o;
|
|
45
45
|
return g(), d("div", C, [
|
|
46
46
|
s[11] ||= f("div", { class: "glow-bg" }, null, -1),
|
|
47
47
|
s[12] ||= f("div", { class: "glow-bg-2" }, null, -1),
|
|
@@ -62,7 +62,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
|
|
|
62
62
|
s[8] ||= f("div", { class: "corner bottom-right" }, null, -1),
|
|
63
63
|
f("div", D, [f("div", O, [
|
|
64
64
|
f("div", k, [p(m, { size: 32 }, {
|
|
65
|
-
default: x(() => [p(b(
|
|
65
|
+
default: x(() => [p(b(r))]),
|
|
66
66
|
_: 1
|
|
67
67
|
})]),
|
|
68
68
|
s[2] ||= f("h2", { class: "title" }, "系统登录", -1),
|
|
@@ -86,7 +86,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
|
|
|
86
86
|
class: "custom-input"
|
|
87
87
|
}, {
|
|
88
88
|
prefix: x(() => [f("div", A, [p(m, null, {
|
|
89
|
-
default: x(() => [p(b(
|
|
89
|
+
default: x(() => [p(b(t))]),
|
|
90
90
|
_: 1
|
|
91
91
|
})])]),
|
|
92
92
|
_: 1
|
|
@@ -104,7 +104,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
|
|
|
104
104
|
class: "custom-input"
|
|
105
105
|
}, {
|
|
106
106
|
prefix: x(() => [f("div", j, [p(m, null, {
|
|
107
|
-
default: x(() => [p(b(
|
|
107
|
+
default: x(() => [p(b(e))]),
|
|
108
108
|
_: 1
|
|
109
109
|
})])]),
|
|
110
110
|
_: 1
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
+
import { C as e, T as t, f as n, w as r } from "./component-HighWayFreeze-C6Uy8M-5.mjs";
|
|
3
|
+
import { n as i } from "./component-HighWayEarlyWarningRed-y3S7s_i8.mjs";
|
|
4
|
+
import { a, i as o, n as s, r as c } from "./component-YCHome-DXj1KN3G.mjs";
|
|
5
|
+
import { r as l } from "./component-ServiceMaterialsBtn-FCFnBAfM.mjs";
|
|
6
|
+
import { Fragment as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, unref as b, withCtx as x, withKeys as S } from "vue";
|
|
7
|
+
//#region src/components/YCLoginNew/YCLoginNew.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var C = { class: "YCLoginNew" }, w = { class: "particles" }, T = { class: "login-container" }, E = { class: "login-wrapper" }, D = { class: "login-box" }, O = { class: "login-header" }, k = { class: "header-icon" }, A = { class: "input-icon-box" }, j = { class: "input-icon-box" }, M = /* @__PURE__ */ i(/* @__PURE__ */ m({
|
|
9
|
+
__name: "YCLoginNew",
|
|
10
|
+
setup(i, { emit: m }) {
|
|
11
|
+
let M = m, N = v(), P = v(!1), F = _({
|
|
12
|
+
username: "",
|
|
13
|
+
password: ""
|
|
14
|
+
}), I = {
|
|
15
|
+
username: [{
|
|
16
|
+
required: !0,
|
|
17
|
+
message: "请输入用户名",
|
|
18
|
+
trigger: "blur"
|
|
19
|
+
}],
|
|
20
|
+
password: [{
|
|
21
|
+
required: !0,
|
|
22
|
+
message: "请输入密码",
|
|
23
|
+
trigger: "blur"
|
|
24
|
+
}]
|
|
25
|
+
};
|
|
26
|
+
h(() => {
|
|
27
|
+
L();
|
|
28
|
+
});
|
|
29
|
+
let L = async () => {}, R = () => {
|
|
30
|
+
N.value && N.value.validate((e) => {
|
|
31
|
+
e && (P.value = !0, setTimeout(() => {
|
|
32
|
+
P.value = !1, s({
|
|
33
|
+
message: "登录成功!",
|
|
34
|
+
type: "success",
|
|
35
|
+
zIndex: 6e3,
|
|
36
|
+
duration: 1500
|
|
37
|
+
}), window.sessionStorage.setItem("user", JSON.stringify({ id: 1 })), setTimeout(() => {
|
|
38
|
+
F.username === "xxx" ? M("toPage", "/xxx") : M("toPage", "/highway");
|
|
39
|
+
}, 1e3);
|
|
40
|
+
}, 1e3));
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
return (i, s) => {
|
|
44
|
+
let m = n, h = c, _ = a, v = l, M = o;
|
|
45
|
+
return g(), d("div", C, [
|
|
46
|
+
s[11] ||= f("div", { class: "glow-bg" }, null, -1),
|
|
47
|
+
s[12] ||= f("div", { class: "glow-bg-2" }, null, -1),
|
|
48
|
+
f("div", w, [(g(), d(u, null, y(20, (e) => f("div", {
|
|
49
|
+
class: "particle",
|
|
50
|
+
key: e
|
|
51
|
+
})), 64))]),
|
|
52
|
+
f("div", T, [
|
|
53
|
+
s[9] ||= f("div", { class: "page-header" }, [f("h1", {
|
|
54
|
+
class: "main-title",
|
|
55
|
+
"data-text": "宜春市气象服务平台"
|
|
56
|
+
}, "宜春市气象服务平台"), f("p", { class: "sub-title" }, "专业气象服务 · 守护您的生产与生活")], -1),
|
|
57
|
+
s[10] ||= f("div", { class: "divider-line" }, null, -1),
|
|
58
|
+
f("div", E, [
|
|
59
|
+
s[5] ||= f("div", { class: "corner top-left" }, null, -1),
|
|
60
|
+
s[6] ||= f("div", { class: "corner top-right" }, null, -1),
|
|
61
|
+
s[7] ||= f("div", { class: "corner bottom-left" }, null, -1),
|
|
62
|
+
s[8] ||= f("div", { class: "corner bottom-right" }, null, -1),
|
|
63
|
+
f("div", D, [f("div", O, [
|
|
64
|
+
f("div", k, [p(m, { size: 32 }, {
|
|
65
|
+
default: x(() => [p(b(r))]),
|
|
66
|
+
_: 1
|
|
67
|
+
})]),
|
|
68
|
+
s[2] ||= f("h2", { class: "title" }, "系统登录", -1),
|
|
69
|
+
s[3] ||= f("p", { class: "en-title" }, "SYSTEM LOGIN", -1)
|
|
70
|
+
]), p(M, {
|
|
71
|
+
model: F,
|
|
72
|
+
rules: I,
|
|
73
|
+
ref_key: "loginFormRef",
|
|
74
|
+
ref: N,
|
|
75
|
+
onKeyup: S(R, ["enter"]),
|
|
76
|
+
class: "login-form"
|
|
77
|
+
}, {
|
|
78
|
+
default: x(() => [
|
|
79
|
+
p(_, { prop: "username" }, {
|
|
80
|
+
default: x(() => [p(h, {
|
|
81
|
+
modelValue: F.username,
|
|
82
|
+
"onUpdate:modelValue": s[0] ||= (e) => F.username = e,
|
|
83
|
+
placeholder: "请输入用户名",
|
|
84
|
+
clearable: "",
|
|
85
|
+
size: "large",
|
|
86
|
+
class: "custom-input"
|
|
87
|
+
}, {
|
|
88
|
+
prefix: x(() => [f("div", A, [p(m, null, {
|
|
89
|
+
default: x(() => [p(b(t))]),
|
|
90
|
+
_: 1
|
|
91
|
+
})])]),
|
|
92
|
+
_: 1
|
|
93
|
+
}, 8, ["modelValue"])]),
|
|
94
|
+
_: 1
|
|
95
|
+
}),
|
|
96
|
+
p(_, { prop: "password" }, {
|
|
97
|
+
default: x(() => [p(h, {
|
|
98
|
+
modelValue: F.password,
|
|
99
|
+
"onUpdate:modelValue": s[1] ||= (e) => F.password = e,
|
|
100
|
+
type: "password",
|
|
101
|
+
placeholder: "请输入密码",
|
|
102
|
+
"show-password": "",
|
|
103
|
+
size: "large",
|
|
104
|
+
class: "custom-input"
|
|
105
|
+
}, {
|
|
106
|
+
prefix: x(() => [f("div", j, [p(m, null, {
|
|
107
|
+
default: x(() => [p(b(e))]),
|
|
108
|
+
_: 1
|
|
109
|
+
})])]),
|
|
110
|
+
_: 1
|
|
111
|
+
}, 8, ["modelValue"])]),
|
|
112
|
+
_: 1
|
|
113
|
+
}),
|
|
114
|
+
p(_, { class: "btn-item" }, {
|
|
115
|
+
default: x(() => [p(v, {
|
|
116
|
+
class: "login-btn",
|
|
117
|
+
type: "primary",
|
|
118
|
+
onClick: R,
|
|
119
|
+
loading: P.value,
|
|
120
|
+
size: "large"
|
|
121
|
+
}, {
|
|
122
|
+
default: x(() => [...s[4] ||= [f("span", { class: "btn-text" }, "登 录", -1), f("div", { class: "btn-glow" }, null, -1)]]),
|
|
123
|
+
_: 1
|
|
124
|
+
}, 8, ["loading"])]),
|
|
125
|
+
_: 1
|
|
126
|
+
})
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
}, 8, ["model"])])
|
|
130
|
+
])
|
|
131
|
+
])
|
|
132
|
+
]);
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}), [["__scopeId", "data-v-3a703936"]]);
|
|
136
|
+
//#endregion
|
|
137
|
+
export { M as t };
|
|
@@ -13245,10 +13245,10 @@ declare const _default: {
|
|
|
13245
13245
|
{
|
|
13246
13246
|
"id": 11581,
|
|
13247
13247
|
"alertname": "大雾",
|
|
13248
|
-
"grade": "
|
|
13249
|
-
"alert_content": "德安县气象台2026年04月16日22时48
|
|
13248
|
+
"grade": "红色",
|
|
13249
|
+
"alert_content": "德安县气象台2026年04月16日22时48分发布大雾红色预警信号:预计未来12小时内,德安县的部分地区可能出现能见度小于500米的雾,请注意防范。",
|
|
13250
13250
|
"alert_unit": "德安县",
|
|
13251
|
-
"msg_type": "
|
|
13251
|
+
"msg_type": "Alert",
|
|
13252
13252
|
"data_time": "2026-04-16T22:48:00",
|
|
13253
13253
|
"inputtime": "2026-04-16T22:49:21",
|
|
13254
13254
|
"town_code": null,
|
|
@@ -13259,7 +13259,7 @@ declare const _default: {
|
|
|
13259
13259
|
"defense_guide": "1.有关部门和单位按照职责做好防雾准备工作;2.机场、高速公路、轮渡码头等单位加强交通管理,保障安全;3.驾驶人员注意雾的变化,小心驾驶;4.户外活动注意安全。",
|
|
13260
13260
|
"issuer": "江海滢",
|
|
13261
13261
|
"expires_time": "2026-04-17T13:48:00",
|
|
13262
|
-
"warnicon": "
|
|
13262
|
+
"warnicon": "big_fog_red.png",
|
|
13263
13263
|
"x": 115.738600,
|
|
13264
13264
|
"y": 29.350800
|
|
13265
13265
|
},
|
|
@@ -13269,7 +13269,7 @@ declare const _default: {
|
|
|
13269
13269
|
"grade": "黄色",
|
|
13270
13270
|
"alert_content": "德安县气象台2026年04月11日15时56分发布大雾黄色预警信号:预计未来12小时内,德安县的部分地区可能出现能见度小于500米的雾,请注意防范。",
|
|
13271
13271
|
"alert_unit": "德安县",
|
|
13272
|
-
"msg_type": "
|
|
13272
|
+
"msg_type": "Alert",
|
|
13273
13273
|
"data_time": "2026-04-11T15:56:00",
|
|
13274
13274
|
"inputtime": "2026-04-11T15:58:21",
|
|
13275
13275
|
"town_code": null,
|
|
@@ -13287,10 +13287,10 @@ declare const _default: {
|
|
|
13287
13287
|
{
|
|
13288
13288
|
"id": 11495,
|
|
13289
13289
|
"alertname": "大雾",
|
|
13290
|
-
"grade": "
|
|
13291
|
-
"alert_content": "德安县气象台2026年04月06日08时33
|
|
13290
|
+
"grade": "橙色",
|
|
13291
|
+
"alert_content": "德安县气象台2026年04月06日08时33分发布大雾橙色预警信号。",
|
|
13292
13292
|
"alert_unit": "德安县",
|
|
13293
|
-
"msg_type": "
|
|
13293
|
+
"msg_type": "Alert",
|
|
13294
13294
|
"data_time": "2026-04-06T08:33:00",
|
|
13295
13295
|
"inputtime": "2026-04-06T08:35:37",
|
|
13296
13296
|
"town_code": null,
|
|
@@ -13301,28 +13301,7 @@ declare const _default: {
|
|
|
13301
13301
|
"defense_guide": null,
|
|
13302
13302
|
"issuer": null,
|
|
13303
13303
|
"expires_time": "2026-04-06T23:33:00",
|
|
13304
|
-
"warnicon": "
|
|
13305
|
-
"x": 115.738600,
|
|
13306
|
-
"y": 29.350800
|
|
13307
|
-
},
|
|
13308
|
-
{
|
|
13309
|
-
"id": 11493,
|
|
13310
|
-
"alertname": "大雾",
|
|
13311
|
-
"grade": "黄色",
|
|
13312
|
-
"alert_content": "德安县气象台2026年04月06日04时00分发布大雾黄色预警信号:预计未来12小时内,德安县的部分地区可能出现能见度小于500米的雾,请注意防范。",
|
|
13313
|
-
"alert_unit": "德安县",
|
|
13314
|
-
"msg_type": "Cancel",
|
|
13315
|
-
"data_time": "2026-04-06T04:00:00",
|
|
13316
|
-
"inputtime": "2026-04-06T04:02:20",
|
|
13317
|
-
"town_code": null,
|
|
13318
|
-
"station_id": "58508",
|
|
13319
|
-
"previous_id": null,
|
|
13320
|
-
"alert_id": null,
|
|
13321
|
-
"alert_pid": null,
|
|
13322
|
-
"defense_guide": "1.有关部门和单位按照职责做好防雾准备工作;2.机场、高速公路、轮渡码头等单位加强交通管理,保障安全;3.驾驶人员注意雾的变化,小心驾驶;4.户外活动注意安全。",
|
|
13323
|
-
"issuer": "江海滢",
|
|
13324
|
-
"expires_time": "2026-04-06T19:00:00",
|
|
13325
|
-
"warnicon": "big_fog_yellow.png",
|
|
13304
|
+
"warnicon": "big_fog_orange.png",
|
|
13326
13305
|
"x": 115.738600,
|
|
13327
13306
|
"y": 29.350800
|
|
13328
13307
|
},
|