zhengyiming
2025-04-01 8f7bae4a2b70bb3aeb1c2289a7f5dd6a826e88de
apps/taro/src/subpackages/recharge/electricBillRecharge/InnerPage.vue
@@ -12,6 +12,7 @@
      :isFocus="isFocus"
      :showAliPay="!isInWeChat"
      :showWeixinPay="isInWeChat"
      @missName="handleMissName"
    />
  </ContentScrollView>
</template>
@@ -23,6 +24,7 @@
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',
@@ -45,4 +47,13 @@
    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>