gs-eant-comp 3.1.8-beta.6 → 3.1.8-beta.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/{ActivityFeed-CTl74s-w.js → ActivityFeed-D7h4Gz9O.js} +7 -7
- package/dist/{ActivityTable-gucqRXSN.js → ActivityTable-DvA5TWlt.js} +9 -9
- package/dist/{BannerCarousel-Bq2fnxXM.js → BannerCarousel-Cs5NmCsX.js} +5 -5
- package/dist/{NoticeList-aywCrnm1.js → NoticeList-DJ1R7Lvp.js} +3 -3
- package/dist/{NotificationCenter-ny-wDnuC.js → NotificationCenter-C1HJqOdF.js} +37 -37
- package/dist/{OrderCenter-B06Z7YBu.js → OrderCenter-BjaVlRC-.js} +15 -15
- package/dist/{QuickActions-B8RefBse.js → QuickActions-Q2D-tYC4.js} +5 -5
- package/dist/{QuickActionsPanel-CZmwbDbF.js → QuickActionsPanel-Bpts5omq.js} +2 -2
- package/dist/{QuickMenu-DzL0ISt0.js → QuickMenu-Dt7aobNv.js} +2 -2
- package/dist/{ShoppingCart-DP5OoyH_.js → ShoppingCart-B9gbZtev.js} +22 -22
- package/dist/{StatCard-BveYyorG.js → StatCard-DC3WBUgc.js} +2 -2
- package/dist/{StatCards-stcNWyq8.js → StatCards-DVkx_AvR.js} +8 -8
- package/dist/{TodoList-hbfD4Uqo.js → TodoList-0WuSfEp1.js} +10 -10
- package/dist/gs-eant-comp.css +1 -1
- package/dist/gs-eant-comp.js +1 -1
- package/dist/gs-eant-comp.umd.cjs +4 -4
- package/dist/index-yp4CEGVc.js +10311 -0
- package/package.json +1 -1
- package/dist/index-DcGSbfh_.js +0 -9464
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolveComponent as l, createElementBlock as n, openBlock as s, createElementVNode as t, Fragment as v, renderList as _, normalizeStyle as o, createVNode as y, createTextVNode as
|
|
2
|
-
import { _ as
|
|
3
|
-
const m = { class: "activity-feed h-100" }, p = { class: "activity-body" }, u = { class: "activity-content" }, B = { class: "activity-text" },
|
|
1
|
+
import { resolveComponent as l, createElementBlock as n, openBlock as s, createElementVNode as t, Fragment as v, renderList as _, normalizeStyle as o, createVNode as y, createTextVNode as g, toDisplayString as a } from "vue";
|
|
2
|
+
import { _ as f } from "./index-yp4CEGVc.js";
|
|
3
|
+
const m = { class: "activity-feed h-100" }, p = { class: "activity-body" }, u = { class: "activity-content" }, B = { class: "activity-text" }, b = { class: "activity-user" }, h = { class: "activity-time" }, k = {
|
|
4
4
|
__name: "ActivityFeed",
|
|
5
5
|
setup(x) {
|
|
6
6
|
const r = [
|
|
@@ -35,17 +35,17 @@ const m = { class: "activity-feed h-100" }, p = { class: "activity-body" }, u =
|
|
|
35
35
|
], -1)),
|
|
36
36
|
t("div", u, [
|
|
37
37
|
t("div", B, [
|
|
38
|
-
t("span",
|
|
39
|
-
|
|
38
|
+
t("span", b, a(i.user), 1),
|
|
39
|
+
g(" " + a(i.action), 1)
|
|
40
40
|
]),
|
|
41
|
-
t("div",
|
|
41
|
+
t("div", h, a(i.time), 1)
|
|
42
42
|
])
|
|
43
43
|
], 4)), 64))
|
|
44
44
|
])
|
|
45
45
|
]);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
}, A = /* @__PURE__ */
|
|
48
|
+
}, A = /* @__PURE__ */ f(k, [["__scopeId", "data-v-b32d94d9"]]);
|
|
49
49
|
export {
|
|
50
50
|
A as default
|
|
51
51
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as n, createElementBlock as r, openBlock as o, createElementVNode as y, createVNode as u, withCtx as s, createTextVNode as
|
|
2
|
-
import { _ as g } from "./index-
|
|
1
|
+
import { resolveComponent as n, createElementBlock as r, openBlock as o, createElementVNode as y, createVNode as u, withCtx as s, createTextVNode as c, createBlock as d, createCommentVNode as k, toDisplayString as l } from "vue";
|
|
2
|
+
import { _ as g } from "./index-yp4CEGVc.js";
|
|
3
3
|
const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "cell-time"
|
|
@@ -27,7 +27,7 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
27
27
|
default: !1
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
setup(
|
|
30
|
+
setup(i) {
|
|
31
31
|
const m = [
|
|
32
32
|
{
|
|
33
33
|
title: "时间",
|
|
@@ -64,16 +64,16 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
64
64
|
class: "table-more"
|
|
65
65
|
}, {
|
|
66
66
|
default: s(() => [...a[0] || (a[0] = [
|
|
67
|
-
|
|
67
|
+
c(" 查看更多 ", -1)
|
|
68
68
|
])]),
|
|
69
69
|
_: 1
|
|
70
70
|
})
|
|
71
71
|
]),
|
|
72
72
|
u(C, {
|
|
73
73
|
columns: m,
|
|
74
|
-
"data-source":
|
|
74
|
+
"data-source": i.data,
|
|
75
75
|
pagination: !1,
|
|
76
|
-
loading:
|
|
76
|
+
loading: i.loading,
|
|
77
77
|
scroll: { y: 280 },
|
|
78
78
|
size: "small",
|
|
79
79
|
"row-key": (e, t) => t
|
|
@@ -85,7 +85,7 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
85
85
|
class: "type-tag"
|
|
86
86
|
}, {
|
|
87
87
|
default: s(() => [
|
|
88
|
-
|
|
88
|
+
c(l(t.type), 1)
|
|
89
89
|
]),
|
|
90
90
|
_: 2
|
|
91
91
|
}, 1032, ["color"])) : e.key === "content" ? (o(), r("span", v, l(t.content), 1)) : e.key === "status" ? (o(), d(p, {
|
|
@@ -93,7 +93,7 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
93
93
|
color: t.statusColor
|
|
94
94
|
}, {
|
|
95
95
|
default: s(() => [
|
|
96
|
-
|
|
96
|
+
c(l(t.status), 1)
|
|
97
97
|
]),
|
|
98
98
|
_: 2
|
|
99
99
|
}, 1032, ["color"])) : k("", !0)
|
|
@@ -103,7 +103,7 @@ const b = { class: "activity-table" }, f = { class: "table-header" }, x = {
|
|
|
103
103
|
]);
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
|
-
}, D = /* @__PURE__ */ g(h, [["__scopeId", "data-v-
|
|
106
|
+
}, D = /* @__PURE__ */ g(h, [["__scopeId", "data-v-4f4072c5"]]);
|
|
107
107
|
export {
|
|
108
108
|
D as default
|
|
109
109
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as o, createElementBlock as a, openBlock as i, createVNode as s, withCtx as _, Fragment as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { resolveComponent as o, createElementBlock as a, openBlock as i, createVNode as s, withCtx as _, Fragment as p, renderList as f, createElementVNode as e, normalizeStyle as b, toDisplayString as n } from "vue";
|
|
2
|
+
import { _ as g } from "./index-yp4CEGVc.js";
|
|
3
3
|
const m = { class: "banner-carousel h-100" }, u = { class: "banner-info" }, v = { class: "banner-title" }, h = { class: "banner-desc" }, x = { class: "banner-btn" }, y = { class: "banner-icon-wrapper" }, T = {
|
|
4
4
|
__name: "BannerCarousel",
|
|
5
5
|
setup(k) {
|
|
@@ -41,13 +41,13 @@ const m = { class: "banner-carousel h-100" }, u = { class: "banner-info" }, v =
|
|
|
41
41
|
"dot-position": "bottom"
|
|
42
42
|
}, {
|
|
43
43
|
default: _(() => [
|
|
44
|
-
(i(), a(
|
|
44
|
+
(i(), a(p, null, f(c, (t, l) => e("div", {
|
|
45
45
|
key: l,
|
|
46
46
|
class: "banner-slide"
|
|
47
47
|
}, [
|
|
48
48
|
e("div", {
|
|
49
49
|
class: "banner-content",
|
|
50
|
-
style:
|
|
50
|
+
style: b({ background: t.gradient })
|
|
51
51
|
}, [
|
|
52
52
|
e("div", u, [
|
|
53
53
|
e("div", v, n(t.title), 1),
|
|
@@ -68,7 +68,7 @@ const m = { class: "banner-carousel h-100" }, u = { class: "banner-info" }, v =
|
|
|
68
68
|
]);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
}, N = /* @__PURE__ */
|
|
71
|
+
}, N = /* @__PURE__ */ g(T, [["__scopeId", "data-v-e43b83ef"]]);
|
|
72
72
|
export {
|
|
73
73
|
N as default
|
|
74
74
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as c, createElementVNode as t, Fragment as r, renderList as d, normalizeStyle as e, toDisplayString as s } from "vue";
|
|
2
|
-
import { _ as g } from "./index-
|
|
2
|
+
import { _ as g } from "./index-yp4CEGVc.js";
|
|
3
3
|
const f = { class: "notice-list h-100" }, _ = { class: "notice-list-body" }, m = { class: "notice-content" }, C = { class: "notice-title-row" }, p = { class: "notice-title" }, u = { class: "notice-time" }, v = {
|
|
4
4
|
__name: "NoticeList",
|
|
5
5
|
setup(B) {
|
|
@@ -11,7 +11,7 @@ const f = { class: "notice-list h-100" }, _ = { class: "notice-list-body" }, m =
|
|
|
11
11
|
{ title: "企业微信集成功能已上线", time: "04-16 08:45", tag: "新功能", dotColor: "#eb2f96", tagBg: "#fff0f6", tagColor: "#c41d7f" },
|
|
12
12
|
{ title: "2026年第一季度安全审计报告", time: "04-15 10:30", tag: "审计", dotColor: "#13c2c2", tagBg: "#e6fffb", tagColor: "#08979c" }
|
|
13
13
|
];
|
|
14
|
-
return (
|
|
14
|
+
return (y, a) => (c(), l("div", f, [
|
|
15
15
|
a[0] || (a[0] = t("div", { class: "notice-list-header" }, [
|
|
16
16
|
t("span", { class: "notice-list-title" }, "系统公告")
|
|
17
17
|
], -1)),
|
|
@@ -39,7 +39,7 @@ const f = { class: "notice-list h-100" }, _ = { class: "notice-list-body" }, m =
|
|
|
39
39
|
])
|
|
40
40
|
]));
|
|
41
41
|
}
|
|
42
|
-
}, k = /* @__PURE__ */ g(v, [["__scopeId", "data-v-
|
|
42
|
+
}, k = /* @__PURE__ */ g(v, [["__scopeId", "data-v-69558628"]]);
|
|
43
43
|
export {
|
|
44
44
|
k as default
|
|
45
45
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as M, computed as d, createElementBlock as n, openBlock as r, createElementVNode as
|
|
2
|
-
import { _ as H } from "./index-
|
|
1
|
+
import { ref as M, computed as d, createElementBlock as n, openBlock as r, createElementVNode as e, createStaticVNode as x, createCommentVNode as c, toDisplayString as s, Fragment as k, renderList as p, normalizeClass as f, createTextVNode as B, normalizeStyle as j } from "vue";
|
|
2
|
+
import { _ as H } from "./index-yp4CEGVc.js";
|
|
3
3
|
const A = { class: "notif-center" }, V = { class: "notif-header" }, N = { class: "header-right" }, L = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "unread-badge"
|
|
@@ -63,70 +63,70 @@ const A = { class: "notif-center" }, V = { class: "notif-header" }, N = { class:
|
|
|
63
63
|
},
|
|
64
64
|
emits: ["read", "action"],
|
|
65
65
|
setup(_, { emit: y }) {
|
|
66
|
-
const
|
|
66
|
+
const i = _, g = y, a = M("all"), u = [
|
|
67
67
|
{ key: "all", label: "全部", count: 0 },
|
|
68
68
|
{ key: "order", label: "订单", count: 1 },
|
|
69
69
|
{ key: "system", label: "系统", count: 1 },
|
|
70
70
|
{ key: "course", label: "课程", count: 0 }
|
|
71
|
-
],
|
|
71
|
+
], w = d(() => u.find((o) => o.key === a.value)?.label || ""), h = d(() => i.notifications.filter((o) => !o.read).length), v = d(() => a.value === "all" ? i.notifications : i.notifications.filter((o) => o.type === a.value)), m = (o) => {
|
|
72
72
|
o.read || (o.read = !0, g("read", o));
|
|
73
|
-
},
|
|
74
|
-
|
|
73
|
+
}, C = () => {
|
|
74
|
+
i.notifications.forEach((o) => o.read = !0);
|
|
75
75
|
};
|
|
76
76
|
return (o, l) => (r(), n("div", A, [
|
|
77
|
-
|
|
78
|
-
l[0] || (l[0] = x('<div class="header-left" data-v-
|
|
79
|
-
|
|
77
|
+
e("div", V, [
|
|
78
|
+
l[0] || (l[0] = x('<div class="header-left" data-v-a11268a5><span class="header-icon" data-v-a11268a5><svg viewBox="0 0 24 24" width="20" height="20" fill="none" data-v-a11268a5><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-a11268a5></path><path d="M13.73 21a2 2 0 0 1-3.46 0" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-a11268a5></path></svg></span><span class="header-title" data-v-a11268a5>消息通知</span></div>', 1)),
|
|
79
|
+
e("div", N, [
|
|
80
80
|
h.value > 0 ? (r(), n("span", L, s(h.value), 1)) : c("", !0),
|
|
81
|
-
|
|
81
|
+
e("button", {
|
|
82
82
|
class: "mark-read",
|
|
83
83
|
type: "button",
|
|
84
|
-
onClick:
|
|
84
|
+
onClick: C
|
|
85
85
|
}, "全部已读")
|
|
86
86
|
])
|
|
87
87
|
]),
|
|
88
|
-
|
|
89
|
-
(r(), n(k, null, p(u, (
|
|
90
|
-
key:
|
|
91
|
-
class: f(["tab-btn", { active:
|
|
88
|
+
e("div", T, [
|
|
89
|
+
(r(), n(k, null, p(u, (t) => e("button", {
|
|
90
|
+
key: t.key,
|
|
91
|
+
class: f(["tab-btn", { active: a.value === t.key }]),
|
|
92
92
|
type: "button",
|
|
93
|
-
onClick: (
|
|
93
|
+
onClick: (b) => a.value = t.key
|
|
94
94
|
}, [
|
|
95
|
-
B(s(
|
|
96
|
-
|
|
95
|
+
B(s(t.label) + " ", 1),
|
|
96
|
+
t.count > 0 ? (r(), n("span", z, s(t.count), 1)) : c("", !0)
|
|
97
97
|
], 10, I)), 64))
|
|
98
98
|
]),
|
|
99
|
-
|
|
100
|
-
(r(!0), n(k, null, p(v.value, (
|
|
101
|
-
key:
|
|
102
|
-
class: f(["notif-item", { unread: !
|
|
103
|
-
onClick: (
|
|
99
|
+
e("div", E, [
|
|
100
|
+
(r(!0), n(k, null, p(v.value, (t) => (r(), n("div", {
|
|
101
|
+
key: t.id,
|
|
102
|
+
class: f(["notif-item", { unread: !t.read }]),
|
|
103
|
+
onClick: (b) => m(t)
|
|
104
104
|
}, [
|
|
105
|
-
|
|
105
|
+
e("div", {
|
|
106
106
|
class: "notif-icon-wrap",
|
|
107
|
-
style: j({ background:
|
|
107
|
+
style: j({ background: t.iconBg })
|
|
108
108
|
}, [
|
|
109
|
-
|
|
109
|
+
e("span", {
|
|
110
110
|
class: "notif-icon",
|
|
111
|
-
innerHTML:
|
|
111
|
+
innerHTML: t.icon
|
|
112
112
|
}, null, 8, S)
|
|
113
113
|
], 4),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
e("div", D, [
|
|
115
|
+
e("div", Z, s(t.title), 1),
|
|
116
|
+
e("div", $, s(t.desc), 1),
|
|
117
|
+
e("div", F, s(t.time), 1)
|
|
118
118
|
]),
|
|
119
|
-
|
|
119
|
+
t.read ? c("", !0) : (r(), n("div", O))
|
|
120
120
|
], 10, R))), 128)),
|
|
121
121
|
v.value.length === 0 ? (r(), n("div", q, [
|
|
122
|
-
l[1] || (l[1] =
|
|
123
|
-
|
|
122
|
+
l[1] || (l[1] = e("div", { class: "empty-icon" }, [
|
|
123
|
+
e("svg", {
|
|
124
124
|
viewBox: "0 0 24 24",
|
|
125
125
|
width: "32",
|
|
126
126
|
height: "32",
|
|
127
127
|
fill: "none"
|
|
128
128
|
}, [
|
|
129
|
-
|
|
129
|
+
e("path", {
|
|
130
130
|
d: "M22 12h-4l-3 9L9 3l-3 9H2",
|
|
131
131
|
stroke: "currentColor",
|
|
132
132
|
"stroke-width": "2",
|
|
@@ -135,12 +135,12 @@ const A = { class: "notif-center" }, V = { class: "notif-header" }, N = { class:
|
|
|
135
135
|
})
|
|
136
136
|
])
|
|
137
137
|
], -1)),
|
|
138
|
-
|
|
138
|
+
e("div", G, "暂无" + s(w.value) + "消息", 1)
|
|
139
139
|
])) : c("", !0)
|
|
140
140
|
])
|
|
141
141
|
]));
|
|
142
142
|
}
|
|
143
|
-
}, Q = /* @__PURE__ */ H(J, [["__scopeId", "data-v-
|
|
143
|
+
}, Q = /* @__PURE__ */ H(J, [["__scopeId", "data-v-a11268a5"]]);
|
|
144
144
|
export {
|
|
145
145
|
Q as default
|
|
146
146
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as s, openBlock as
|
|
2
|
-
import { _ as k } from "./index-
|
|
1
|
+
import { createElementBlock as s, openBlock as o, createStaticVNode as p, createElementVNode as e, Fragment as l, renderList as r, toDisplayString as a, createCommentVNode as b, normalizeStyle as f, normalizeClass as c } from "vue";
|
|
2
|
+
import { _ as k } from "./index-yp4CEGVc.js";
|
|
3
3
|
const g = { class: "order-center" }, y = { class: "stats-row" }, C = { class: "stat-value" }, B = { class: "stat-label" }, w = { class: "order-list" }, x = { class: "order-main" }, M = { class: "order-info" }, S = { class: "order-name" }, V = { class: "order-meta" }, A = { class: "order-date" }, N = { class: "order-id" }, j = { class: "order-right" }, z = { class: "order-amount" }, E = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "order-actions"
|
|
@@ -55,13 +55,13 @@ const g = { class: "order-center" }, y = { class: "stats-row" }, C = { class: "s
|
|
|
55
55
|
{ value: "1", label: "进行中" },
|
|
56
56
|
{ value: "1", label: "已完成" },
|
|
57
57
|
{ value: "1", label: "待支付" }
|
|
58
|
-
], m = (i,
|
|
59
|
-
v("action", { order: i, action:
|
|
58
|
+
], m = (i, n) => {
|
|
59
|
+
v("action", { order: i, action: n });
|
|
60
60
|
};
|
|
61
|
-
return (i,
|
|
62
|
-
|
|
61
|
+
return (i, n) => (o(), s("div", g, [
|
|
62
|
+
n[0] || (n[0] = p('<div class="order-header" data-v-8ac0e065><div class="header-left" data-v-8ac0e065><span class="header-icon" data-v-8ac0e065><svg viewBox="0 0 24 24" width="20" height="20" fill="none" data-v-8ac0e065><path d="M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-8ac0e065></path><path d="M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v0a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-8ac0e065></path><path d="M9 12h6M9 16h4" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-8ac0e065></path></svg></span><span class="header-title" data-v-8ac0e065>订单中心</span></div><button class="header-more" type="button" data-v-8ac0e065>全部订单 ›</button></div>', 1)),
|
|
63
63
|
e("div", y, [
|
|
64
|
-
(
|
|
64
|
+
(o(), s(l, null, r(_, (t) => e("div", {
|
|
65
65
|
key: t.label,
|
|
66
66
|
class: "stat-item"
|
|
67
67
|
}, [
|
|
@@ -70,7 +70,7 @@ const g = { class: "order-center" }, y = { class: "stats-row" }, C = { class: "s
|
|
|
70
70
|
])), 64))
|
|
71
71
|
]),
|
|
72
72
|
e("div", w, [
|
|
73
|
-
(
|
|
73
|
+
(o(!0), s(l, null, r(u.orders, (t) => (o(), s("div", {
|
|
74
74
|
key: t.id,
|
|
75
75
|
class: "order-item"
|
|
76
76
|
}, [
|
|
@@ -93,19 +93,19 @@ const g = { class: "order-center" }, y = { class: "stats-row" }, C = { class: "s
|
|
|
93
93
|
}, a(t.status), 3)
|
|
94
94
|
])
|
|
95
95
|
]),
|
|
96
|
-
t.actions ? (
|
|
97
|
-
(
|
|
98
|
-
key:
|
|
99
|
-
class: c(["action-btn",
|
|
96
|
+
t.actions ? (o(), s("div", E, [
|
|
97
|
+
(o(!0), s(l, null, r(t.actions, (d) => (o(), s("button", {
|
|
98
|
+
key: d.label,
|
|
99
|
+
class: c(["action-btn", d.type]),
|
|
100
100
|
type: "button",
|
|
101
|
-
onClick: (D) => m(t,
|
|
102
|
-
}, a(
|
|
101
|
+
onClick: (D) => m(t, d)
|
|
102
|
+
}, a(d.label), 11, I))), 128))
|
|
103
103
|
])) : b("", !0)
|
|
104
104
|
]))), 128))
|
|
105
105
|
])
|
|
106
106
|
]));
|
|
107
107
|
}
|
|
108
|
-
}, L = /* @__PURE__ */ k(O, [["__scopeId", "data-v-
|
|
108
|
+
}, L = /* @__PURE__ */ k(O, [["__scopeId", "data-v-8ac0e065"]]);
|
|
109
109
|
export {
|
|
110
110
|
L as default
|
|
111
111
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveComponent as d, createElementBlock as t, openBlock as a, createElementVNode as e, Fragment as g, renderList as _, normalizeStyle as
|
|
2
|
-
import { _ as u } from "./index-
|
|
1
|
+
import { resolveComponent as d, createElementBlock as t, openBlock as a, createElementVNode as e, Fragment as g, renderList as _, normalizeStyle as b, createVNode as f, toDisplayString as p } from "vue";
|
|
2
|
+
import { _ as u } from "./index-yp4CEGVc.js";
|
|
3
3
|
const k = { class: "quick-actions h-100" }, m = { class: "quick-actions-body" }, v = ["onClick"], y = { class: "action-label" }, h = {
|
|
4
4
|
__name: "QuickActions",
|
|
5
5
|
setup(q) {
|
|
@@ -22,10 +22,10 @@ const k = { class: "quick-actions h-100" }, m = { class: "quick-actions-body" },
|
|
|
22
22
|
(a(), t(g, null, _(c, (n, r) => e("div", {
|
|
23
23
|
key: r,
|
|
24
24
|
class: "action-btn",
|
|
25
|
-
style:
|
|
25
|
+
style: b({ background: n.gradient }),
|
|
26
26
|
onClick: (x) => o()
|
|
27
27
|
}, [
|
|
28
|
-
|
|
28
|
+
f(l, {
|
|
29
29
|
type: n.icon,
|
|
30
30
|
class: "action-icon"
|
|
31
31
|
}, null, 8, ["type"]),
|
|
@@ -35,7 +35,7 @@ const k = { class: "quick-actions h-100" }, m = { class: "quick-actions-body" },
|
|
|
35
35
|
]);
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
}, B = /* @__PURE__ */ u(h, [["__scopeId", "data-v-
|
|
38
|
+
}, B = /* @__PURE__ */ u(h, [["__scopeId", "data-v-957346bb"]]);
|
|
39
39
|
export {
|
|
40
40
|
B as default
|
|
41
41
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as _, createElementBlock as l, openBlock as c, createElementVNode as e, Fragment as b, renderList as m, normalizeStyle as n, createVNode as C, toDisplayString as u } from "vue";
|
|
2
|
-
import { _ as y } from "./index-
|
|
2
|
+
import { _ as y } from "./index-yp4CEGVc.js";
|
|
3
3
|
const g = { class: "quick-actions-panel" }, k = { class: "panel-body" }, v = ["onClick"], h = { class: "action-label" }, A = {
|
|
4
4
|
__name: "QuickActionsPanel",
|
|
5
5
|
props: {
|
|
@@ -48,7 +48,7 @@ const g = { class: "quick-actions-panel" }, k = { class: "panel-body" }, v = ["o
|
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}, D = /* @__PURE__ */ y(A, [["__scopeId", "data-v-
|
|
51
|
+
}, D = /* @__PURE__ */ y(A, [["__scopeId", "data-v-d567ca99"]]);
|
|
52
52
|
export {
|
|
53
53
|
D as default
|
|
54
54
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject as g, resolveComponent as f, createElementBlock as c, openBlock as o, createElementVNode as t, Fragment as p, renderList as m, unref as k, normalizeStyle as b, createVNode as h, toDisplayString as v } from "vue";
|
|
2
2
|
import { useRouter as q } from "vue-router";
|
|
3
|
-
import { _ as y } from "./index-
|
|
3
|
+
import { _ as y } from "./index-yp4CEGVc.js";
|
|
4
4
|
const B = { class: "quick-menu h-100" }, C = { class: "quick-menu-body" }, x = ["onClick"], E = { class: "quick-menu-label" }, M = {
|
|
5
5
|
__name: "QuickMenu",
|
|
6
6
|
setup(N) {
|
|
@@ -42,7 +42,7 @@ const B = { class: "quick-menu h-100" }, C = { class: "quick-menu-body" }, x = [
|
|
|
42
42
|
]);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
}, z = /* @__PURE__ */ y(M, [["__scopeId", "data-v-
|
|
45
|
+
}, z = /* @__PURE__ */ y(M, [["__scopeId", "data-v-fba00bca"]]);
|
|
46
46
|
export {
|
|
47
47
|
z as default
|
|
48
48
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as n, resolveComponent as p, createElementBlock as s, openBlock as r, createElementVNode as a, createStaticVNode as
|
|
2
|
-
import { _ as y } from "./index-
|
|
1
|
+
import { ref as n, resolveComponent as p, createElementBlock as s, openBlock as r, createElementVNode as a, createStaticVNode as l, createVNode as f, createTextVNode as o, withCtx as h, Fragment as k, renderList as b, normalizeClass as m, toDisplayString as w } from "vue";
|
|
2
|
+
import { _ as y } from "./index-yp4CEGVc.js";
|
|
3
3
|
const g = { class: "cart h-100" }, C = { class: "drawer" }, M = { class: "drawer-top" }, _ = { class: "drawer-tabs" }, x = ["onClick"], B = { class: "drawer-content" }, j = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "order-card"
|
|
@@ -9,24 +9,24 @@ const g = { class: "cart h-100" }, C = { class: "drawer" }, M = { class: "drawer
|
|
|
9
9
|
}, H = {
|
|
10
10
|
__name: "ShoppingCart",
|
|
11
11
|
setup(N) {
|
|
12
|
-
const d = n(!1),
|
|
12
|
+
const d = n(!1), v = [
|
|
13
13
|
{ key: "valid", label: "生效课程" },
|
|
14
14
|
{ key: "refund", label: "退课课程" },
|
|
15
15
|
{ key: "unpaid", label: "待支付课程" },
|
|
16
16
|
{ key: "detail", label: "选课明细" }
|
|
17
|
-
], i = n("refund"),
|
|
17
|
+
], i = n("refund"), c = () => {
|
|
18
18
|
d.value = !0;
|
|
19
19
|
};
|
|
20
|
-
return (S,
|
|
20
|
+
return (S, t) => {
|
|
21
21
|
const u = p("a-drawer");
|
|
22
22
|
return r(), s("div", g, [
|
|
23
23
|
a("div", { class: "cart-header" }, [
|
|
24
|
-
|
|
24
|
+
t[3] || (t[3] = l('<div class="cart-title" data-v-a68313f5><span class="cart-icon" aria-hidden="true" data-v-a68313f5><svg viewBox="0 0 24 24" width="20" height="20" fill="none" data-v-a68313f5><path d="M7.2 6.4H21l-1.4 7.4a2 2 0 0 1-2 1.6H9.1a2 2 0 0 1-2-1.6L5.7 4.5H3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-a68313f5></path><path d="M10 20a1.2 1.2 0 1 0 0-2.4A1.2 1.2 0 0 0 10 20ZM17.5 20a1.2 1.2 0 1 0 0-2.4 1.2 1.2 0 0 0 0 2.4Z" fill="currentColor" data-v-a68313f5></path></svg></span><span class="cart-title-text" data-v-a68313f5>购物车</span></div>', 1)),
|
|
25
25
|
a("button", {
|
|
26
26
|
class: "order-btn",
|
|
27
27
|
type: "button",
|
|
28
|
-
onClick:
|
|
29
|
-
}, [...
|
|
28
|
+
onClick: c
|
|
29
|
+
}, [...t[2] || (t[2] = [
|
|
30
30
|
a("span", {
|
|
31
31
|
class: "order-btn-icon",
|
|
32
32
|
"aria-hidden": "true"
|
|
@@ -54,36 +54,36 @@ const g = { class: "cart h-100" }, C = { class: "drawer" }, M = { class: "drawer
|
|
|
54
54
|
o(" 我的订单 ", -1)
|
|
55
55
|
])])
|
|
56
56
|
]),
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
t[7] || (t[7] = l('<div class="cart-body" data-v-a68313f5><div class="course-card" data-v-a68313f5><div class="course-left" data-v-a68313f5><div class="course-img" data-v-a68313f5></div><span class="course-tag" data-v-a68313f5>夏冬令营</span></div><div class="course-mid" data-v-a68313f5><div class="course-name" data-v-a68313f5>AI机器人挑战·勇闯冰雪世界</div><div class="course-sub" data-v-a68313f5>要有基础的计算机操作能力</div><div class="course-date" data-v-a68313f5><span class="tiny-icon" aria-hidden="true" data-v-a68313f5><svg viewBox="0 0 24 24" width="14" height="14" fill="none" data-v-a68313f5><path d="M7 3v3M17 3v3M4.5 9h15" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-a68313f5></path><path d="M6.5 6h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z" stroke="currentColor" stroke-width="2" stroke-linejoin="round" data-v-a68313f5></path></svg></span> 04-22~04-30 </div><div class="course-price" data-v-a68313f5>¥6888</div></div><button class="course-del" type="button" title="移除" data-v-a68313f5><span aria-hidden="true" data-v-a68313f5><svg viewBox="0 0 24 24" width="18" height="18" fill="none" data-v-a68313f5><path d="M4 7h16" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-a68313f5></path><path d="M10 11v7M14 11v7" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-a68313f5></path><path d="M6 7l1 14h10l1-14" stroke="currentColor" stroke-width="2" stroke-linejoin="round" data-v-a68313f5></path><path d="M9 7V4h6v3" stroke="currentColor" stroke-width="2" stroke-linejoin="round" data-v-a68313f5></path></svg></span></button></div><div class="summary" data-v-a68313f5><div class="summary-left" data-v-a68313f5><div class="summary-title" data-v-a68313f5>合计(1门课程)</div><div class="summary-total" data-v-a68313f5>¥6888</div></div><button class="checkout" type="button" data-v-a68313f5> 去结算 <span class="chev" aria-hidden="true" data-v-a68313f5>›</span></button></div><div class="refund-head" data-v-a68313f5><div class="refund-title" data-v-a68313f5><span class="refund-icon" aria-hidden="true" data-v-a68313f5>⟲</span> 退课课程 </div><div class="refund-tip" data-v-a68313f5><span class="tip-dot" aria-hidden="true" data-v-a68313f5>i</span> 退课费用可抵扣选课费用 </div></div><div class="refund-card" data-v-a68313f5><div class="refund-left" data-v-a68313f5><div class="refund-img" data-v-a68313f5></div><span class="refund-tag" data-v-a68313f5>兴趣课</span></div><div class="refund-mid" data-v-a68313f5><div class="refund-name" data-v-a68313f5>钢琴</div><div class="refund-sub" data-v-a68313f5>一周两次</div><div class="refund-price" data-v-a68313f5> ¥4800 <span class="refund-deduct" data-v-a68313f5>可抵扣</span></div></div><button class="refund-action" type="button" title="撤销" data-v-a68313f5><span aria-hidden="true" data-v-a68313f5><svg viewBox="0 0 24 24" width="18" height="18" fill="none" data-v-a68313f5><path d="M7 7H4v3" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-a68313f5></path><path d="M4.5 10.5A8 8 0 1 0 7 7" stroke="currentColor" stroke-width="2" stroke-linecap="round" data-v-a68313f5></path></svg></span></button></div></div>', 1)),
|
|
58
|
+
f(u, {
|
|
59
59
|
open: d.value,
|
|
60
|
-
"onUpdate:open":
|
|
60
|
+
"onUpdate:open": t[1] || (t[1] = (e) => d.value = e),
|
|
61
61
|
placement: "bottom",
|
|
62
62
|
height: "78vh",
|
|
63
63
|
closable: !1,
|
|
64
64
|
"body-style": { padding: 0 }
|
|
65
65
|
}, {
|
|
66
|
-
default:
|
|
66
|
+
default: h(() => [
|
|
67
67
|
a("div", C, [
|
|
68
68
|
a("div", M, [
|
|
69
69
|
a("button", {
|
|
70
70
|
class: "drawer-close",
|
|
71
71
|
type: "button",
|
|
72
|
-
onClick:
|
|
72
|
+
onClick: t[0] || (t[0] = (e) => d.value = !1),
|
|
73
73
|
"aria-label": "关闭"
|
|
74
74
|
}, " × "),
|
|
75
|
-
|
|
75
|
+
t[4] || (t[4] = a("div", { class: "drawer-title" }, "我的订单", -1))
|
|
76
76
|
]),
|
|
77
77
|
a("div", _, [
|
|
78
|
-
(r(), s(
|
|
79
|
-
key:
|
|
78
|
+
(r(), s(k, null, b(v, (e) => a("button", {
|
|
79
|
+
key: e.key,
|
|
80
80
|
type: "button",
|
|
81
|
-
class: m(["drawer-tab", { active: i.value ===
|
|
82
|
-
onClick: (A) => i.value =
|
|
83
|
-
}, w(
|
|
81
|
+
class: m(["drawer-tab", { active: i.value === e.key }]),
|
|
82
|
+
onClick: (A) => i.value = e.key
|
|
83
|
+
}, w(e.label), 11, x)), 64))
|
|
84
84
|
]),
|
|
85
85
|
a("div", B, [
|
|
86
|
-
i.value === "refund" ? (r(), s("div", j, [...
|
|
86
|
+
i.value === "refund" ? (r(), s("div", j, [...t[5] || (t[5] = [
|
|
87
87
|
a("div", { class: "order-name" }, "钢琴", -1),
|
|
88
88
|
a("div", { class: "order-row" }, [
|
|
89
89
|
a("div", { class: "order-thumb" }),
|
|
@@ -119,7 +119,7 @@ const g = { class: "cart h-100" }, C = { class: "drawer" }, M = { class: "drawer
|
|
|
119
119
|
o(" 撤销 ")
|
|
120
120
|
])
|
|
121
121
|
], -1)
|
|
122
|
-
])])) : (r(), s("div", V, [...
|
|
122
|
+
])])) : (r(), s("div", V, [...t[6] || (t[6] = [
|
|
123
123
|
a("div", { class: "empty-text" }, "暂无数据(示例组件)", -1)
|
|
124
124
|
])]))
|
|
125
125
|
])
|
|
@@ -130,7 +130,7 @@ const g = { class: "cart h-100" }, C = { class: "drawer" }, M = { class: "drawer
|
|
|
130
130
|
]);
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
}, D = /* @__PURE__ */ y(H, [["__scopeId", "data-v-
|
|
133
|
+
}, D = /* @__PURE__ */ y(H, [["__scopeId", "data-v-a68313f5"]]);
|
|
134
134
|
export {
|
|
135
135
|
D as default
|
|
136
136
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as l, openBlock as e, createElementVNode as t, Fragment as d, renderList as c, normalizeStyle as n, createTextVNode as v, toDisplayString as s, normalizeClass as u } from "vue";
|
|
2
|
-
import { _ as i } from "./index-
|
|
2
|
+
import { _ as i } from "./index-yp4CEGVc.js";
|
|
3
3
|
const _ = { class: "stat-card h-100" }, b = { class: "stat-card-body" }, p = { class: "stat-row" }, f = { class: "stat-label" }, h = { class: "stat-row" }, y = { class: "stat-label" }, k = {
|
|
4
4
|
__name: "StatCard",
|
|
5
5
|
setup(w) {
|
|
@@ -54,7 +54,7 @@ const _ = { class: "stat-card h-100" }, b = { class: "stat-card-body" }, p = { c
|
|
|
54
54
|
])
|
|
55
55
|
]));
|
|
56
56
|
}
|
|
57
|
-
}, g = /* @__PURE__ */ i(k, [["__scopeId", "data-v-
|
|
57
|
+
}, g = /* @__PURE__ */ i(k, [["__scopeId", "data-v-f397c433"]]);
|
|
58
58
|
export {
|
|
59
59
|
g as default
|
|
60
60
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolveComponent as l, createElementBlock as s, openBlock as a, createVNode as v, withCtx as c, Fragment as m, renderList as
|
|
2
|
-
import { _ as w } from "./index-
|
|
3
|
-
const k = { class: "stat-cards" },
|
|
1
|
+
import { resolveComponent as l, createElementBlock as s, openBlock as a, createVNode as v, withCtx as c, Fragment as m, renderList as f, createBlock as i, createElementVNode as e, normalizeStyle as g, toDisplayString as n, normalizeClass as y, createCommentVNode as _ } from "vue";
|
|
2
|
+
import { _ as w } from "./index-yp4CEGVc.js";
|
|
3
|
+
const k = { class: "stat-cards" }, b = { class: "d-flex align-items-start justify-content-between" }, x = { class: "stat-content" }, C = { class: "stat-label" }, B = { class: "stat-value" }, z = { key: 1 }, S = { class: "stat-compare text-truncate" }, N = {
|
|
4
4
|
key: 0,
|
|
5
5
|
width: "16",
|
|
6
6
|
height: "16",
|
|
@@ -35,7 +35,7 @@ const k = { class: "stat-cards" }, x = { class: "d-flex align-items-start justif
|
|
|
35
35
|
return a(), s("div", k, [
|
|
36
36
|
v(h, { gutter: 16 }, {
|
|
37
37
|
default: c(() => [
|
|
38
|
-
(a(!0), s(m, null,
|
|
38
|
+
(a(!0), s(m, null, f(r.stats, (t, d) => (a(), i(u, {
|
|
39
39
|
key: d,
|
|
40
40
|
xs: 24,
|
|
41
41
|
sm: 12,
|
|
@@ -45,10 +45,10 @@ const k = { class: "stat-cards" }, x = { class: "d-flex align-items-start justif
|
|
|
45
45
|
default: c(() => [
|
|
46
46
|
e("div", {
|
|
47
47
|
class: "stat-card",
|
|
48
|
-
style:
|
|
48
|
+
style: g({ animationDelay: `${d * 80}ms` })
|
|
49
49
|
}, [
|
|
50
|
-
e("div",
|
|
51
|
-
e("div",
|
|
50
|
+
e("div", b, [
|
|
51
|
+
e("div", x, [
|
|
52
52
|
e("div", C, n(t.label), 1),
|
|
53
53
|
e("div", B, [
|
|
54
54
|
r.loading ? (a(), i(p, {
|
|
@@ -85,7 +85,7 @@ const k = { class: "stat-cards" }, x = { class: "d-flex align-items-start justif
|
|
|
85
85
|
]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
}, A = /* @__PURE__ */ w(E, [["__scopeId", "data-v-
|
|
88
|
+
}, A = /* @__PURE__ */ w(E, [["__scopeId", "data-v-eb6b9f9d"]]);
|
|
89
89
|
export {
|
|
90
90
|
A as default
|
|
91
91
|
};
|