| | |
| | | :showWeixinPay="!isInAlipay" |
| | | :openId="wxOpenId" |
| | | :isInWeChat="isInWeChat" |
| | | :isH5="isH5" |
| | | :isH5="isWeb" |
| | | :appId="WXPayAppId" |
| | | :isFocus="isFocus" |
| | | /> |
| | | </ContentScrollView> |
| | | </template> |
| | |
| | | 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({ |
| | |
| | | |
| | | const { wxOpenId } = useUser(); |
| | | |
| | | const { isFocus } = useFocus(); |
| | | |
| | | function handePaySuccess( |
| | | orderNo: string, |
| | | lifePayOrderType: LifeRechargeConstants.LifePayOrderTypeEnum |