完善数字分身积分充值与财务管理 #38
@@ -231,7 +231,7 @@ const checkoutLabel = computed(() => {
|
||||
if (!selectedPlan.value) return '请选择充值套餐'
|
||||
if (charging.value) return '正在创建支付订单…'
|
||||
if (pendingOrderId.value) return '等待支付结果…'
|
||||
return `立即支付 ¥${selectedPlan.value.price}`
|
||||
return '去支付'
|
||||
})
|
||||
|
||||
const payScene = () => {
|
||||
@@ -299,8 +299,8 @@ const doCharge = async () => {
|
||||
const checkoutBase = window.location.hostname === 'digital.99hui.com'
|
||||
? 'https://99hui.com/huihui-h5/'
|
||||
: 'https://fat-open.99hui.com/huihui-h5/'
|
||||
const evn = sessionStorage.getItem('hh_launch_evn')
|
||||
const evnPart = evn ? `&evn=${encodeURIComponent(evn)}` : '&evn'
|
||||
const evn = sessionStorage.getItem('hh_launch_evn') || 'wx'
|
||||
const evnPart = `&evn=${encodeURIComponent(evn)}`
|
||||
window.location.assign(`${checkoutBase}#/payOrder?orderNo=${encodeURIComponent(order.providerOrderNo)}&isOrg=true${evnPart}`)
|
||||
} catch (error: any) {
|
||||
paymentNoticeTone.value = 'error'
|
||||
|
||||
Reference in New Issue
Block a user