From 1327b99efda99ada27a956981648950f580314b0 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 22 五月 2025 14:17:47 +0800
Subject: [PATCH] fix: 修改ui
---
apps/taro/src/subpackages/my/applyAgent/applyAgent.vue | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
index 7f06d32..fa40cd0 100644
--- a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
+++ b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue
@@ -1,11 +1,7 @@
<template>
<PageLayout title="绔嬪嵆鐢宠" class="applyAgent-page-wrapper" hasBgColor :needAuth="false">
<ContentScrollView hasPaddingTop style="background-color: transparent">
- <!-- <OrderApplyRefundView
- :id="id"
- @submitApplyRefund="submitApplyRefund"
- ref="orderApplyRefundViewRef"
- /> -->
+ <ApplyAgentView @submit="submit" ref="orderApplyRefundViewRef" />
</ContentScrollView>
<PageFooter>
<PageFooterBtn type="primary" @click="handleSubmit">鎻愪氦鐢宠</PageFooterBtn>
@@ -15,10 +11,22 @@
<script setup lang="ts">
import { PageLayout } from '@/components';
+import { ApplyAgentView } from '@life-payment/components';
+import { goBack } from '@/utils';
+import type { ComponentExposed } from 'vue-component-type-helpers';
defineOptions({
name: 'applyAgent',
});
-function handleSubmit() {}
+const applyAgentViewRef =
+ useTemplateRef<ComponentExposed<typeof ApplyAgentView>>('applyAgentViewRef');
+
+function handleSubmit() {
+ applyAgentViewRef.value?.handleSubmit?.();
+}
+
+function submit() {
+ goBack();
+}
</script>
--
Gitblit v1.9.1