From a87c09b78f7474f3e4c1d14af11d8264df112f2a Mon Sep 17 00:00:00 2001 From: zhangds Date: Mon, 25 Mar 2024 10:34:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8D=A1=E5=AF=86?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orderDetails/cardOrder.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/orderDetails/cardOrder.html b/orderDetails/cardOrder.html index c3f6b3b..27cdb33 100644 --- a/orderDetails/cardOrder.html +++ b/orderDetails/cardOrder.html @@ -110,10 +110,8 @@ }, 1000); } 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); // 只用于展示 - + const { product_name, status, show_url, card_number, card_password, use_coupon, product, mask_card_password } = res.data; + card_look_pwd.value = mask_card_password; 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) { @@ -155,6 +153,7 @@ let key = sessionStorage.getItem('orderNumber') key = key.substring(0, 16); new_number = decrypt(number, key) + card_look_pwd.value = new_number; } var aux = document.createElement("input");