From e372854c71bc97d162452cc4b3f5cfa586da50a8 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 22 五月 2025 17:06:31 +0800 Subject: [PATCH] feat: UI --- apps/taro/src/subpackages/my/applyAgent/applyAgent.vue | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue new file mode 100644 index 0000000..8fd69eb --- /dev/null +++ b/apps/taro/src/subpackages/my/applyAgent/applyAgent.vue @@ -0,0 +1,35 @@ +<template> + <PageLayout title="绔嬪嵆鐢宠" class="applyAgent-page-wrapper" hasBgColor :needAuth="false"> + <ContentScrollView hasPaddingTop style="background-color: transparent"> + <ApplyAgentView @submit="submit" ref="orderApplyRefundViewRef" /> + </ContentScrollView> + <PageFooter> + <PageFooterBtn type="primary" @click="handleSubmit">鎻愪氦鐢宠</PageFooterBtn> + </PageFooter> + </PageLayout> +</template> + +<script setup lang="ts"> +import { PageLayout } from '@/components'; +import { RouterPath } from '@/constants'; +import { ApplyAgentView } from '@life-payment/components'; +import { goBack } from '@/utils'; +import type { ComponentExposed } from 'vue-component-type-helpers'; + +defineOptions({ + name: 'applyAgent', +}); + +const applyAgentViewRef = + useTemplateRef<ComponentExposed<typeof ApplyAgentView>>('applyAgentViewRef'); + +function handleSubmit() { + applyAgentViewRef.value?.handleSubmit?.(); +} + +function submit() { + RouteHelper.navigateTo({ + url: RouterPath.applyResult, + }); +} +</script> -- Gitblit v1.9.1