nxd-plugin 1.1.7 → 1.1.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-BxDmSWic.mjs +37054 -0
- package/dist/chunks/component-HighwayLiveAlarm-DQJF03St.mjs +76774 -0
- package/dist/chunks/component-HighwayStations-uEXbxmBw.mjs +37206 -0
- package/dist/chunks/component-HighwayWeatherForecast-aVa8cyHR.mjs +32227 -0
- package/dist/chunks/component-ServiceMaterialsBtn-BfzK97Xi.mjs +1524 -0
- package/dist/chunks/component-YCHome-BgdcO9pm.mjs +2291 -0
- package/dist/chunks/component-YCLogin-DBeoAgEY.mjs +137 -0
- package/dist/chunks/rolldown-runtime-Dd0fQ6-X.mjs +23 -0
- package/dist/nxd-plugin.mjs +7 -7
- package/dist/styles/component-YCLogin.css +1 -1
- package/package.json +3 -4
- package/dist/chunks/component-HighWayEarlyWarningRed.js +0 -10
- package/dist/chunks/component-HighwayLiveAlarm.js +0 -54
- package/dist/chunks/component-HighwayStations.js +0 -20
- package/dist/chunks/component-HighwayWeatherForecast.js +0 -1
- package/dist/chunks/component-ServiceMaterialsBtn.js +0 -1
- package/dist/chunks/component-YCHome.js +0 -12
- package/dist/chunks/component-YCLogin.js +0 -1
- package/dist/chunks/rolldown-runtime.js +0 -1
- package/dist/nxd-plugin.cjs +0 -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-HighwayStations-uEXbxmBw.mjs";
|
|
3
|
+
import { n as i } from "./component-HighWayEarlyWarningRed-BxDmSWic.mjs";
|
|
4
|
+
import { a, i as o, n as s, r as c } from "./component-YCHome-BgdcO9pm.mjs";
|
|
5
|
+
import { r as l } from "./component-ServiceMaterialsBtn-BfzK97Xi.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/YCLogin/YCLogin.vue?vue&type=script&setup=true&lang.ts
|
|
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({
|
|
9
|
+
__name: "YCLogin",
|
|
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
|
+
M("toPage", "/home");
|
|
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, null, {
|
|
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-7aa5d6b3"]]);
|
|
136
|
+
//#endregion
|
|
137
|
+
export { M as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (var i in e) t(r, i, {
|
|
5
|
+
get: e[i],
|
|
6
|
+
enumerable: !0
|
|
7
|
+
});
|
|
8
|
+
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
+
}, c = (e, i, o, s) => {
|
|
10
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
11
|
+
get: ((e) => i[e]).bind(null, d),
|
|
12
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
|
+
});
|
|
14
|
+
return e;
|
|
15
|
+
}, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
|
|
16
|
+
value: n,
|
|
17
|
+
enumerable: !0
|
|
18
|
+
}) : a, n)), u = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
|
|
19
|
+
if (typeof require < "u") return require.apply(this, arguments);
|
|
20
|
+
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { l as i, s as n, u as r, o as t };
|
package/dist/nxd-plugin.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./chunks/component-HighwayStations.
|
|
2
|
-
import { t } from "./chunks/component-HighWayEarlyWarningRed.
|
|
3
|
-
import { t as n } from "./chunks/component-YCHome.
|
|
4
|
-
import { t as r } from "./chunks/component-ServiceMaterialsBtn.
|
|
5
|
-
import { t as i } from "./chunks/component-HighwayLiveAlarm.
|
|
6
|
-
import { t as a } from "./chunks/component-HighwayWeatherForecast.
|
|
7
|
-
import { t as o } from "./chunks/component-YCLogin.
|
|
1
|
+
import { t as e } from "./chunks/component-HighwayStations-uEXbxmBw.mjs";
|
|
2
|
+
import { t } from "./chunks/component-HighWayEarlyWarningRed-BxDmSWic.mjs";
|
|
3
|
+
import { t as n } from "./chunks/component-YCHome-BgdcO9pm.mjs";
|
|
4
|
+
import { t as r } from "./chunks/component-ServiceMaterialsBtn-BfzK97Xi.mjs";
|
|
5
|
+
import { t as i } from "./chunks/component-HighwayLiveAlarm-DQJF03St.mjs";
|
|
6
|
+
import { t as a } from "./chunks/component-HighwayWeatherForecast-aVa8cyHR.mjs";
|
|
7
|
+
import { t as o } from "./chunks/component-YCLogin-DBeoAgEY.mjs";
|
|
8
8
|
//#region src/index.ts
|
|
9
9
|
var s = { install(s) {
|
|
10
10
|
s.component("HighwayLiveAlarm", i), s.component("HighwayStations", e), s.component("HighWayEarlyWarningRed", t), s.component("HighwayWeatherForecast", a), s.component("ServiceMaterialsBtn", r), s.component("YCHome", n), s.component("YCLogin", o);
|