From 05357b9c587f64cd548e987643066b253cd9bfe0 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 14 二月 2025 15:06:59 +0800 Subject: [PATCH] fix: b端 --- apps/bMiniApp/src/subpackages/flexJob/flexJobDetail/flexJobDetail.vue | 30 ++++++++++++++++++++++++++---- 1 files changed, 26 insertions(+), 4 deletions(-) diff --git a/apps/bMiniApp/src/subpackages/flexJob/flexJobDetail/flexJobDetail.vue b/apps/bMiniApp/src/subpackages/flexJob/flexJobDetail/flexJobDetail.vue index 054ed39..9ba2d43 100644 --- a/apps/bMiniApp/src/subpackages/flexJob/flexJobDetail/flexJobDetail.vue +++ b/apps/bMiniApp/src/subpackages/flexJob/flexJobDetail/flexJobDetail.vue @@ -1,7 +1,7 @@ <template> <PageLayoutWithBg class="flexJobDetail-page-wrapper" title="鐏靛伐璇︽儏" :need-auth="false"> <LoadingLayout :loading="isLoading" :error="isError" :loadError="refetch"> - <ContentScrollView style="background-color: transparent"> + <ContentView style="background-color: transparent"> <FlexJobTopView size="small" class="flexJobDetail-top" /> <div class="flexJobDetail-contact-info"> <div class="flexJobDetail-contact-info-item"> @@ -13,11 +13,27 @@ <div class="flexJobDetail-contact-info-item"> <div class="flexJobDetail-contact-info-item-label">韬唤璇佸彿锛�</div> <div class="flexJobDetail-contact-info-item-text"> - {{ isCollapse ? '330902199909******' : '绔嬪嵆鑱旂郴鍚庡彲鏌ョ湅' }} + {{ isCollapse ? hiddenIDNumberForEnd6('330902199909123456') : '绔嬪嵆鑱旂郴鍚庡彲鏌ョ湅' }} </div> </div> </div> - </ContentScrollView> + </ContentView> + <ProTabs + v-model="tab" + name="flexJobDetail-tab" + :showSmile="false" + class="flexJobDetail-tabs" + isTransparent + title-gutter="8" + fullHeight + > + <ProTabPane :title="`绠�鍘哷" pane-key="1"> + <curriculumView /> + </ProTabPane> + <ProTabPane :title="`缁忓巻`" pane-key="2"> + <experienceView /> + </ProTabPane> + </ProTabs> <PageFooter> <PageFooterAction :icon="IconShare" @@ -40,11 +56,14 @@ import Taro from '@tarojs/taro'; import { useQuery } from '@tanstack/vue-query'; import * as orderServices from '@12333/services/api/Order'; -import { FlexJobTopView } from '@12333/components'; +import { FlexJobTopView, ProTabs, ProTabPane } from '@12333/components'; import IconShare from '@/assets/flexJob/icon-share.png'; import IconAttention from '@/assets/flexJob/icon-attention-lg.png'; import IconAttentionActive from '@/assets/flexJob/icon-attention-lg-active.png'; import { useToggle } from 'senin-mini/hooks'; +import curriculumView from './components/curriculumView.vue'; +import experienceView from './components/experienceView.vue'; +import { hiddenIDNumberForEnd6 } from '@12333/utils'; defineOptions({ name: 'flexJobDetail', @@ -52,6 +71,8 @@ const router = Taro.useRouter(); const taskId = router.params?.id ?? ''; + +const tab = ref('1'); const { isLoading, @@ -84,6 +105,7 @@ .flexJobDetail-contact-info { padding-left: 130px; + margin-bottom: 78px; .flexJobDetail-contact-info-item { display: flex; -- Gitblit v1.9.1