From 9e5a47d90455c4770815d32899f660b53fc27110 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 22 五月 2025 13:26:09 +0800 Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui --- apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue b/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue index afc98aa..43b7221 100644 --- a/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue +++ b/apps/taro/src/subpackages/order/orderApplyRefund/InnerPage.vue @@ -1,13 +1,21 @@ <template> - <ContentScrollView :paddingH="false"> - <OrderApplyRefundView :id="id" @submitApplyRefund="submitApplyRefund" /> + <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', @@ -16,6 +24,13 @@ const router = Taro.useRouter(); const id = router.params?.id ?? ''; +const orderApplyRefundViewRef = + useTemplateRef<ComponentExposed<typeof OrderApplyRefundView>>('orderApplyRefundViewRef'); + +function handleSubmit() { + orderApplyRefundViewRef.value?.handleSubmit?.(); +} + function submitApplyRefund() { goBack(); } -- Gitblit v1.9.1