@yeez-tech/user-my-order 0.1.7 → 0.1.9
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/README.md +9 -0
- package/dist/user-my-order.cjs +1 -1
- package/dist/user-my-order.css +1 -1
- package/dist/user-my-order.js +320 -216
- package/package.json +2 -2
- package/typings/index.d.ts +43 -0
package/dist/user-my-order.js
CHANGED
|
@@ -1,33 +1,111 @@
|
|
|
1
1
|
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, openBlock as d, ref as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, watch as _, withCtx as v, withModifiers as y } from "vue";
|
|
2
|
-
import { ChevronDown as b, ChevronLeft as x, ChevronRight as S, ChevronUp as ee, Download as C, FileText as w, Folder as T, MessageSquare as
|
|
3
|
-
import { Modal as
|
|
2
|
+
import { ChevronDown as b, ChevronLeft as x, ChevronRight as S, ChevronUp as ee, Download as C, FileText as w, Folder as T, MessageSquare as te, Pause as ne, Play as E } from "lucide-vue-next";
|
|
3
|
+
import { Modal as D, Tooltip as O } from "@arco-design/web-vue";
|
|
4
|
+
//#region src/types/order.ts
|
|
5
|
+
function k(e) {
|
|
6
|
+
let t = e?.metadata;
|
|
7
|
+
if (!t) return !1;
|
|
8
|
+
if (typeof t.isControllableDelivery == "boolean") return t.isControllableDelivery;
|
|
9
|
+
let n = t.securityLevel;
|
|
10
|
+
return n === "SL_SECURED" || n === "SL_ADJUSTING";
|
|
11
|
+
}
|
|
12
|
+
function A(e, t) {
|
|
13
|
+
return !t?.enabled || !t.src ? !1 : typeof t.isControllable == "function" ? t.isControllable(e) : k(e);
|
|
14
|
+
}
|
|
15
|
+
var j = [
|
|
16
|
+
{
|
|
17
|
+
id: "idle",
|
|
18
|
+
label: "下载数据",
|
|
19
|
+
role: "idle"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: "preparing",
|
|
23
|
+
label: "资源加载中...",
|
|
24
|
+
role: "in_progress",
|
|
25
|
+
barTone: "blue"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: "downloading",
|
|
29
|
+
label: "下载中...",
|
|
30
|
+
role: "in_progress",
|
|
31
|
+
barTone: "blue"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "paused",
|
|
35
|
+
label: "下载已暂停",
|
|
36
|
+
role: "paused",
|
|
37
|
+
barTone: "blue"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "decrypting",
|
|
41
|
+
label: "解密中...",
|
|
42
|
+
role: "in_progress",
|
|
43
|
+
barTone: "green"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "completed",
|
|
47
|
+
label: "下载完成",
|
|
48
|
+
role: "completed"
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
function M(e, t = j) {
|
|
52
|
+
return t.find((t) => t.id === e) || (e === "paused" ? {
|
|
53
|
+
id: e,
|
|
54
|
+
label: e,
|
|
55
|
+
role: "paused",
|
|
56
|
+
barTone: "blue"
|
|
57
|
+
} : e === "completed" ? {
|
|
58
|
+
id: e,
|
|
59
|
+
label: e,
|
|
60
|
+
role: "completed"
|
|
61
|
+
} : e === "idle" ? {
|
|
62
|
+
id: e,
|
|
63
|
+
label: e,
|
|
64
|
+
role: "idle"
|
|
65
|
+
} : {
|
|
66
|
+
id: e,
|
|
67
|
+
label: e,
|
|
68
|
+
role: "in_progress",
|
|
69
|
+
barTone: "blue"
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
4
73
|
//#region src/assets/icons/refund-apply.svg?url
|
|
5
|
-
var
|
|
74
|
+
var N = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_469_5060)'%3e%3cpath%20d='M9.05029%207.46143C9.22046%207.46143%209.38407%207.52958%209.50439%207.6499C9.62457%207.77013%209.69179%207.93305%209.69189%208.10303V12.2085C9.69313%2012.2935%209.67768%2012.3786%209.646%2012.4575C9.61431%2012.5363%209.56696%2012.608%209.50732%2012.6685C9.44765%2012.729%209.37675%2012.7773%209.29834%2012.8101C9.21989%2012.8429%209.13532%2012.8599%209.05029%2012.8599C8.96591%2012.8598%208.88212%2012.8434%208.8042%2012.811C8.72618%2012.7786%208.65579%2012.7303%208.59619%2012.6704C8.5366%2012.6105%208.48957%2012.5396%208.45752%2012.4614C8.42549%2012.3833%208.40831%2012.2998%208.40869%2012.2153V8.10303C8.40879%207.93301%208.47694%207.77013%208.59717%207.6499C8.7174%207.52967%208.88027%207.46153%209.05029%207.46143Z'%20fill='%234749AD'%20stroke='white'%20stroke-width='0.2'/%3e%3cpath%20d='M11.915%205.14648C11.9989%205.15632%2012.0805%205.18244%2012.1543%205.22363C12.2279%205.26481%2012.2924%205.32052%2012.3447%205.38672C12.3971%205.45299%2012.436%205.5291%2012.459%205.61035C12.4819%205.69154%2012.4893%205.77656%2012.4795%205.86035C12.4696%205.94418%2012.4425%206.02494%2012.4014%206.09863C12.3602%206.17233%2012.3055%206.23769%2012.2393%206.29004L9.0293%208.82715L6.04785%206.28516C5.91816%206.17487%205.83795%206.01735%205.82422%205.84766C5.81053%205.67801%205.86436%205.50954%205.97461%205.37988C6.08488%205.25032%206.24252%205.16997%206.41211%205.15625C6.58171%205.1426%206.75026%205.19642%206.87988%205.30664L9%207.10742L9.0625%207.16016L9.12695%207.10938L11.4414%205.28027C11.5077%205.22796%2011.5838%205.18902%2011.665%205.16602C11.7462%205.14305%2011.8312%205.13666%2011.915%205.14648Z'%20fill='%234749AD'%20stroke='white'%20stroke-width='0.2'/%3e%3cpath%20d='M6.83301%2010.0825H11.2002L11.3193%2010.1021C11.4363%2010.1329%2011.5433%2010.196%2011.627%2010.2856C11.7384%2010.4051%2011.7998%2010.5627%2011.7998%2010.7261C11.7998%2010.8894%2011.7384%2011.047%2011.627%2011.1665C11.5156%2011.2858%2011.363%2011.3582%2011.2002%2011.3696H6.83301C6.74472%2011.3758%206.65569%2011.364%206.57227%2011.3345C6.48896%2011.3049%206.4123%2011.2581%206.34766%2011.1978C6.28308%2011.1374%206.23152%2011.0639%206.19629%2010.9829C6.16113%2010.9019%206.14258%2010.8144%206.14258%2010.7261C6.14258%2010.6377%206.16111%2010.5503%206.19629%2010.4692C6.23153%2010.3882%206.28306%2010.3147%206.34766%2010.2544C6.41231%2010.1941%206.48894%2010.1472%206.57227%2010.1177C6.61405%2010.1029%206.65748%2010.0924%206.70117%2010.0864L6.83301%2010.0825ZM6.83984%208.23193H11.2354C11.3196%208.23193%2011.4036%208.24852%2011.4814%208.28076C11.5592%208.313%2011.6299%208.36088%2011.6895%208.42041C11.7489%208.47994%2011.7959%208.55068%2011.8281%208.62842C11.8603%208.70614%2011.8769%208.78941%2011.877%208.87354C11.877%208.95779%2011.8604%209.04179%2011.8281%209.11963C11.7959%209.19734%2011.7489%209.26813%2011.6895%209.32764C11.63%209.3871%2011.5591%209.43407%2011.4814%209.46631C11.4036%209.49855%2011.3196%209.51514%2011.2354%209.51514H6.83984C6.75567%209.51513%206.6725%209.4985%206.59473%209.46631C6.51699%209.43411%206.44624%209.3871%206.38672%209.32764C6.32717%209.26809%206.27931%209.19743%206.24707%209.11963C6.21483%209.04179%206.19824%208.95779%206.19824%208.87354C6.19829%208.78943%206.21489%208.70612%206.24707%208.62842C6.27931%208.55058%206.32714%208.47999%206.38672%208.42041C6.44627%208.3609%206.51695%208.31298%206.59473%208.28076C6.67242%208.24864%206.75577%208.23195%206.83984%208.23193Z'%20fill='%234749AD'%20stroke='white'%20stroke-width='0.2'/%3e%3cpath%20d='M5.15723%201.81152C6.75958%200.954924%208.60233%200.658391%2010.3926%200.96875C12.183%201.2792%2013.8186%202.17916%2015.0391%203.52539C16.2596%204.87162%2016.9949%206.58723%2017.1289%208.39941C17.2628%2010.2115%2016.7875%2012.0163%2015.7783%2013.5273C15.6716%2013.6776%2015.5104%2013.7808%2015.3291%2013.8145C15.1471%2013.8482%2014.9586%2013.8099%2014.8047%2013.707C14.6508%2013.6041%2014.5433%2013.4448%2014.5049%2013.2637C14.4667%2013.0831%2014.5004%2012.8945%2014.5986%2012.7383C15.4738%2011.4275%2015.8611%209.8513%2015.6934%208.28418C15.5255%206.71683%2014.8128%205.25794%2013.6797%204.16211C12.5466%203.06633%2011.0652%202.40243%209.49316%202.28711C7.92107%202.17178%206.35804%202.61251%205.07715%203.53125C3.79658%204.44991%202.87914%205.78869%202.48438%207.31445C2.08961%208.84054%202.24227%2010.4572%202.91699%2011.8818C3.59167%2013.3063%204.7451%2014.4489%206.17578%2015.1104C7.6066%2015.7718%209.22472%2015.9099%2010.7471%2015.501H10.748C10.8382%2015.4757%2010.9324%2015.4684%2011.0254%2015.4795C11.1183%2015.4906%2011.2084%2015.5196%2011.29%2015.5654C11.3717%2015.6113%2011.4431%2015.6735%2011.501%2015.7471C11.5589%2015.8207%2011.6017%2015.9049%2011.627%2015.9951C11.6522%2016.0853%2011.6596%2016.1795%2011.6484%2016.2725C11.6373%2016.3654%2011.6084%2016.4555%2011.5625%2016.5371C11.5166%2016.6188%2011.4545%2016.6902%2011.3809%2016.748C11.3072%2016.8059%2011.223%2016.8487%2011.1328%2016.874C10.437%2017.0586%209.71991%2017.152%209%2017.1514C7.18299%2017.1513%205.41783%2016.5446%203.98535%2015.4268C2.55291%2014.3089%201.5354%2012.7439%201.09375%2010.9814C0.652154%209.21879%200.811584%207.35855%201.54785%205.69727C2.28413%204.03603%203.55478%202.66824%205.15723%201.81152Z'%20fill='%234749AD'%20stroke='white'%20stroke-width='0.2'/%3e%3cpath%20d='M13.8989%2011.48C13.9954%2011.4801%2014.0916%2011.5003%2014.1802%2011.5386C14.2686%2011.5768%2014.3484%2011.6326%2014.4146%2011.7026C14.4808%2011.7728%2014.5318%2011.8561%2014.5649%2011.9468L14.5669%2011.9517L15.1177%2013.2368L15.1577%2013.3286L15.2495%2013.2896L16.5347%2012.7388C16.6204%2012.7021%2016.7129%2012.6822%2016.8062%2012.6812C16.8993%2012.6802%2016.9921%2012.6982%2017.0786%2012.7329C17.165%2012.7676%2017.2435%2012.8192%2017.3101%2012.8843C17.3768%2012.9495%2017.4306%2013.027%2017.4673%2013.1128C17.5039%2013.1985%2017.5229%2013.2911%2017.5239%2013.3843C17.5249%2013.4775%2017.5078%2013.5703%2017.4731%2013.6567C17.4385%2013.7431%2017.3868%2013.8216%2017.3218%2013.8882C17.2892%2013.9215%2017.2536%2013.9518%2017.2153%2013.978L17.0933%2014.0454L15.0806%2014.9126C14.9905%2014.9502%2014.894%2014.9694%2014.7964%2014.9692H14.7944C14.654%2014.9717%2014.5159%2014.9323%2014.3979%2014.856C14.28%2014.7796%2014.1875%2014.6698%2014.1323%2014.5405L13.2642%2012.5103L13.2622%2012.5054L13.2114%2012.3706C13.1992%2012.3241%2013.1915%2012.2763%2013.189%2012.228C13.1839%2012.1317%2013.1986%2012.0353%2013.2319%2011.9448C13.2653%2011.8544%2013.317%2011.7716%2013.3833%2011.7017C13.4498%2011.6317%2013.53%2011.5756%2013.6187%2011.5376C13.7072%2011.4997%2013.8026%2011.4799%2013.8989%2011.48Z'%20fill='%234749AD'%20stroke='white'%20stroke-width='0.2'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_469_5060'%3e%3crect%20width='18'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", P = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.6302%205.86255L15.0705%202.09605C14.9904%201.90146%2014.8541%201.73514%2014.6791%201.61829C14.504%201.50144%2014.2982%201.43935%2014.0877%201.43995H4.00771C3.57661%201.43995%203.1914%201.69734%203.0258%202.09605L1.4643%205.86255C1.4103%205.99215%201.3833%206.12895%201.3833%206.27024V15.6392C1.3833%2016.2252%201.8603%2016.7022%202.44621%2016.7022H15.6483C16.2342%2016.7022%2016.7112%2016.2252%2016.7112%2015.6392V6.26936C16.7112%206.12896%2016.6842%205.99215%2016.6302%205.86257V5.86255ZM4.0203%202.51995H14.0778L15.3828%205.66995H2.71351L4.0203%202.51995ZM2.4633%2015.6212L2.46151%206.74995H15.6312V15.6212H2.4633Z'%20fill='%234749AD'/%3e%3cpath%20d='M10.3598%2013.9039H6.05957V12.8239H10.3598C10.9853%2012.8239%2011.4947%2012.3145%2011.4947%2011.689C11.4947%2011.0635%2010.9853%2010.5541%2010.3598%2010.5541H6.16307V9.60455L8.02426%207.76855L8.78297%208.53716L7.83347%209.47407H10.3598C11.5811%209.47407%2012.5747%2010.4677%2012.5747%2011.689C12.5747%2012.9103%2011.5811%2013.9039%2010.3598%2013.9039Z'%20fill='%234749AD'/%3e%3c/svg%3e", re = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='9'%20cy='9'%20r='6.25'%20stroke='%234749AD'%20stroke-width='1.5'%20fill='none'/%3e%3cpath%20d='M5.6%205.6L12.4%2012.4'%20stroke='%234749AD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", ie = { class: "prepaid-orders space-y-6 bg-[#ffffff] font-[PingFangSC]" }, ae = {
|
|
6
75
|
key: 0,
|
|
7
76
|
class: "space-y-6"
|
|
8
|
-
},
|
|
77
|
+
}, oe = ["onClick"], se = { class: "flex flex-col md:flex-row md:items-center md:justify-between gap-2" }, ce = { class: "flex flex-wrap items-center gap-4" }, le = { class: "text-[12px] font-medium text-[#262626]" }, ue = { class: "text-[12px] font-medium text-[#262626]" }, de = {
|
|
9
78
|
key: 0,
|
|
10
79
|
class: "text-[12px] font-medium text-[#262626]"
|
|
11
|
-
},
|
|
80
|
+
}, F = ["onClick"], I = { class: "flex items-center gap-4" }, L = { class: "text-[12px] font-medium text-[#262626]" }, fe = { class: "relative" }, R = ["onClick"], z = { class: "flex items-start gap-4" }, B = { class: "w-12 h-12 rounded overflow-hidden flex-shrink-0" }, pe = ["src", "alt"], me = { class: "flex-1 min-w-0" }, he = { class: "flex flex-col md:flex-row md:items-center md:justify-between gap-2" }, ge = { class: "min-w-0 max-w-[480px] flex items-center" }, _e = ["title"], ve = ["src", "alt"], ye = { class: "flex items-center gap-4" }, be = {
|
|
12
81
|
key: 0,
|
|
13
82
|
class: "flex-1 max-w-[500px] min-w-[300px]"
|
|
14
|
-
},
|
|
83
|
+
}, xe = { class: "flex flex-col gap-1" }, Se = { class: "flex items-center justify-between" }, Ce = { class: "text-xs font-medium text-[#262626]" }, we = {
|
|
15
84
|
key: 0,
|
|
16
85
|
class: "text-xs font-medium text-[#262626]"
|
|
17
|
-
},
|
|
86
|
+
}, Te = { class: "w-full h-2 bg-slate-100 rounded-full overflow-hidden relative" }, Ee = { class: "absolute inset-0 flex items-center justify-center pointer-events-none" }, De = { class: "text-[10px] font-medium text-slate-600" }, Oe = { class: "text-[10px] font-medium text-white" }, ke = { class: "flex items-center justify-between" }, Ae = {
|
|
87
|
+
key: 0,
|
|
88
|
+
class: "text-xs font-medium text-[#262626]"
|
|
89
|
+
}, je = {
|
|
90
|
+
key: 1,
|
|
91
|
+
class: "text-xs font-medium text-[#262626]"
|
|
92
|
+
}, Me = {
|
|
93
|
+
key: 2,
|
|
94
|
+
class: "text-xs font-medium text-[#262626]"
|
|
95
|
+
}, Ne = { class: "flex items-center gap-2" }, Pe = {
|
|
18
96
|
key: 0,
|
|
19
97
|
class: "flex items-center gap-2 mr-4"
|
|
20
|
-
},
|
|
98
|
+
}, Fe = { class: "text-xs font-medium text-[#262626]" }, Ie = { class: "flex items-center gap-2 justify-end" }, Le = ["onClick"], Re = ["onClick"], ze = ["src"], Be = ["onClick"], Ve = ["onClick"], He = ["src"], Ue = ["onClick"], We = ["src"], Ge = {
|
|
21
99
|
key: 0,
|
|
22
100
|
class: "absolute bottom-0 left-0 right-0 h-12 bg-gradient-to-t from-[#ffffff] to-transparent pointer-events-none"
|
|
23
|
-
},
|
|
101
|
+
}, Ke = {
|
|
24
102
|
key: 1,
|
|
25
103
|
class: "bg-[#ffffff] p-10 rounded-[8px] shadow-sm flex flex-col items-center justify-center text-center",
|
|
26
104
|
style: { border: "1px solid #E5E6E9" }
|
|
27
|
-
},
|
|
105
|
+
}, qe = { class: "w-16 h-16 rounded-full bg-slate-50 flex items-center justify-center text-slate-400 mb-4" }, Je = {
|
|
28
106
|
key: 2,
|
|
29
107
|
class: "flex items-center justify-center gap-2 mt-6"
|
|
30
|
-
},
|
|
108
|
+
}, Ye = ["disabled"], Xe = { class: "text-sm font-bold text-[#262626]" }, Ze = ["disabled"], V = /* @__PURE__ */ c({
|
|
31
109
|
__name: "PrepaidOrders",
|
|
32
110
|
props: {
|
|
33
111
|
orders: {},
|
|
@@ -38,9 +116,12 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
38
116
|
isServerPagination: { type: Boolean },
|
|
39
117
|
downloadStates: {},
|
|
40
118
|
downloadStatusText: {},
|
|
119
|
+
downloadPhases: {},
|
|
41
120
|
downloadButtonVisible: {},
|
|
42
121
|
contactSellerButtonVisible: {},
|
|
43
|
-
|
|
122
|
+
cancelDownloadButtonVisible: {},
|
|
123
|
+
refundStates: {},
|
|
124
|
+
controllableDeliveryTag: {}
|
|
44
125
|
},
|
|
45
126
|
emits: [
|
|
46
127
|
"page-change",
|
|
@@ -49,94 +130,98 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
49
130
|
"download",
|
|
50
131
|
"pause-download",
|
|
51
132
|
"resume-download",
|
|
133
|
+
"cancel-download",
|
|
52
134
|
"open-file",
|
|
53
135
|
"contact-seller",
|
|
54
136
|
"request-refund",
|
|
55
137
|
"request-after-sales"
|
|
56
138
|
],
|
|
57
|
-
setup(
|
|
58
|
-
let
|
|
59
|
-
|
|
60
|
-
}, U = {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
decrypting: "解密中...",
|
|
66
|
-
completed: "下载完成"
|
|
67
|
-
}, W = (e, t) => m.downloadStates?.[`${e}-${t}`], G = (e) => m.downloadStatusText?.[e] || U[e], Ve = (e, t) => {
|
|
68
|
-
let n = W(e, t);
|
|
139
|
+
setup(c, { emit: m }) {
|
|
140
|
+
let _ = c, b = m, ee = (e) => e ? e.substring(0, 16) : "--", k = (e, t) => {
|
|
141
|
+
b("view-product", e, t);
|
|
142
|
+
}, V = t(() => _.downloadPhases ?? j), H = (e, t) => _.downloadStates?.[`${e}-${t}`], U = (e) => M(e.status, V.value), W = (e) => U(e).role, G = (e) => {
|
|
143
|
+
let t = W(e);
|
|
144
|
+
return t === "in_progress" || t === "paused";
|
|
145
|
+
}, Qe = (e) => (U(e).barTone ?? "blue") === "green" ? "bg-green-600" : "bg-blue-600", $e = (e) => _.downloadStatusText?.[e] || M(e, V.value).label, K = (e) => typeof e.statusText == "string" && e.statusText.length > 0 ? e.statusText : $e(e.status), et = (e) => e.showBytes !== !1, tt = (e) => e.showEta !== !1, nt = (e) => typeof e.showSpeed == "boolean" ? e.showSpeed : e.status === "downloading" || W(e) === "paused", rt = (e, t) => {
|
|
146
|
+
let n = H(e, t);
|
|
69
147
|
if (!n) return "0.00";
|
|
70
148
|
let r = Number.parseFloat(n.fileSize || "0");
|
|
71
149
|
return !Number.isFinite(r) || r <= 0 ? "0.00" : (n.progress * r / 100).toFixed(2);
|
|
72
|
-
},
|
|
73
|
-
let n =
|
|
74
|
-
if (!n || n
|
|
75
|
-
|
|
150
|
+
}, it = (e, t) => {
|
|
151
|
+
let n = H(e, t);
|
|
152
|
+
if (!n || W(n) === "idle") {
|
|
153
|
+
b("download", t);
|
|
76
154
|
return;
|
|
77
155
|
}
|
|
78
|
-
if (n
|
|
79
|
-
|
|
156
|
+
if (W(n) === "paused") {
|
|
157
|
+
b("resume-download", t);
|
|
80
158
|
return;
|
|
81
159
|
}
|
|
82
|
-
if (n
|
|
83
|
-
|
|
160
|
+
if (W(n) === "completed") {
|
|
161
|
+
b("open-file", t);
|
|
84
162
|
return;
|
|
85
163
|
}
|
|
86
|
-
|
|
87
|
-
}, q = f(""), J = f(!1), Y = (e, t) =>
|
|
164
|
+
b("pause-download", t);
|
|
165
|
+
}, q = f(""), J = f(!1), Y = (e, t) => _.refundStates?.[`${e}-${t}`], at = (e) => !e.isExchange && !e.isGift, ot = (e) => {
|
|
88
166
|
let t = e.status;
|
|
89
167
|
return t !== "已退款" && t !== "退款中";
|
|
90
|
-
},
|
|
91
|
-
let n = `${e.id}-${t}`, r =
|
|
92
|
-
return r === void 0 ?
|
|
93
|
-
},
|
|
94
|
-
let n = `${e.id}-${t}`, r =
|
|
168
|
+
}, st = (e, t) => {
|
|
169
|
+
let n = `${e.id}-${t}`, r = _.downloadButtonVisible?.[n];
|
|
170
|
+
return r === void 0 ? ot(e) : r;
|
|
171
|
+
}, ct = (e, t) => {
|
|
172
|
+
let n = `${e.id}-${t}`, r = _.contactSellerButtonVisible?.[n];
|
|
95
173
|
return r === void 0 ? !0 : r;
|
|
96
|
-
},
|
|
174
|
+
}, lt = (e, t) => {
|
|
175
|
+
let n = `${e.id}-${t}`;
|
|
176
|
+
if (_.cancelDownloadButtonVisible?.[n] !== !0) return !1;
|
|
177
|
+
let r = H(e.id, t);
|
|
178
|
+
if (!r) return !1;
|
|
179
|
+
let i = W(r);
|
|
180
|
+
return i === "in_progress" || i === "paused";
|
|
181
|
+
}, X = (e) => {
|
|
97
182
|
q.value = e, J.value = !0;
|
|
98
|
-
},
|
|
183
|
+
}, ut = () => {
|
|
99
184
|
let e = q.value;
|
|
100
185
|
if (!e) {
|
|
101
|
-
|
|
186
|
+
Z();
|
|
102
187
|
return;
|
|
103
188
|
}
|
|
104
|
-
|
|
105
|
-
},
|
|
189
|
+
b("request-refund", e), Z();
|
|
190
|
+
}, Z = () => {
|
|
106
191
|
J.value = !1, q.value = "";
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
},
|
|
192
|
+
}, dt = (e) => {
|
|
193
|
+
b("request-after-sales", e);
|
|
194
|
+
}, ft = {
|
|
110
195
|
已付款: "#3B82F6",
|
|
111
196
|
待审核: "#F59E0B",
|
|
112
197
|
审核通过: "#22C55E",
|
|
113
198
|
退款中: "#3B82F6",
|
|
114
199
|
已退款: "#22C55E",
|
|
115
200
|
交易成功: "#22C55E"
|
|
116
|
-
},
|
|
201
|
+
}, pt = {
|
|
117
202
|
已付款: "已付款",
|
|
118
203
|
待审核: "待审核",
|
|
119
204
|
审核通过: "审核通过",
|
|
120
205
|
退款中: "退款中",
|
|
121
206
|
已退款: "已退款",
|
|
122
207
|
交易成功: "交易成功"
|
|
123
|
-
}, Q = (e) =>
|
|
124
|
-
return (
|
|
125
|
-
key:
|
|
208
|
+
}, Q = (e) => ft[e] || "#262626", $ = (e) => pt[e] || "";
|
|
209
|
+
return (t, f) => (d(), i(e, null, [a("section", ie, [c.orders.length > 0 ? (d(), i("div", ae, [(d(!0), i(e, null, p(c.orders, (m) => (d(), i("div", {
|
|
210
|
+
key: m.id,
|
|
126
211
|
class: "bg-[#ffffff] rounded-[8px] shadow-sm overflow-hidden transition-all duration-300 hover:shadow-md",
|
|
127
212
|
style: { border: "1px solid #E5E6E9" }
|
|
128
213
|
}, [a("div", {
|
|
129
214
|
class: "px-6 py-3 bg-[#ffffff] hover:bg-slate-50 cursor-pointer transition-all duration-200",
|
|
130
215
|
style: { "border-bottom": "1px solid #E5E6E9" },
|
|
131
|
-
onClick: (e) =>
|
|
132
|
-
}, [a("div",
|
|
133
|
-
a("h3",
|
|
134
|
-
a("span",
|
|
135
|
-
|
|
216
|
+
onClick: (e) => t.$emit("view-detail", m)
|
|
217
|
+
}, [a("div", se, [a("div", ce, [
|
|
218
|
+
a("h3", le, "订单编号:" + h(m.orderNumber || m.id), 1),
|
|
219
|
+
a("span", ue, "共 " + h(m.products.length) + " 件商品", 1),
|
|
220
|
+
m.createTime ? (d(), i("span", de, "购买时间: " + h(ee(m.createTime)), 1)) : r("", !0),
|
|
136
221
|
a("span", {
|
|
137
222
|
class: "text-[12px] font-medium text-[#4749ad] flex items-center gap-1 hover:text-[#4749ad] transition-colors",
|
|
138
|
-
onClick: y((e) =>
|
|
139
|
-
}, [...f[
|
|
223
|
+
onClick: y((e) => t.$emit("view-detail", m), ["stop"])
|
|
224
|
+
}, [...f[4] ||= [o(" 订单详情 ", -1), a("svg", {
|
|
140
225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
141
226
|
class: "h-3 w-3 text-[#4749ad]",
|
|
142
227
|
fill: "none",
|
|
@@ -147,52 +232,46 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
147
232
|
"stroke-linejoin": "round",
|
|
148
233
|
"stroke-width": "2",
|
|
149
234
|
d: "M9 5l7 7-7 7"
|
|
150
|
-
})], -1)]], 8,
|
|
151
|
-
]), a("div",
|
|
235
|
+
})], -1)]], 8, F)
|
|
236
|
+
]), a("div", I, [a("p", L, "实付金额:¥" + h(m.totalAmount.toFixed(2)), 1), $(m.status) ? (d(), i("span", {
|
|
152
237
|
key: 0,
|
|
153
238
|
class: "px-2 py-0.5 rounded-full text-[11px] font-bold min-w-[70px] text-center bg-transparent",
|
|
154
239
|
style: u({
|
|
155
|
-
color: Q(
|
|
156
|
-
border: "1px solid " + Q(
|
|
240
|
+
color: Q(m.status),
|
|
241
|
+
border: "1px solid " + Q(m.status)
|
|
157
242
|
})
|
|
158
|
-
}, h($(
|
|
243
|
+
}, h($(m.status)), 5)) : r("", !0)])])], 8, oe), a("div", fe, [a("div", { class: l({ "max-h-[360px] overflow-y-auto": m.products.length > 3 }) }, [(d(!0), i(e, null, p(m.products, (o, p) => (d(), i("div", {
|
|
159
244
|
key: o.id,
|
|
160
245
|
class: "px-6 py-4 hover:bg-slate-50 transition-all duration-200 hover:shadow-sm cursor-pointer",
|
|
161
|
-
onClick: (e) =>
|
|
162
|
-
}, [a("div",
|
|
246
|
+
onClick: (e) => k(m, o)
|
|
247
|
+
}, [a("div", z, [a("div", B, [a("img", {
|
|
163
248
|
src: o.image,
|
|
164
249
|
alt: o.name,
|
|
165
250
|
class: "w-full h-full object-cover"
|
|
166
|
-
}, null, 8,
|
|
167
|
-
class: "text-sm font-bold text-[#262626] truncate hover:text-[#3F69B4] transition-colors",
|
|
251
|
+
}, null, 8, pe)]), a("div", me, [a("div", he, [a("div", ge, [a("p", {
|
|
252
|
+
class: "text-sm font-bold text-[#262626] truncate hover:text-[#3F69B4] transition-colors min-w-0",
|
|
168
253
|
title: o.name
|
|
169
|
-
}, h(o.name), 9,
|
|
170
|
-
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
a("div",
|
|
254
|
+
}, h(o.name), 9, _e), g(A)(o, c.controllableDeliveryTag) ? (d(), i("img", {
|
|
255
|
+
key: 0,
|
|
256
|
+
class: "umo-controllable-delivery-tag",
|
|
257
|
+
src: c.controllableDeliveryTag.src,
|
|
258
|
+
alt: c.controllableDeliveryTag?.alt || "可控交付",
|
|
259
|
+
onClick: f[0] ||= y(() => {}, ["stop"])
|
|
260
|
+
}, null, 8, ve)) : r("", !0)]), a("div", ye, [H(m.id, o.id) && G(H(m.id, o.id)) ? (d(), i("div", be, [a("div", xe, [
|
|
261
|
+
a("div", Se, [a("span", Ce, h(K(H(m.id, o.id))), 1), et(H(m.id, o.id)) ? (d(), i("span", we, h(rt(m.id, o.id)) + " MB / " + h(H(m.id, o.id).fileSize), 1)) : r("", !0)]),
|
|
262
|
+
a("div", Te, [
|
|
177
263
|
a("div", {
|
|
178
|
-
class: l(["h-full transition-all duration-300 ease-in-out",
|
|
179
|
-
|
|
180
|
-
"preparing",
|
|
181
|
-
"downloading",
|
|
182
|
-
"paused"
|
|
183
|
-
].includes(W(t.id, o.id).status),
|
|
184
|
-
"bg-green-600": W(t.id, o.id).status === "decrypting"
|
|
185
|
-
}]),
|
|
186
|
-
style: u({ width: W(t.id, o.id).progress + "%" })
|
|
264
|
+
class: l(["h-full transition-all duration-300 ease-in-out", Qe(H(m.id, o.id))]),
|
|
265
|
+
style: u({ width: H(m.id, o.id).progress + "%" })
|
|
187
266
|
}, null, 6),
|
|
188
|
-
a("div",
|
|
267
|
+
a("div", Ee, [a("span", De, h(H(m.id, o.id).progress) + "% ", 1)]),
|
|
189
268
|
a("div", {
|
|
190
269
|
class: "absolute inset-0 flex items-center justify-center pointer-events-none overflow-hidden",
|
|
191
|
-
style: u({ clipPath: `inset(0 ${100 -
|
|
192
|
-
}, [a("span",
|
|
270
|
+
style: u({ clipPath: `inset(0 ${100 - H(m.id, o.id).progress}% 0 0)` })
|
|
271
|
+
}, [a("span", Oe, h(H(m.id, o.id).progress) + "% ", 1)], 4)
|
|
193
272
|
]),
|
|
194
|
-
a("div",
|
|
195
|
-
])])) : r("", !0), a("div",
|
|
273
|
+
a("div", ke, [tt(H(m.id, o.id)) ? (d(), i("span", Ae, " 预计剩余: " + h(H(m.id, o.id).estimatedTime), 1)) : (d(), i("span", je)), nt(H(m.id, o.id)) ? (d(), i("span", Me, " 下载速度: " + h(H(m.id, o.id).speed) + " MB/s ", 1)) : r("", !0)])
|
|
274
|
+
])])) : r("", !0), a("div", Ne, [H(m.id, o.id) && W(H(m.id, o.id)) === "completed" ? (d(), i("div", Pe, [f[5] ||= a("div", { class: "w-4 h-4 rounded-full bg-green-100 flex items-center justify-center" }, [a("svg", {
|
|
196
275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
197
276
|
class: "h-3 w-3 text-green-600",
|
|
198
277
|
fill: "none",
|
|
@@ -203,79 +282,89 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
203
282
|
"stroke-linejoin": "round",
|
|
204
283
|
"stroke-width": "2",
|
|
205
284
|
d: "M5 13l4 4L19 7"
|
|
206
|
-
})])], -1), a("span",
|
|
207
|
-
s(g(
|
|
208
|
-
default: v(() => [
|
|
285
|
+
})])], -1), a("span", Fe, h(K(H(m.id, o.id))), 1)])) : r("", !0), a("div", Ie, [
|
|
286
|
+
s(g(O), { content: "下载数据" }, {
|
|
287
|
+
default: v(() => [st(m, o.id) ? (d(), i("button", {
|
|
209
288
|
key: 0,
|
|
210
289
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
211
|
-
onClick: y((e) =>
|
|
212
|
-
}, [!
|
|
290
|
+
onClick: y((e) => it(m.id, o.id), ["stop"])
|
|
291
|
+
}, [!H(m.id, o.id) || W(H(m.id, o.id)) === "idle" ? (d(), n(g(C), {
|
|
213
292
|
key: 0,
|
|
214
293
|
size: "16",
|
|
215
294
|
class: "text-[#4749ad]"
|
|
216
|
-
})) :
|
|
217
|
-
"preparing",
|
|
218
|
-
"downloading",
|
|
219
|
-
"decrypting"
|
|
220
|
-
].includes(W(t.id, o.id).status) ? (d(), n(g(D), {
|
|
295
|
+
})) : W(H(m.id, o.id)) === "in_progress" ? (d(), n(g(ne), {
|
|
221
296
|
key: 1,
|
|
222
297
|
size: "16",
|
|
223
298
|
class: "text-[#4749ad]"
|
|
224
|
-
})) : W(
|
|
299
|
+
})) : W(H(m.id, o.id)) === "paused" ? (d(), n(g(E), {
|
|
225
300
|
key: 2,
|
|
226
301
|
size: "16",
|
|
227
302
|
class: "text-[#4749ad]"
|
|
228
|
-
})) : W(
|
|
303
|
+
})) : W(H(m.id, o.id)) === "completed" ? (d(), n(g(T), {
|
|
229
304
|
key: 3,
|
|
230
305
|
size: "16",
|
|
231
306
|
class: "text-[#4749ad]"
|
|
232
|
-
})) : r("", !0)], 8,
|
|
307
|
+
})) : r("", !0)], 8, Le)) : r("", !0)]),
|
|
233
308
|
_: 2
|
|
234
309
|
}, 1024),
|
|
235
|
-
|
|
310
|
+
lt(m, o.id) ? (d(), n(g(O), {
|
|
236
311
|
key: 0,
|
|
312
|
+
content: "取消下载"
|
|
313
|
+
}, {
|
|
314
|
+
default: v(() => [a("button", {
|
|
315
|
+
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
316
|
+
onClick: y((e) => t.$emit("cancel-download", o.id), ["stop"])
|
|
317
|
+
}, [a("img", {
|
|
318
|
+
src: g(re),
|
|
319
|
+
alt: "取消下载",
|
|
320
|
+
class: "w-[18px] h-[18px]"
|
|
321
|
+
}, null, 8, ze)], 8, Re)]),
|
|
322
|
+
_: 2
|
|
323
|
+
}, 1024)) : r("", !0),
|
|
324
|
+
ct(m, o.id) ? (d(), n(g(O), {
|
|
325
|
+
key: 1,
|
|
237
326
|
content: "联系卖家"
|
|
238
327
|
}, {
|
|
239
328
|
default: v(() => [a("button", {
|
|
240
329
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
241
|
-
onClick: y((e) =>
|
|
242
|
-
}, [s(g(
|
|
330
|
+
onClick: y((e) => t.$emit("contact-seller", o.id), ["stop"])
|
|
331
|
+
}, [s(g(te), {
|
|
243
332
|
size: "16",
|
|
244
333
|
class: "text-[#4749ad]"
|
|
245
|
-
})], 8,
|
|
334
|
+
})], 8, Be)]),
|
|
246
335
|
_: 2
|
|
247
336
|
}, 1024)) : r("", !0),
|
|
248
|
-
|
|
337
|
+
at(m) ? (d(), i(e, { key: 2 }, [Y(m.id, o.id) === "refundable" ? (d(), n(g(O), {
|
|
249
338
|
key: 0,
|
|
250
339
|
content: "申请退款"
|
|
251
340
|
}, {
|
|
252
341
|
default: v(() => [a("button", {
|
|
253
342
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
254
|
-
onClick: y((e) =>
|
|
343
|
+
onClick: y((e) => X(o.id), ["stop"])
|
|
255
344
|
}, [a("img", {
|
|
256
|
-
src: g(
|
|
345
|
+
src: g(N),
|
|
257
346
|
alt: "申请退款",
|
|
258
347
|
class: "w-[18px] h-[18px]"
|
|
259
|
-
}, null, 8,
|
|
348
|
+
}, null, 8, He)], 8, Ve)]),
|
|
260
349
|
_: 2
|
|
261
|
-
}, 1024)) : Y(
|
|
350
|
+
}, 1024)) : Y(m.id, o.id) === "after_sales" ? (d(), n(g(O), {
|
|
262
351
|
key: 1,
|
|
263
352
|
content: "联系售后"
|
|
264
353
|
}, {
|
|
265
354
|
default: v(() => [a("button", {
|
|
266
355
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
267
|
-
onClick: y((e) =>
|
|
356
|
+
onClick: y((e) => dt(o.id), ["stop"])
|
|
268
357
|
}, [a("img", {
|
|
269
|
-
src: g(
|
|
358
|
+
src: g(P),
|
|
270
359
|
alt: "联系售后",
|
|
271
360
|
class: "w-[18px] h-[18px]"
|
|
272
|
-
}, null, 8,
|
|
361
|
+
}, null, 8, We)], 8, Ue)]),
|
|
273
362
|
_: 2
|
|
274
363
|
}, 1024)) : r("", !0)], 64)) : r("", !0)
|
|
275
|
-
])])])])])])], 8,
|
|
364
|
+
])])])])])])], 8, R))), 128))], 2), m.products.length > 3 ? (d(), i("div", Ge)) : r("", !0)])]))), 128))])) : (d(), i("div", Ke, [a("div", qe, [s(g(w), { size: "24" })]), f[6] ||= a("h3", { class: "text-lg font-bold text-[#262626] mb-6" }, "暂无订单", -1)])), c.totalPages > 1 ? (d(), i("div", Je, [
|
|
276
365
|
a("button", {
|
|
277
|
-
onClick: f[
|
|
278
|
-
disabled:
|
|
366
|
+
onClick: f[1] ||= (e) => t.$emit("page-change", c.currentPage - 1, c.pageSize),
|
|
367
|
+
disabled: c.currentPage === 1,
|
|
279
368
|
class: "w-8 h-8 hover:bg-slate-50 disabled:opacity-50 disabled:cursor-not-allowed transition-all flex items-center justify-center",
|
|
280
369
|
style: {
|
|
281
370
|
"border-radius": "8px",
|
|
@@ -283,11 +372,11 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
283
372
|
height: "32px",
|
|
284
373
|
border: "1px solid #d1d5db"
|
|
285
374
|
}
|
|
286
|
-
}, [s(g(x), { size: "16" })], 8,
|
|
287
|
-
a("span",
|
|
375
|
+
}, [s(g(x), { size: "16" })], 8, Ye),
|
|
376
|
+
a("span", Xe, h(c.currentPage) + " / " + h(c.totalPages), 1),
|
|
288
377
|
a("button", {
|
|
289
|
-
onClick: f[
|
|
290
|
-
disabled:
|
|
378
|
+
onClick: f[2] ||= (e) => t.$emit("page-change", c.currentPage + 1, c.pageSize),
|
|
379
|
+
disabled: c.currentPage === c.totalPages,
|
|
291
380
|
class: "w-8 h-8 hover:bg-slate-50 disabled:opacity-50 disabled:cursor-not-allowed transition-all flex items-center justify-center",
|
|
292
381
|
style: {
|
|
293
382
|
"border-radius": "8px",
|
|
@@ -295,34 +384,34 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
295
384
|
height: "32px",
|
|
296
385
|
border: "1px solid #d1d5db"
|
|
297
386
|
}
|
|
298
|
-
}, [s(g(S), { size: "16" })], 8,
|
|
299
|
-
])) : r("", !0)]), s(g(
|
|
387
|
+
}, [s(g(S), { size: "16" })], 8, Ze)
|
|
388
|
+
])) : r("", !0)]), s(g(D), {
|
|
300
389
|
visible: J.value,
|
|
301
|
-
"onUpdate:visible": f[
|
|
390
|
+
"onUpdate:visible": f[3] ||= (e) => J.value = e,
|
|
302
391
|
title: "申请退款",
|
|
303
392
|
footer: !1,
|
|
304
393
|
"mask-closable": !1,
|
|
305
394
|
width: 448,
|
|
306
395
|
"modal-style": { borderRadius: "8px" },
|
|
307
|
-
onCancel:
|
|
396
|
+
onCancel: Z
|
|
308
397
|
}, {
|
|
309
|
-
default: v(() => [f[
|
|
398
|
+
default: v(() => [f[7] ||= a("p", { class: "text-sm text-[#262626] text-center mb-6" }, "确认要申请退款吗?退款成功后您将无法继续下载并使用此数据。", -1), a("div", { class: "flex justify-end gap-3" }, [a("button", {
|
|
310
399
|
style: { border: "none" },
|
|
311
400
|
class: "px-4 py-2 text-sm text-[#262626] rounded-md hover:bg-slate-50 transition-colors cursor-pointer",
|
|
312
|
-
onClick:
|
|
401
|
+
onClick: Z
|
|
313
402
|
}, "取消"), a("button", {
|
|
314
403
|
style: { border: "none" },
|
|
315
404
|
class: "px-4 py-2 text-sm text-white bg-[#4749ad] rounded-md hover:opacity-90 transition-colors cursor-pointer",
|
|
316
|
-
onClick:
|
|
405
|
+
onClick: ut
|
|
317
406
|
}, "确认")])]),
|
|
318
407
|
_: 1
|
|
319
408
|
}, 8, ["visible"])], 64));
|
|
320
409
|
}
|
|
321
|
-
}),
|
|
410
|
+
}), H = (e, t) => {
|
|
322
411
|
let n = e.__vccOpts || e;
|
|
323
412
|
for (let [e, r] of t) n[e] = r;
|
|
324
413
|
return n;
|
|
325
|
-
},
|
|
414
|
+
}, U = /* @__PURE__ */ H(V, [["__scopeId", "data-v-caa1651e"]]), W = { class: "order-management bg-[#F6F4F0] text-[#262626] font-[PingFangSC]" }, G = /* @__PURE__ */ H(/* @__PURE__ */ c({
|
|
326
415
|
__name: "OrderManagement",
|
|
327
416
|
props: {
|
|
328
417
|
orders: {},
|
|
@@ -339,6 +428,7 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
339
428
|
onDownload: {},
|
|
340
429
|
onPauseDownload: {},
|
|
341
430
|
onResumeDownload: {},
|
|
431
|
+
onCancelDownload: {},
|
|
342
432
|
onOpenFile: {},
|
|
343
433
|
onContactSeller: {},
|
|
344
434
|
onRequestRefund: {},
|
|
@@ -347,7 +437,9 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
347
437
|
downloadStatusText: {},
|
|
348
438
|
downloadButtonVisible: {},
|
|
349
439
|
contactSellerButtonVisible: {},
|
|
350
|
-
|
|
440
|
+
cancelDownloadButtonVisible: {},
|
|
441
|
+
refundStates: {},
|
|
442
|
+
controllableDeliveryTag: {}
|
|
351
443
|
},
|
|
352
444
|
setup(e) {
|
|
353
445
|
let n = e, r = f(n.currentOrderPage), a = t(() => n.currentOrderPage ?? r.value), o = t(() => n.orderItemsPerPage ?? 10);
|
|
@@ -371,7 +463,7 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
371
463
|
}), h = t(() => n.serverPagination ? n.totalOrderCount : u.value.length);
|
|
372
464
|
return _(() => n.currentOrderPage, (e) => {
|
|
373
465
|
r.value = e ?? 1;
|
|
374
|
-
}), (t, r) => (d(), i("div",
|
|
466
|
+
}), (t, r) => (d(), i("div", W, [s(U, {
|
|
375
467
|
orders: p.value,
|
|
376
468
|
"total-orders": h.value,
|
|
377
469
|
"current-page": a.value,
|
|
@@ -382,17 +474,20 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
382
474
|
"download-status-text": n.downloadStatusText,
|
|
383
475
|
"download-button-visible": n.downloadButtonVisible,
|
|
384
476
|
"contact-seller-button-visible": n.contactSellerButtonVisible,
|
|
477
|
+
"cancel-download-button-visible": n.cancelDownloadButtonVisible,
|
|
385
478
|
"refund-states": n.refundStates,
|
|
479
|
+
"controllable-delivery-tag": n.controllableDeliveryTag,
|
|
386
480
|
onPageChange: l,
|
|
387
481
|
onViewDetail: r[0] ||= (t) => e.onViewDetail?.(t),
|
|
388
482
|
onViewProduct: r[1] ||= (t, n) => e.onViewProduct?.(t, n),
|
|
389
483
|
onDownload: r[2] ||= (t) => e.onDownload?.(t),
|
|
390
484
|
onPauseDownload: r[3] ||= (t) => e.onPauseDownload?.(t),
|
|
391
485
|
onResumeDownload: r[4] ||= (t) => e.onResumeDownload?.(t),
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
486
|
+
onCancelDownload: r[5] ||= (t) => e.onCancelDownload?.(t),
|
|
487
|
+
onOpenFile: r[6] ||= (t) => e.onOpenFile?.(t),
|
|
488
|
+
onContactSeller: r[7] ||= (t) => e.onContactSeller?.(t),
|
|
489
|
+
onRequestRefund: r[8] ||= (t) => e.onRequestRefund?.(t),
|
|
490
|
+
onRequestAfterSales: r[9] ||= (t) => e.onRequestAfterSales?.(t)
|
|
396
491
|
}, null, 8, [
|
|
397
492
|
"orders",
|
|
398
493
|
"total-orders",
|
|
@@ -404,10 +499,12 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
404
499
|
"download-status-text",
|
|
405
500
|
"download-button-visible",
|
|
406
501
|
"contact-seller-button-visible",
|
|
407
|
-
"
|
|
502
|
+
"cancel-download-button-visible",
|
|
503
|
+
"refund-states",
|
|
504
|
+
"controllable-delivery-tag"
|
|
408
505
|
])]));
|
|
409
506
|
}
|
|
410
|
-
}), [["__scopeId", "data-v-
|
|
507
|
+
}), [["__scopeId", "data-v-d8eab2e7"]]), Qe = { class: "order-detail space-y-8 bg-[#ffffff] font-[PingFangSC]" }, $e = {
|
|
411
508
|
class: "bg-[#ffffff] rounded-[8px] shadow-sm",
|
|
412
509
|
style: {
|
|
413
510
|
border: "1px solid #E5E6E9",
|
|
@@ -416,44 +513,45 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
416
513
|
"padding-left": "24px",
|
|
417
514
|
"padding-right": "24px"
|
|
418
515
|
}
|
|
419
|
-
},
|
|
516
|
+
}, K = { class: "space-y-3" }, et = { class: "flex justify-between" }, tt = { class: "text-[12px] font-medium text-[#262626]" }, nt = { class: "flex justify-between items-center" }, rt = { class: "flex justify-between" }, it = { class: "text-[12px] font-medium text-[#262626]" }, q = { class: "text-[12px] font-medium text-[#262626]" }, J = {
|
|
420
517
|
key: 0,
|
|
421
518
|
class: "flex justify-between"
|
|
422
|
-
},
|
|
519
|
+
}, Y = { class: "text-[12px] font-medium text-[#262626]" }, at = {
|
|
423
520
|
key: 1,
|
|
424
521
|
class: "flex justify-between"
|
|
425
|
-
},
|
|
522
|
+
}, ot = { class: "text-[12px] font-medium text-[#262626]" }, st = {
|
|
426
523
|
class: "text-[18px] font-bold text-[#262626]",
|
|
427
524
|
style: { "font-weight": "700" }
|
|
428
|
-
},
|
|
525
|
+
}, ct = {
|
|
429
526
|
class: "bg-[#ffffff] rounded-[8px] shadow-sm",
|
|
430
527
|
style: {
|
|
431
528
|
border: "1px solid #E5E6E9",
|
|
432
529
|
"padding-top": "24px",
|
|
433
530
|
"padding-bottom": "24px"
|
|
434
531
|
}
|
|
435
|
-
},
|
|
532
|
+
}, lt = { class: "space-y-4" }, X = { class: "w-12 h-12 rounded overflow-hidden flex-shrink-0" }, ut = ["src", "alt"], Z = { class: "flex-1 min-w-0" }, dt = { class: "flex items-center justify-between mb-2 gap-2 min-w-0" }, ft = { class: "flex items-center min-w-0 flex-1" }, pt = ["title", "onClick"], Q = ["src", "alt"], $ = { class: "text-[11px] font-medium text-[#8D8C8B]" }, mt = { class: "flex items-center gap-2 shrink-0" }, ht = {
|
|
436
533
|
key: 0,
|
|
437
534
|
class: "text-xs font-medium text-[#262626]"
|
|
438
|
-
},
|
|
535
|
+
}, gt = ["onClick"], _t = ["onClick"], vt = ["src"], yt = ["onClick"], bt = ["src"], xt = {
|
|
439
536
|
key: 0,
|
|
440
537
|
class: "px-6"
|
|
441
|
-
},
|
|
538
|
+
}, St = {
|
|
442
539
|
class: "mt-4 pt-4 px-6",
|
|
443
540
|
style: { "border-top": "1px solid #E5E6E9" }
|
|
444
|
-
},
|
|
541
|
+
}, Ct = { class: "flex justify-end items-center gap-2" }, wt = { class: "text-sm font-bold text-[#262626]" }, Tt = {
|
|
445
542
|
key: 0,
|
|
446
543
|
class: "mt-2 text-xs font-medium text-[#262626] text-right"
|
|
447
|
-
},
|
|
544
|
+
}, Et = {
|
|
448
545
|
key: 0,
|
|
449
546
|
class: "bg-[#ffffff] rounded-[8px] shadow-sm p-6",
|
|
450
547
|
style: { border: "1px solid #E5E6E9" }
|
|
451
|
-
},
|
|
548
|
+
}, Dt = /* @__PURE__ */ H(/* @__PURE__ */ c({
|
|
452
549
|
__name: "OrderDetail",
|
|
453
550
|
props: {
|
|
454
551
|
order: {},
|
|
455
552
|
refundStates: {},
|
|
456
|
-
contactSellerButtonVisible: {}
|
|
553
|
+
contactSellerButtonVisible: {},
|
|
554
|
+
controllableDeliveryTag: {}
|
|
457
555
|
},
|
|
458
556
|
emits: [
|
|
459
557
|
"contact-seller",
|
|
@@ -462,170 +560,176 @@ var j = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2
|
|
|
462
560
|
"request-after-sales"
|
|
463
561
|
],
|
|
464
562
|
setup(c, { emit: l }) {
|
|
465
|
-
let _ = c,
|
|
563
|
+
let _ = c, x = l, S = f(!1), C = f(""), w = f(!1), T = (e) => _.refundStates?.[`${_.order.id}-${e}`], ne = (e) => {
|
|
466
564
|
let t = `${_.order.id}-${e}`, n = _.contactSellerButtonVisible?.[t];
|
|
467
565
|
return n === void 0 ? !0 : n;
|
|
468
|
-
},
|
|
469
|
-
|
|
470
|
-
},
|
|
471
|
-
let e =
|
|
566
|
+
}, E = (e) => {
|
|
567
|
+
C.value = e, w.value = !0;
|
|
568
|
+
}, k = () => {
|
|
569
|
+
let e = C.value;
|
|
472
570
|
if (!e) {
|
|
473
|
-
|
|
571
|
+
j();
|
|
474
572
|
return;
|
|
475
573
|
}
|
|
476
|
-
|
|
477
|
-
},
|
|
478
|
-
|
|
479
|
-
},
|
|
480
|
-
|
|
481
|
-
}, re = t(() => _.order.products && _.order.products.length > 5), ie = t(() => _.order.products ?
|
|
482
|
-
|
|
574
|
+
x("request-refund", e), j();
|
|
575
|
+
}, j = () => {
|
|
576
|
+
w.value = !1, C.value = "";
|
|
577
|
+
}, M = (e) => {
|
|
578
|
+
x("request-after-sales", e);
|
|
579
|
+
}, re = t(() => _.order.products && _.order.products.length > 5), ie = t(() => _.order.products ? S.value ? _.order.products : _.order.products.slice(0, 5) : []), ae = () => {
|
|
580
|
+
S.value = !S.value;
|
|
483
581
|
}, oe = (e) => {
|
|
484
|
-
|
|
582
|
+
x("contact-seller", e);
|
|
485
583
|
}, se = (e) => {
|
|
486
|
-
|
|
487
|
-
}, ce = (e, t) => e ? e.length <= t ? e : e.substring(0, t) + "..." : "",
|
|
584
|
+
x("view-product", _.order, e);
|
|
585
|
+
}, ce = (e, t) => e ? e.length <= t ? e : e.substring(0, t) + "..." : "", le = (e) => {
|
|
488
586
|
if (!e) return "";
|
|
489
587
|
let t = new Date(e);
|
|
490
588
|
return `${t.getFullYear()}-${String(t.getMonth() + 1).padStart(2, "0")}-${String(t.getDate()).padStart(2, "0")} ${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
|
|
491
|
-
},
|
|
589
|
+
}, ue = (e) => F(e) ? "购买时间" : I(e) ? "兑换时间" : L(e) ? "发放时间" : "购买时间", de = (e) => e.createTime ? e.createTime : e.exchangeTime ? e.exchangeTime : e.issueTime ? e.issueTime : e.createTime || "", F = (e) => !e.isExchange && !e.isGift, I = (e) => !!e.isExchange, L = (e) => !!e.isGift, fe = {
|
|
492
590
|
已付款: "#3B82F6",
|
|
493
591
|
待审核: "#F59E0B",
|
|
494
592
|
审核通过: "#22C55E",
|
|
495
593
|
退款中: "#3B82F6",
|
|
496
594
|
已退款: "#22C55E",
|
|
497
595
|
交易成功: "#22C55E"
|
|
498
|
-
},
|
|
596
|
+
}, R = {
|
|
499
597
|
已付款: "已付款",
|
|
500
598
|
待审核: "待审核",
|
|
501
599
|
审核通过: "审核通过",
|
|
502
600
|
退款中: "退款中",
|
|
503
601
|
已退款: "已退款",
|
|
504
602
|
交易成功: "交易成功"
|
|
505
|
-
},
|
|
506
|
-
return (t, l) => (d(), i(e, null, [a("section",
|
|
507
|
-
l[
|
|
603
|
+
}, z = (e) => fe[e] || "#262626", B = (e) => R[e] || "";
|
|
604
|
+
return (t, l) => (d(), i(e, null, [a("section", Qe, [
|
|
605
|
+
l[9] ||= a("h2", {
|
|
508
606
|
class: "text-[18px] font-bold text-[#262626]",
|
|
509
607
|
style: { "font-weight": "700" }
|
|
510
608
|
}, "订单信息", -1),
|
|
511
|
-
a("div",
|
|
512
|
-
a("div",
|
|
513
|
-
a("div",
|
|
609
|
+
a("div", $e, [a("div", K, [
|
|
610
|
+
a("div", et, [l[2] ||= a("span", { class: "text-[12px] font-medium text-[#262626]" }, "订单编号", -1), a("span", tt, h(c.order.orderNumber || c.order.id), 1)]),
|
|
611
|
+
a("div", nt, [l[3] ||= a("span", { class: "text-[12px] font-medium text-[#262626]" }, "交易状态", -1), B(c.order.status) ? (d(), i("span", {
|
|
514
612
|
key: 0,
|
|
515
613
|
class: "px-2 py-0.5 rounded-full text-[11px] font-bold min-w-[70px] text-center bg-transparent",
|
|
516
614
|
style: u({
|
|
517
|
-
color:
|
|
518
|
-
border: "1px solid " +
|
|
615
|
+
color: z(c.order.status),
|
|
616
|
+
border: "1px solid " + z(c.order.status)
|
|
519
617
|
})
|
|
520
|
-
}, h(
|
|
521
|
-
a("div",
|
|
522
|
-
|
|
523
|
-
|
|
618
|
+
}, h(B(c.order.status)), 5)) : r("", !0)]),
|
|
619
|
+
a("div", rt, [a("span", it, h(ue(c.order)), 1), a("span", q, h(le(de(c.order))), 1)]),
|
|
620
|
+
F(c.order) ? (d(), i("div", J, [l[4] ||= a("span", { class: "text-[12px] font-medium text-[#262626]" }, "支付方式", -1), a("span", Y, h(c.order.paymentMethod || "在线支付"), 1)])) : r("", !0),
|
|
621
|
+
I(c.order) ? (d(), i("div", at, [l[5] ||= a("span", { class: "text-[12px] font-medium text-[#262626]" }, "兑换码", -1), a("span", ot, h(c.order.exchangeCode || "ABCD-1234-EFGH-5678"), 1)])) : r("", !0)
|
|
524
622
|
])]),
|
|
525
|
-
a("h2",
|
|
526
|
-
a("div",
|
|
623
|
+
a("h2", st, "产品信息(共" + h(c.order.products ? c.order.products.length : 0) + "件)", 1),
|
|
624
|
+
a("div", ct, [a("div", lt, [(d(!0), i(e, null, p(ie.value, (t, o) => (d(), i("div", {
|
|
527
625
|
key: t.id,
|
|
528
626
|
class: "flex items-start gap-4 px-6 py-4 w-full hover:bg-slate-50 transition-all duration-200 hover:shadow-sm"
|
|
529
627
|
}, [
|
|
530
|
-
a("div",
|
|
628
|
+
a("div", X, [a("img", {
|
|
531
629
|
src: t.image,
|
|
532
630
|
alt: t.name,
|
|
533
631
|
class: "w-full h-full object-cover"
|
|
534
|
-
}, null, 8,
|
|
535
|
-
a("div",
|
|
536
|
-
class: "text-sm font-bold text-[#262626]
|
|
632
|
+
}, null, 8, ut)]),
|
|
633
|
+
a("div", Z, [a("div", dt, [a("div", ft, [a("p", {
|
|
634
|
+
class: "text-sm font-bold text-[#262626] truncate cursor-pointer hover:text-[#3F69B4] transition-colors min-w-0",
|
|
537
635
|
title: t.name,
|
|
538
636
|
onClick: (e) => se(t)
|
|
539
|
-
}, h(ce(t.name, 35)), 9,
|
|
637
|
+
}, h(ce(t.name, 35)), 9, pt), g(A)(t, c.controllableDeliveryTag) ? (d(), i("img", {
|
|
638
|
+
key: 0,
|
|
639
|
+
class: "umo-controllable-delivery-tag",
|
|
640
|
+
src: c.controllableDeliveryTag.src,
|
|
641
|
+
alt: c.controllableDeliveryTag?.alt || "可控交付",
|
|
642
|
+
onClick: l[0] ||= y(() => {}, ["stop"])
|
|
643
|
+
}, null, 8, Q)) : r("", !0)])]), a("div", $, [
|
|
540
644
|
a("span", null, "文件后缀:" + h(t.metadata?.fileSuffix || "pdf"), 1),
|
|
541
|
-
l[5] ||= a("span", { class: "mx-2" }, "|", -1),
|
|
542
|
-
a("span", null, "数据标识:" + h(t.metadata?.dataId || "D1757042744151521"), 1),
|
|
543
645
|
l[6] ||= a("span", { class: "mx-2" }, "|", -1),
|
|
646
|
+
a("span", null, "数据标识:" + h(t.metadata?.dataId || "D1757042744151521"), 1),
|
|
647
|
+
l[7] ||= a("span", { class: "mx-2" }, "|", -1),
|
|
544
648
|
a("span", null, "文件大小:" + h(t.metadata?.fileSize || "2.8MB"), 1)
|
|
545
649
|
])]),
|
|
546
|
-
a("div",
|
|
547
|
-
|
|
548
|
-
|
|
650
|
+
a("div", mt, [
|
|
651
|
+
F(c.order) && t.price ? (d(), i("span", ht, "¥" + h(t.price.toFixed(2)), 1)) : r("", !0),
|
|
652
|
+
ne(t.id) ? (d(), n(g(O), {
|
|
549
653
|
key: 1,
|
|
550
654
|
content: "联系卖家"
|
|
551
655
|
}, {
|
|
552
656
|
default: v(() => [a("button", {
|
|
553
657
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
554
658
|
onClick: (e) => oe(t.id)
|
|
555
|
-
}, [s(g(
|
|
659
|
+
}, [s(g(te), {
|
|
556
660
|
size: "16",
|
|
557
661
|
class: "text-[#4749ad]"
|
|
558
|
-
})], 8,
|
|
662
|
+
})], 8, gt)]),
|
|
559
663
|
_: 2
|
|
560
664
|
}, 1024)) : r("", !0),
|
|
561
|
-
|
|
665
|
+
F(c.order) ? (d(), i(e, { key: 2 }, [T(t.id) === "refundable" ? (d(), n(g(O), {
|
|
562
666
|
key: 0,
|
|
563
667
|
content: "申请退款"
|
|
564
668
|
}, {
|
|
565
669
|
default: v(() => [a("button", {
|
|
566
670
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
567
|
-
onClick: (e) =>
|
|
671
|
+
onClick: (e) => E(t.id)
|
|
568
672
|
}, [a("img", {
|
|
569
|
-
src: g(
|
|
673
|
+
src: g(N),
|
|
570
674
|
alt: "申请退款",
|
|
571
675
|
class: "w-[18px] h-[18px]"
|
|
572
|
-
}, null, 8,
|
|
676
|
+
}, null, 8, vt)], 8, _t)]),
|
|
573
677
|
_: 2
|
|
574
|
-
}, 1024)) :
|
|
678
|
+
}, 1024)) : T(t.id) === "after_sales" ? (d(), n(g(O), {
|
|
575
679
|
key: 1,
|
|
576
680
|
content: "联系售后"
|
|
577
681
|
}, {
|
|
578
682
|
default: v(() => [a("button", {
|
|
579
683
|
class: "w-10 h-10 rounded-full flex items-center justify-center hover:bg-slate-50 transition-all transform hover:scale-105 hover:shadow-md",
|
|
580
|
-
onClick: (e) =>
|
|
684
|
+
onClick: (e) => M(t.id)
|
|
581
685
|
}, [a("img", {
|
|
582
|
-
src: g(
|
|
686
|
+
src: g(P),
|
|
583
687
|
alt: "联系售后",
|
|
584
688
|
class: "w-[18px] h-[18px]"
|
|
585
|
-
}, null, 8,
|
|
689
|
+
}, null, 8, bt)], 8, yt)]),
|
|
586
690
|
_: 2
|
|
587
691
|
}, 1024)) : r("", !0)], 64)) : r("", !0)
|
|
588
692
|
])
|
|
589
|
-
]))), 128)), re.value ? (d(), i("div",
|
|
693
|
+
]))), 128)), re.value ? (d(), i("div", xt, [a("button", {
|
|
590
694
|
onClick: ae,
|
|
591
695
|
class: "flex items-center justify-end gap-2 px-1.5 py-1.5 text-[12px] font-medium text-[#4749ad] hover:bg-slate-50 rounded-md transition-all transform hover:scale-105 hover:shadow-md w-[88px]",
|
|
592
696
|
style: {
|
|
593
697
|
"text-align": "right",
|
|
594
698
|
"margin-left": "auto"
|
|
595
699
|
}
|
|
596
|
-
}, [o(h(
|
|
700
|
+
}, [o(h(S.value ? "收起" : "展开全部") + " ", 1), S.value ? (d(), n(g(ee), {
|
|
597
701
|
key: 0,
|
|
598
702
|
size: "16"
|
|
599
703
|
})) : (d(), n(g(b), {
|
|
600
704
|
key: 1,
|
|
601
705
|
size: "16"
|
|
602
|
-
}))])])) : r("", !0)]), a("div",
|
|
603
|
-
t.$slots["host-extra"] ? (d(), i("div",
|
|
604
|
-
]), s(g(
|
|
605
|
-
visible:
|
|
606
|
-
"onUpdate:visible": l[
|
|
706
|
+
}))])])) : r("", !0)]), a("div", St, [a("div", Ct, [l[8] ||= a("span", { class: "text-[12px] font-medium text-[#262626]" }, "总计", -1), a("span", wt, " ¥" + h(c.order.totalAmount ? c.order.totalAmount.toFixed(2) : "0.00"), 1)]), L(c.order) ? (d(), i("div", Tt, " 本订单产品为平台赠送,无实际支付金额 ")) : r("", !0)])]),
|
|
707
|
+
t.$slots["host-extra"] ? (d(), i("div", Et, [m(t.$slots, "host-extra", {}, void 0, !0)])) : r("", !0)
|
|
708
|
+
]), s(g(D), {
|
|
709
|
+
visible: w.value,
|
|
710
|
+
"onUpdate:visible": l[1] ||= (e) => w.value = e,
|
|
607
711
|
title: "申请退款",
|
|
608
712
|
footer: !1,
|
|
609
713
|
"mask-closable": !1,
|
|
610
714
|
width: 448,
|
|
611
715
|
"modal-style": { borderRadius: "8px" },
|
|
612
|
-
onCancel:
|
|
716
|
+
onCancel: j
|
|
613
717
|
}, {
|
|
614
|
-
default: v(() => [l[
|
|
718
|
+
default: v(() => [l[10] ||= a("p", { class: "text-sm text-[#262626] text-center mb-6" }, "确认要申请退款吗?退款成功后您将无法继续下载并使用此数据。", -1), a("div", { class: "flex justify-end gap-3" }, [a("button", {
|
|
615
719
|
style: { border: "none" },
|
|
616
720
|
class: "px-4 py-2 text-sm text-[#262626] rounded-md hover:bg-slate-50 transition-colors cursor-pointer",
|
|
617
|
-
onClick:
|
|
721
|
+
onClick: j
|
|
618
722
|
}, "取消"), a("button", {
|
|
619
723
|
style: { border: "none" },
|
|
620
724
|
class: "px-4 py-2 text-sm text-white bg-[#4749ad] rounded-md hover:opacity-90 transition-colors cursor-pointer",
|
|
621
|
-
onClick:
|
|
725
|
+
onClick: k
|
|
622
726
|
}, "确认")])]),
|
|
623
727
|
_: 1
|
|
624
728
|
}, 8, ["visible"])], 64));
|
|
625
729
|
}
|
|
626
|
-
}), [["__scopeId", "data-v-
|
|
627
|
-
OrderManagement:
|
|
628
|
-
OrderDetailPanel:
|
|
730
|
+
}), [["__scopeId", "data-v-9393bfca"]]), Ot = {
|
|
731
|
+
OrderManagement: G,
|
|
732
|
+
OrderDetailPanel: Dt
|
|
629
733
|
};
|
|
630
734
|
//#endregion
|
|
631
|
-
export {
|
|
735
|
+
export { Dt as OrderDetailPanel, G as OrderManagement, k as isProductControllableDelivery, A as shouldShowControllableDeliveryTag, Ot as userMyOrder };
|