| | |
| | | <template> |
| | | <ContentView> |
| | | <div class="workbenches-banner-wrapper"> |
| | | <!-- <div class="workbenches-banner-wrapper"> |
| | | <nut-swiper :auto-play="3000"> |
| | | <nut-swiper-item v-for="(item, index) in list" :key="index"> |
| | | <img :src="item" class="banner-img" draggable="false" /> |
| | | </nut-swiper-item> |
| | | </nut-swiper> |
| | | </div> |
| | | </div> --> |
| | | |
| | | <Cell :show-title="false" class="workbenches-cell"> |
| | | <CellChunk title="任务"> |
| | |
| | | import IconPersonManage from '@/assets/workbenches/icon-person-manage.png'; |
| | | import IconPublishTask from '@/assets/workbenches/icon-publish-task.png'; |
| | | import IconTaskManage from '@/assets/workbenches/icon-task-manage.png'; |
| | | import { useAccessLogin } from '@/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | 'https://storage.360buyimg.com/jdc-article/fristfabu.jpg', |
| | | ]); |
| | | |
| | | function goPage(routeName: string) { |
| | | const goPage = useAccessLogin((routeName: string) => { |
| | | Taro.navigateTo({ |
| | | url: routeName, |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | function goPublishTask() { |
| | | const goPublishTask = () => { |
| | | goPage(RouterPath.publishTask); |
| | | } |
| | | }; |
| | | |
| | | function goPersonManage() { |
| | | goPage(RouterPath.jobApplicationManage); |