From 80dc90be027ee26869c63860b7d6a0759a03546b Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 20 五月 2025 17:33:53 +0800 Subject: [PATCH] fix: 修改首页ui --- apps/taro/src/subpackages/recharge/phoneBillRecharge/InnerPage.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/apps/taro/src/subpackages/recharge/phoneBillRecharge/InnerPage.vue b/apps/taro/src/subpackages/recharge/phoneBillRecharge/InnerPage.vue index 2d7461d..43d37f9 100644 --- a/apps/taro/src/subpackages/recharge/phoneBillRecharge/InnerPage.vue +++ b/apps/taro/src/subpackages/recharge/phoneBillRecharge/InnerPage.vue @@ -13,6 +13,8 @@ :showAliPay="!isInWeChat" :showWeixinPay="isInWeChat" @missName="handleMissName" + @editUserAccount="handleEditUserAccount" + @currentChange="emit('currentChange', $event)" /> </ContentScrollView> </template> @@ -29,6 +31,10 @@ defineOptions({ name: 'InnerPage', }); + +const emit = defineEmits<{ + (e: 'currentChange', current: 'step1' | 'step2'): void; +}>(); const isDev = process.env.NODE_ENV === 'development'; @@ -56,4 +62,10 @@ }); } catch (error) {} } + +function handleEditUserAccount(userAccountId: string) { + RouteHelper.navigateTo({ + url: `${RouterPath.editPhoneUserAccount}?id=${userAccountId}`, + }); +} </script> -- Gitblit v1.9.1