nxd-plugin 1.3.7 → 1.3.8
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-yaXptPl1.mjs → component-HighWayEarlyWarningRed-BKLHeWHr.mjs} +1490 -33432
- package/dist/chunks/{component-HighWayFreeze-ByAF7JQ7.mjs → component-HighWayFreeze-BvB-6JYi.mjs} +1539 -1523
- package/dist/chunks/{component-HighwayLiveAlarm-BrYDfT9C.mjs → component-HighwayLiveAlarm-BHOhzsUw.mjs} +79 -79
- package/dist/chunks/{component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs → component-HighwayLiveAlarmNew-CIRCsfMN.mjs} +939 -954
- package/dist/chunks/{component-HighwayStations-DBsRXgHk.mjs → component-HighwayStations-C74-YZeJ.mjs} +3 -3
- package/dist/chunks/{component-HighwayWeatherForecast-DfD4TY_f.mjs → component-HighwayWeatherForecast-CT7S3N4a.mjs} +2 -2
- package/dist/chunks/component-ImageGeneration-DPxBMC0C.mjs +36199 -0
- package/dist/chunks/{component-LithiumBatteryMiningArea-CciAKE46.mjs → component-LithiumBatteryMiningArea-xte8_s0I.mjs} +228 -2277
- package/dist/chunks/{component-RadarShortTerm-BeeWDY9X.mjs → component-RadarShortTerm-DQ1z5uSp.mjs} +7 -7
- package/dist/chunks/{component-ServiceMaterialsBtn-Sj_vfugh.mjs → component-ServiceMaterialsBtn-DwTBVx4n.mjs} +229 -1137
- package/dist/chunks/component-TimeBasedForecast-CmikCSFB.mjs +238 -0
- package/dist/chunks/component-WeatherForecast-rputF8JM.mjs +136 -0
- package/dist/chunks/{component-YCHome-DskMdi13.mjs → component-YCHome-B3j5J78s.mjs} +680 -1249
- package/dist/chunks/{component-YCLogin-DeNzuZJh.mjs → component-YCLogin-D1HY0SIj.mjs} +22 -22
- package/dist/chunks/component-YCLoginNew-ToBzfPon.mjs +168 -0
- package/dist/nxd-plugin.mjs +18 -17
- package/dist/src/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +4 -34
- package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +24 -3
- package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +6 -60
- package/dist/src/components/LithiumBatteryMiningArea/LithiumBatteryMiningArea.vue.d.ts +24 -3
- package/dist/src/components/TimeBasedForecast/TimeBasedForecast.vue.d.ts +24 -3
- package/dist/src/components/WeatherForecast/WeatherForecast.vue.d.ts +18 -0
- package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +13 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/utils/request.d.ts +8 -13
- package/dist/src/utils/request/345/244/207/344/273/275.d.ts +17 -0
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
- package/dist/styles/component-ImageGeneration.css +1 -0
- package/dist/styles/component-LithiumBatteryMiningArea.css +1 -1
- package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
- package/dist/styles/component-TimeBasedForecast.css +1 -1
- package/dist/styles/component-WeatherForecast.css +1 -1
- package/dist/styles/component-YCHome.css +1 -1
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +6 -1
- package/readme.md +24 -25
- package/dist/chunks/component-TimeBasedForecast-LNK3QTFp.mjs +0 -347
- package/dist/chunks/component-WeatherForecast-Cl188OT3.mjs +0 -219
- package/dist/chunks/component-YCLoginNew-Vd0a8quF.mjs +0 -137
- package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +0 -31891
- package/dist/components/LithiumBatteryMiningArea/miningArea.json.d.ts +0 -59
- package/dist/components/LithiumBatteryMiningArea/realTimeData.json.d.ts +0 -2144
- package/dist/components/TimeBasedForecast/hourForecast.json.d.ts +0 -147
- package/dist/components/WeatherForecast/weatherForecast.json.d.ts +0 -113
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { C as e, T as t, f as n, w as r } from "./component-HighWayFreeze-ByAF7JQ7.mjs";
|
|
3
|
-
import { r as i } from "./component-HighWayEarlyWarningRed-yaXptPl1.mjs";
|
|
4
|
-
import { a, i as o, n as s, r as c } from "./component-YCHome-DskMdi13.mjs";
|
|
5
|
-
import { r as l } from "./component-ServiceMaterialsBtn-Sj_vfugh.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 };
|