From 96008c2db8c14495e39929a145595f8d98553026 Mon Sep 17 00:00:00 2001 From: 728 Date: Tue, 23 May 2023 13:34:54 +0800 Subject: [PATCH] ord --- ismism.ts/ui/bind/article.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ismism.ts/ui/bind/article.ts b/ismism.ts/ui/bind/article.ts index a1d9c44..3238a0a 100644 --- a/ismism.ts/ui/bind/article.ts +++ b/ismism.ts/ui/bind/article.ts @@ -386,8 +386,9 @@ export async function ordl( for (const d of orda.ord.filter(d => d.ord).slice(0, lim_ord_a)) { const nbr = `${d._id.nbr.substring(0, 3)}****${d._id.nbr.substring(7)}` const msg = d.msg.length > 0 ? `\n\n留言:${d.msg}` : "" + const msgs = d.msg.length > 0 ? `(${d.msg.substring(0, 5)})` : "" const b = t.orda.appendChild(document.createElement("button")) - btn(b, d._id.nbr.substring(7), { + btn(b, `${d._id.nbr.substring(7)}${msgs}`, { confirm: `完成订单? \n\n${nbr}\n验证码:${d.code}${msg}`, pos: () => pos("put", { ordid: d._id, ord: false }), alert: `${nbr}\n验证码:${d.code}${msg}`,