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) {