From 92b45d8130c3ef9e169251dc8fd516c59dd7f29e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 09 六月 2025 16:55:41 +0800
Subject: [PATCH] feat: 接口

---
 apps/taro/src/subpackages/userAccount/editPhoneUserAccount/InnerPage.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/apps/taro/src/subpackages/userAccount/editPhoneUserAccount/InnerPage.vue b/apps/taro/src/subpackages/userAccount/editPhoneUserAccount/InnerPage.vue
index 8ba66c5..31f400e 100644
--- a/apps/taro/src/subpackages/userAccount/editPhoneUserAccount/InnerPage.vue
+++ b/apps/taro/src/subpackages/userAccount/editPhoneUserAccount/InnerPage.vue
@@ -1,13 +1,17 @@
 <template>
   <ContentScrollView hasPaddingTop style="background-color: transparent">
-    <EditPhoneUserAccount :id="id" @success="handleSuccess" />
+    <EditPhoneUserAccount :id="id" @success="handleSuccess" ref="editPhoneUserAccountRef" />
   </ContentScrollView>
+  <PageFooter>
+    <PageFooterBtn type="primary" @click="handleSave">淇濆瓨</PageFooterBtn>
+  </PageFooter>
 </template>
 
 <script setup lang="ts">
 import Taro from '@tarojs/taro';
 import { EditPhoneUserAccount } from '@life-payment/components';
 import { goBack } from '@/utils';
+import type { ComponentExposed } from 'vue-component-type-helpers';
 
 defineOptions({
   name: 'InnerPage',
@@ -16,6 +20,13 @@
 const router = Taro.useRouter();
 const id = router.params?.id ?? '';
 
+const editPhoneUserAccountRef =
+  useTemplateRef<ComponentExposed<typeof EditPhoneUserAccount>>('editPhoneUserAccountRef');
+
+function handleSave() {
+  editPhoneUserAccountRef.value?.handleSave?.();
+}
+
 function handleSuccess() {
   goBack();
 }

--
Gitblit v1.9.1