From be661965399aac1a93f2a57f79d9fbce7cda8ba2 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 26 二月 2025 14:13:41 +0800
Subject: [PATCH] fix: 对接

---
 apps/taro/src/subpackages/recharge/selectPayType/InnerPage.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/apps/taro/src/subpackages/recharge/selectPayType/InnerPage.vue b/apps/taro/src/subpackages/recharge/selectPayType/InnerPage.vue
index e214be7..a82b7ac 100644
--- a/apps/taro/src/subpackages/recharge/selectPayType/InnerPage.vue
+++ b/apps/taro/src/subpackages/recharge/selectPayType/InnerPage.vue
@@ -9,8 +9,9 @@
       :showWeixinPay="!isInAlipay"
       :openId="wxOpenId"
       :isInWeChat="isInWeChat"
-      :isH5="isH5"
+      :isH5="isWeb"
       :appId="WXPayAppId"
+      :isFocus="isFocus"
     />
   </ContentScrollView>
 </template>
@@ -19,8 +20,8 @@
 import { SelectPayTypeView } from '@life-payment/components';
 import { LifeRechargeConstants } from '@life-payment/core-vue';
 import Taro from '@tarojs/taro';
-import { isInAlipay, isInWeChat, isH5 } from '@/utils/env';
-import { useUser } from '@/hooks';
+import { isInAlipay, isInWeChat, isH5, isWeb } from '@/utils/env';
+import { useUser, useFocus } from '@/hooks';
 import { WXPayAppId } from '@/constants';
 
 defineOptions({
@@ -33,6 +34,8 @@
 
 const { wxOpenId } = useUser();
 
+const { isFocus } = useFocus();
+
 function handePaySuccess(
   orderNo: string,
   lifePayOrderType: LifeRechargeConstants.LifePayOrderTypeEnum

--
Gitblit v1.9.1