|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="total-page page-env-20 page-box">
|
|
|
- <Nav :title="'任务详情'" :genre="2" :fixedHeight="fixedHeight">
|
|
|
+ <Nav :back="isReturn!==1" :title="'任务详情'" :genre="2" :fixedHeight="fixedHeight">
|
|
|
<view class="task-tabs m-b20" :style=" {top:`${$tools.topHeight()}px`}">
|
|
|
<view class="detail-bg m-lr20 m-b10 m-t10">
|
|
|
<image class="detail-img" src="/page_task/static/img/task-details/top-bg.png" mode="aspectFill">
|
|
|
@@ -223,12 +223,16 @@
|
|
|
creditHeight: '100%',
|
|
|
basicType:['1'],
|
|
|
restType:['2'],
|
|
|
+ isReturn:0
|
|
|
}
|
|
|
},
|
|
|
onLoad(data) {
|
|
|
console.log('-----------aaaaa-----------')
|
|
|
if (data.taskId !== undefined) {
|
|
|
this.businessId = data.taskId
|
|
|
+ if(data.isReturn!==undefined){
|
|
|
+ this.isReturn=data.isReturn*1
|
|
|
+ }
|
|
|
} else {
|
|
|
tools.leftClick()
|
|
|
}
|