From 83f821e00802979e64840901bf2a1d18b4b61601 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 21 二月 2025 14:52:58 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentFront --- apps/taro/src/pages/home/index.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/apps/taro/src/pages/home/index.vue b/apps/taro/src/pages/home/index.vue index e349db9..aba6441 100644 --- a/apps/taro/src/pages/home/index.vue +++ b/apps/taro/src/pages/home/index.vue @@ -1,7 +1,10 @@ <template> <PageLayoutWithBg class="index-page-wrapper" :title="'鐢熸椿缂磋垂'" :need-auth="false"> <ContentView> - <RechargeGrid @phoneBillRecharge="goPhoneBillRecharge" /> + <RechargeGrid + @phoneBillRecharge="goPhoneBillRecharge" + @electricityBillRecharge="goElectricityBillRecharge" + /> </ContentView> </PageLayoutWithBg> </template> @@ -19,6 +22,11 @@ url: `${RouterPath.phoneBillRecharge}`, }); }); +const goElectricityBillRecharge = useAccessLogin(() => { + Taro.navigateTo({ + url: `${RouterPath.electricBillRecharge}`, + }); +}); </script> <style lang="scss"> -- Gitblit v1.9.1