| | |
| | | :isFocus="isFocus" |
| | | :showAliPay="!isInWeChat" |
| | | :showWeixinPay="isInWeChat" |
| | | @missName="handleMissName" |
| | | /> |
| | | </ContentScrollView> |
| | | </template> |
| | |
| | | import { isInAlipay, isInWeChat, isH5, isWeb } from '@/utils/env'; |
| | | import { useUser, useFocus, useEnsureOpenId } from '@/hooks'; |
| | | import { WXPayAppId } from '@/constants'; |
| | | import { Message } from '@/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | url: `${RouterPath.rechargeResult}?orderNo=${orderNo}&lifePayOrderType=${BlLifeRecharge.constants.LifePayOrderTypeEnum.电费订单}`, |
| | | }); |
| | | } |
| | | |
| | | async function handleMissName(userAccountId: string) { |
| | | try { |
| | | await Message.confirm({ message: '请先完善手机号所属机主姓名' }); |
| | | RouteHelper.navigateTo({ |
| | | url: `${RouterPath.editElectricUserAccount}?id=${userAccountId}`, |
| | | }); |
| | | } catch (error) {} |
| | | } |
| | | </script> |