From 23bfd958545ab5548d561ef6db1eafafe03e4e05 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 22 五月 2025 13:23:13 +0800
Subject: [PATCH] fix: 修改ui

---
 apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue b/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue
index 3ac3541..43b7221 100644
--- a/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue
+++ b/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue
@@ -1,17 +1,37 @@
 <template>
-  <ContentScrollView :paddingH="false">
-    <OrderApplyRefundView :orderNo="orderNo" />
+  <ContentScrollView hasPaddingTop style="background-color: transparent">
+    <OrderApplyRefundView
+      :id="id"
+      @submitApplyRefund="submitApplyRefund"
+      ref="orderApplyRefundViewRef"
+    />
   </ContentScrollView>
+  <PageFooter>
+    <PageFooterBtn type="primary" @click="handleSubmit">鎻愪氦</PageFooterBtn>
+  </PageFooter>
 </template>
 
 <script setup lang="ts">
 import Taro from '@tarojs/taro';
 import { OrderApplyRefundView } from '@life-payment/components';
+import { goBack } from '@/utils';
+import type { ComponentExposed } from 'vue-component-type-helpers';
 
 defineOptions({
   name: 'InnerPage',
 });
 
 const router = Taro.useRouter();
-const orderNo = router.params?.orderNo ?? '';
+const id = router.params?.id ?? '';
+
+const orderApplyRefundViewRef =
+  useTemplateRef<ComponentExposed<typeof OrderApplyRefundView>>('orderApplyRefundViewRef');
+
+function handleSubmit() {
+  orderApplyRefundViewRef.value?.handleSubmit?.();
+}
+
+function submitApplyRefund() {
+  goBack();
+}
 </script>

--
Gitblit v1.9.1