| | |
| | | > |
| | | {{ GetTaskInfoQueryResultHireButtonText[detail.hireButton] }} |
| | | </div> |
| | | <div v-if="from === 'cancel'" :style="{ color: '#999999' }">已取消</div> |
| | | </template> |
| | | <div class="taskDetail-time"> |
| | | {{ dayjs(detail?.beginTime).format('YYYY年MM月DD日') }} 至 |
| | |
| | | :unit="BillingMethodEnumUnit[detail.billingMethod]" |
| | | /> |
| | | </div> |
| | | <div class="taskDetail-address-wrapper"> |
| | | <div class="taskDetail-address-wrapper" @click="goMap"> |
| | | <div class="taskDetail-address-title-wrapper"> |
| | | <img :src="IconLocaltion" class="taskDetail-address-title-icon" /> |
| | | <div class="taskDetail-address-title">{{ detail?.addressName ?? '' }}</div> |
| | |
| | | }); |
| | | |
| | | function handleHire() { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.taskSubmitCheck}?id=${id}`, |
| | | }) |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.taskSubmitCheck}?id=${id}`, |
| | | }); |
| | | } |
| | | |
| | | function goMap() { |
| | | Taro.openLocation({ |
| | | latitude: detail.value?.latitude, |
| | | longitude: detail.value?.longitude, |
| | | scale: 18, |
| | | }); |
| | | } |
| | | </script> |