| | |
| | | </div> |
| | | <div class="taskDetail-address-wrapper"> |
| | | <div class="taskDetail-address-title-wrapper"> |
| | | <img :src="IconAttentioActive" class="taskDetail-address-title-icon" /> |
| | | <img :src="IconLocaltion" class="taskDetail-address-title-icon" /> |
| | | <div class="taskDetail-address-title">宁波柏悦酒店</div> |
| | | </div> |
| | | <div class="taskDetail-address-info-wrapper"> |
| | | <div class="taskDetail-address-info">宁波市鄞州区东钱湖大堰路188号宁波柏悦酒店</div> |
| | | <RectRight :size="6" class="taskDetail-address-info-icon" /> |
| | | <RectRight :size="8" class="taskDetail-address-info-icon" /> |
| | | </div> |
| | | </div> |
| | | </Cell> |
| | | <Cell :show-title="false"> |
| | | <CellChunk title="福利信息"> |
| | | <div class="taskDetail-welfare-list"> |
| | | <TaskDetailWelfareItem :icon="IconAttentioActive" text="高温补贴" /> |
| | | <TaskDetailWelfareItem :icon="IconAttentioActive" text="高温补贴" /> |
| | | <TaskDetailWelfareItem :icon="IconAttentioActive" text="高温补贴" /> |
| | | <TaskDetailWelfareItem :icon="IconAttentioActive" text="高温补贴" /> |
| | | <TaskDetailWelfareItem :icon="IconAttentioActive" text="高温补贴" /> |
| | | </div> |
| | | </CellChunk> |
| | | <CellChunk title="报名条件"> |
| | | <div class="taskDetail-limit-list"> |
| | | <div class="taskDetail-limit-list-item"> |
| | | <div class="taskDetail-limit-list-item-label">年龄:</div> |
| | | <div class="taskDetail-limit-list-item-text">18-45岁</div> |
| | | </div> |
| | | <div class="taskDetail-limit-list-item"> |
| | | <div class="taskDetail-limit-list-item-label">性别:</div> |
| | | <div class="taskDetail-limit-list-item-text">不限</div> |
| | | </div> |
| | | <div class="taskDetail-limit-list-item"> |
| | | <div class="taskDetail-limit-list-item-label">资格证书:</div> |
| | | <div class="taskDetail-limit-list-item-text">健康证</div> |
| | | </div> |
| | | </div> |
| | | </CellChunk> |
| | | <CellChunk title="发布者信息"> |
| | | <CompanyDesc @click="goCompanyDetail"></CompanyDesc> |
| | | </CellChunk> |
| | | </Cell> |
| | | <Cell> |
| | | <template #title> |
| | |
| | | :isFlex="false" |
| | | openType="share" |
| | | ></PageFooterAction> |
| | | <PageFooterBtn type="primary">报名</PageFooterBtn> |
| | | <PageFooterAction :icon="IconPhone" text="手机" :isFlex="false"></PageFooterAction> |
| | | <PageFooterBtn type="primary">报名(5人已报名)</PageFooterBtn> |
| | | </PageFooter> |
| | | </LoadingLayout> |
| | | </template> |
| | |
| | | <script setup lang="ts"> |
| | | import Taro from '@tarojs/taro'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as orderServices from '@12333/services/api/Order'; |
| | | import * as flexWorkerServices from '@12333/services/api/FlexWorker'; |
| | | import { useToggle } from 'senin-mini/hooks'; |
| | | import { TaskPrice } from '@12333/components'; |
| | | import { TaskPrice, TaskDetailWelfareItem } from '@12333/components'; |
| | | import IconAttention from '@/assets/task/icon-attention.png'; |
| | | import IconAttentioActive from '@/assets/task/icon-attention-active.png'; |
| | | import { RectRight } from '@nutui/icons-vue-taro'; |
| | | import IconShare from '@/assets/task/icon-share.png'; |
| | | import IconPhone from '@/assets/task/icon-phone.png'; |
| | | import IconSafe from '@/assets/task/icon-safe.png'; |
| | | import IconLocaltion from '@/assets/task/icon-localtion.png'; |
| | | import './taskDetail.scss'; |
| | | import CompanyDesc from '../components/CompanyDesc.vue'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | data: detail, |
| | | refetch, |
| | | } = useQuery({ |
| | | queryKey: ['orderServices/getOrdeForDetail', taskId], |
| | | queryKey: ['flexWorkerServices/getOrdeForDetail', taskId], |
| | | queryFn: async () => { |
| | | return await orderServices.getOrdeForDetail( |
| | | return await flexWorkerServices.getOrdeForDetail( |
| | | { id: taskId }, |
| | | { |
| | | showLoading: false, |
| | |
| | | url: `${RouterPath.complaint}?id=${taskId}`, |
| | | }); |
| | | } |
| | | |
| | | function goCompanyDetail() { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.companyDetail}?id=${taskId}`, |
| | | }); |
| | | } |
| | | </script> |