apps/bMiniApp/src/subpackages/flexJobManage/flexJobDetailFromManage/InnerPage.vue
@@ -1,10 +1,10 @@ <template> <LoadingLayout :loading="isLoading" :error="isError" :loadError="refetch"> <JobDetailContent :isCollapse="true"> <template #footer> <!-- <template #footer> <PageFooterBtn type="primary" plain>解约</PageFooterBtn> <PageFooterBtn type="primary">签约</PageFooterBtn> </template> </template> --> </JobDetailContent> </LoadingLayout> </template> apps/bMiniApp/src/subpackages/flexJobManage/flexJobManage/InnerPage.vue
@@ -18,7 +18,15 @@ :key="queryState.userSignContractStatus" > <template #renderItem="{ item }"> <FlexJobCard :show-done-detail="false" :show-footer-left="false" @click="goDetail(item)"> <FlexJobCard :show-done-detail="false" :show-footer-left="false" :name="item.name" :gender="item.gender" :age="item.age" :isReal="item.userIsReal" @click="goDetail(item)" > <template #footerRight> <span></span> <!-- <template packages/components/src/Card/FlexJobTopView.vue
@@ -18,11 +18,7 @@ </div> <slot name="detail"> <div class="flexJob-card-top-info-detail"> {{ `${age ? '' : `${age}岁|`}${personalIdentityContent ?? ''} | ${ educationalBackgroundContent ?? '' } | 上岗${taskCount ?? 0}次` }} {{ infoDetail }} </div> </slot> </div> @@ -34,6 +30,7 @@ import IconFemale from '@/assets/mine/icon-female.png'; import { AvatarImage, EnumUserGender } from '@12333/constants'; import { Avatar } from '@12333/components'; import { computed } from 'vue'; defineOptions({ name: 'FlexJobTopView', @@ -55,7 +52,20 @@ const props = withDefaults(defineProps<Props>(), { size: 'normal', avatar: AvatarImage, personalIdentityContent: '', educationalBackgroundContent: '', }); const infoDetail = computed(() => [ props.age > 0 ? `${props.age}岁` : '', props.personalIdentityContent, props.educationalBackgroundContent, props.taskCount > 0 ? `上岗${props.taskCount ?? 0}次` : '', ] .filter(Boolean) .join('|') ); </script> <style lang="scss">