| | |
| | | <template> |
| | | <div class="flexJob-card-wrapper"> |
| | | <FlexJobTopView /> |
| | | <FlexJobTopView |
| | | :name="name" |
| | | :age="age" |
| | | :genderType="genderType" |
| | | :isRealName="isRealName" |
| | | :arrangeCount="arrangeCount" |
| | | :educationalLevel="educationalLevel" |
| | | /> |
| | | <div class="flexJob-card-done-list"> |
| | | {{ |
| | | '做过:客房服务员、客房服务员、客房客房服务员、客房做过:客房服务员、客房服务员、客房客房服务员、客房' |
| | | }} |
| | | {{ workExperience }} |
| | | </div> |
| | | <div class="flexJob-card-done-detail" v-if="showDoneDetail"> |
| | | <div class="flexJob-card-done-detail-item"> |
| | |
| | | <div class="flexJob-card-footer-left-wrapper"> |
| | | <div class="flexJob-card-footer-left" v-if="showFooterLeft"> |
| | | <slot name="footerLeft"> |
| | | <div class="flexJob-card-footer-text">取消收藏</div> |
| | | <div class="flexJob-card-footer-text" @click.stop="emit('cancelCollection')"> |
| | | 取消收藏 |
| | | </div> |
| | | </slot> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="flexJob-card-footer-right" v-if="showFooterRight"> |
| | | <slot name="footerRight"> |
| | | <nut-button type="primary">立即联系</nut-button> |
| | | <nut-button type="primary" @click.stop="emit('contact')">立即联系</nut-button> |
| | | </slot> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import IconMale from '@/assets/mine/icon-male.png'; |
| | | import IconFemale from '@/assets/mine/icon-female.png'; |
| | | import { CommonTaskCardProps } from './card'; |
| | | import FlexJobTopView from './FlexJobTopView.vue'; |
| | | import { Gender } from '@12333/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'FlexJobCard', |
| | |
| | | showFooterLeft?: boolean; |
| | | showFooterRight?: boolean; |
| | | showDoneDetail?: boolean; |
| | | |
| | | name?: string; |
| | | genderType?: Gender; |
| | | age?: number; |
| | | isRealName?: boolean; |
| | | educationalLevel?: string; |
| | | workExperience?: string; |
| | | arrangeCount?: number; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), { |
| | |
| | | showFooterRight: true, |
| | | showDoneDetail: true, |
| | | }); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'cancelCollection'): void; |
| | | (e: 'contact'): void; |
| | | }>(); |
| | | </script> |
| | | |
| | | <style lang="scss"> |