zhengyiming
3 天以前 a2f75928b5abc29949e5655a687a5ad0a77533ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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>