<template>
|
<PageLayoutWithBg class="mineHire-page-wrapper" :title="'服务名'" :need-auth="false">
|
<LoadingLayout :loading="isLoading" :error="isError" :loadError="refetch">
|
<ContentScrollView style="background-color: transparent"> serciceDetail </ContentScrollView>
|
</LoadingLayout>
|
</PageLayoutWithBg>
|
</template>
|
|
<script setup lang="ts">
|
import { useTaskInfo } from '@12333/hooks';
|
import InnerPage from './InnerPage.vue';
|
import Taro from '@tarojs/taro';
|
|
defineOptions({
|
name: 'serciceDetail',
|
});
|
|
const router = Taro.useRouter();
|
const id = router.params?.id ?? '';
|
|
const { isLoading, isError, detail, refetch } = useTaskInfo({
|
id,
|
});
|
</script>
|
|
<style lang="scss">
|
@import '@/styles/common.scss';
|
</style>
|