From 497d2d9ca3f83cd9178f7615d1c2f1b3411e0383 Mon Sep 17 00:00:00 2001 From: zhangds Date: Fri, 22 Mar 2024 17:54:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=8D=A1=E5=AF=86?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orderDetails/cardOrder.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/orderDetails/cardOrder.html b/orderDetails/cardOrder.html index 200a071..b0cf244 100644 --- a/orderDetails/cardOrder.html +++ b/orderDetails/cardOrder.html @@ -53,7 +53,7 @@

卡密

-

{{goods.card_password}}

+

{{card_look_pwd}}

@@ -89,6 +89,7 @@ const goodsCount = ref(0); const loading = ref(false); const key_number = ref(""); + const card_look_pwd = ref(""); onMounted(() => { goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0; @@ -110,6 +111,9 @@ } if (res.code == 200) { const { product_name, status, show_url, card_number, card_password, use_coupon, product } = res.data; + + card_look_pwd.value = card_password.substring(0, 16); // 只用于展示 + goods.value = { product_name, time: res.data.goods.end_time, status, show_url, card_number, card_password, card_show: res.data.goods.card_show, use_coupon, detail_url: product.detail_url }; // 领取成功结算 5 if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5 && status === 2) {