| | |
| | | <template> |
| | | <ContentScrollView :paddingH="false" style="background-color: #fff"> |
| | | <ContentScrollView hasPaddingTop style="background-color: transparent"> |
| | | <electricBillRecharge |
| | | @goPay="goPay" |
| | | :isDev="isDev" |
| | |
| | | :showAliPay="!isInWeChat" |
| | | :showWeixinPay="isInWeChat" |
| | | @missName="handleMissName" |
| | | @editUserAccount="handleEditUserAccount" |
| | | @currentChange="emit('currentChange', $event)" |
| | | /> |
| | | </ContentScrollView> |
| | | </template> |
| | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | | }); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'currentChange', current: 'step1' | 'step2'): void; |
| | | }>(); |
| | | |
| | | const isDev = process.env.NODE_ENV === 'development'; |
| | | |
| | |
| | | }); |
| | | } catch (error) {} |
| | | } |
| | | |
| | | function handleEditUserAccount(userAccountId: string) { |
| | | RouteHelper.navigateTo({ |
| | | url: `${RouterPath.editElectricUserAccount}?id=${userAccountId}`, |
| | | }); |
| | | } |
| | | </script> |