|
@@ -9,7 +9,7 @@
|
|
|
<view style="padding-bottom: 30rpx;margin: 0 30rpx">
|
|
|
<view style="display: flex;justify-content: center;font-size: 44rpx;padding-bottom: 20rpx;">
|
|
|
<p>{{msg1}}</p>
|
|
|
- <view class="upload-btn" v-if="isShowUpload" @click="toUpload()">
|
|
|
+ <view class="upload-btn" v-if="isShowUpload" @click="toUpload()" key="0">
|
|
|
<image src="../../static/img/icon-upload.png" style="height: 40rpx;width: 40rpx;"></image>
|
|
|
<p style="font-size: 28rpx;">快速上传</p>
|
|
|
</view>
|
|
@@ -23,16 +23,18 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view style="display: flex;justify-content: center;align-items: center;" v-if="isShowUpload && !isSpecial && !isTimeOut">
|
|
|
+ <view style="display: flex;justify-content: center;align-items: center;"
|
|
|
+ v-if="isShowUpload && !isSpecial && !isTimeOut" key="1">
|
|
|
<image style="height: 60rpx;width: 60rpx;" src="../../static/img/icon-time.png"></image>
|
|
|
<p style="font-size: 30rpx;color: #f2d241;">剩余时间:{{timeLeft}}</p>
|
|
|
</view>
|
|
|
|
|
|
- <view style="display: flex;justify-content: center;align-items: center;" v-if="isShowUpload && !isSpecial && isTimeOut">
|
|
|
+ <view style="display: flex;justify-content: center;align-items: center;"
|
|
|
+ v-if="isShowUpload && !isSpecial && isTimeOut" key="2">
|
|
|
<image style="height: 60rpx;width: 60rpx;" src="../../static/img/icon-time2.png"></image>
|
|
|
<p style="font-size: 30rpx;color: #f70c0c;">超时:{{timeLeft}}</p>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<view class="address" v-if="!isSpecial">
|
|
|
<view class="address_icon">
|
|
|
<image style="width: 50rpx;height: 50rpx;" :src="picture.icon_loc" mode="">
|
|
@@ -55,17 +57,17 @@
|
|
|
<image :src="product.PhotoUrl" style="width: 150rpx;height: 150rpx;" mode="">
|
|
|
</image>
|
|
|
<view class="basicInfo_txt">
|
|
|
- <p style="margin-bottom: 10rpx;font-size: 35rpx;font-weight: 550;">{{project.project_name}}</p>
|
|
|
- <p style="font-size: 30rpx;">商品价值:{{project.Product.ProductPrice}}元</p>
|
|
|
+ <p style="margin-bottom: 10rpx;font-size: 35rpx;">{{project.project_name}}</p>
|
|
|
+ <p style="font-size: 30rpx;">商品价值:{{project.Product.showProductPrice}}元</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="keyInfo">
|
|
|
<view style="margin-bottom: 40rpx;">
|
|
|
- <p style="font-size: 36rpx;font-weight: 550;">关键任务信息</p>
|
|
|
+ <p style="font-size: 36rpx;">关键任务信息</p>
|
|
|
</view>
|
|
|
<view v-if="!isSpecial">
|
|
|
- <p style="font-weight: 600;margin-bottom: 10rpx;">合作方式</p>
|
|
|
+ <p style="margin-bottom: 10rpx;">合作方式</p>
|
|
|
<p>粉丝量:{{strategy.show_followers_low}}-{{strategy.show_followers_up}}
|
|
|
|
|
|
稿费:{{strategy.fee_form_t}}
|
|
@@ -75,13 +77,13 @@
|
|
|
<view class="line"></view>
|
|
|
|
|
|
<view style="margin-top: 20rpx;margin-bottom: 10rpx;">
|
|
|
- <p style="font-weight: 600;margin-bottom: 10rpx;">社媒平台:</p>
|
|
|
+ <p style="margin-bottom: 10rpx;">社媒平台:</p>
|
|
|
<p>{{project.project_platform_t}}</p>
|
|
|
</view>
|
|
|
|
|
|
<view class="line"></view>
|
|
|
|
|
|
- <p style="font-weight: 600;margin-top: 10rpx;">任务要求</p>
|
|
|
+ <p style="margin-top: 10rpx;">任务要求</p>
|
|
|
<view class="keyInfo_task">
|
|
|
<view style="display: flex;align-items: center;margin: 10rpx 0;">
|
|
|
<p>内容形式:</p>
|
|
@@ -103,7 +105,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="task-progress">
|
|
|
- <p style="font-size: 32rpx;font-weight: 600;">任务进度</p>
|
|
|
+ <p style="font-size: 32rpx;">任务进度</p>
|
|
|
<view class="task-progress-card" v-bind:style="task.task_stage == 1 ? 'background-color: #f2d241' : ''">
|
|
|
<view class="tpc-txt1">
|
|
|
<p>报名信息</p>
|
|
@@ -114,7 +116,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="task-progress-card"
|
|
|
- v-if="(task.task_stage >= 5 && task.task_stage <= 15) || ((task.task_stage === 16 || task.task_stage === 3) && task.logistics_status >= 2)"
|
|
|
+ v-if="(task.task_stage >= 5 && task.task_stage <= 15) || ((task.task_stage === 16 || task.task_stage === 3) && task.logistics_status >= 2) && !isSpecial"
|
|
|
v-bind:style="task.task_stage >= 5 && task.task_stage <= 6 ? 'background-color: #f2d241' : ''">
|
|
|
<view class="tpc-txt1">
|
|
|
<p>物流信息</p>
|
|
@@ -236,7 +238,7 @@
|
|
|
<view class="tpc-txt1">
|
|
|
<p>已结案</p>
|
|
|
</view>
|
|
|
- <view class="tpc-txt2" @click="toWithdraw()">
|
|
|
+ <view class="tpc-txt2" @click="toWithdraw()" v-if="!isSpecial">
|
|
|
<p>前往提现</p>
|
|
|
<image class="tpc-icon" :src="picture.icon_right"></image>
|
|
|
</view>
|
|
@@ -262,14 +264,13 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="block"></view>
|
|
|
- <view class="submit" v-if="task.task_stage >= 7 && task.task_stage <= 14">
|
|
|
+ <!-- <view class="submit" v-if="task.task_stage >= 7 && task.task_stage <= 14">
|
|
|
<button type="default" class="submit_btn" @click="submit()" :disabled="isNotShowSubmit"
|
|
|
v-bind:style="isNotShowSubmit ? '' : 'background-color: #f2d241'">
|
|
|
确认提交</button>
|
|
|
- </view>
|
|
|
- <view class="submit" v-if="task.task_stage === 15">
|
|
|
- <button type="default" class="submit_btn" @click="toWithdraw()"
|
|
|
- v-bind:style="isNotShowSubmit ? '' : 'background-color: #f2d241'">
|
|
|
+ </view> -->
|
|
|
+ <view class="submit" v-if="task.task_stage === 15 && !isSpecial">
|
|
|
+ <button type="default" class="submit_btn" @click="toWithdraw()">
|
|
|
前往提现</button>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -280,7 +281,8 @@
|
|
|
import region from '@/components/pca-code.json';
|
|
|
import mvBar from "@/components/mys_navBar/mysNavBar";
|
|
|
import {
|
|
|
- fansview
|
|
|
+ fansview,
|
|
|
+ money
|
|
|
} from '@/components/utils.js';
|
|
|
export default {
|
|
|
components: {
|
|
@@ -522,7 +524,8 @@
|
|
|
})
|
|
|
for (let i = 0; i < scriptList.length; ++i) {
|
|
|
if (scriptList[i].is_ok === 1) {
|
|
|
- if (scriptList[i].auto_sketch_break_at !== null && scriptList[i].auto_sketch_break_at !== "") {
|
|
|
+ if (scriptList[i].auto_sketch_break_at !== null && scriptList[i]
|
|
|
+ .auto_sketch_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(scriptList[i].auto_sketch_break_at)
|
|
|
} else {
|
|
|
// 为初稿违约限制时间赋值并返回
|
|
@@ -536,7 +539,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else if (this.task.sketch_status === 3 || this.task.sketch_status === 4){ //修改
|
|
|
+ } else if (this.task.sketch_status === 3 || this.task.sketch_status === 4) { //修改
|
|
|
let sketchList = null;
|
|
|
let sketch = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-sketch' +
|
|
@@ -581,7 +584,8 @@
|
|
|
})
|
|
|
for (let i = 0; i < sketchList.length; ++i) {
|
|
|
if (sketchList[i].is_ok === 1) {
|
|
|
- if (sketchList[i].auto_link_break_at !== null && sketchList[i].auto_link_break_at !== "") {
|
|
|
+ if (sketchList[i].auto_link_break_at !== null && sketchList[i]
|
|
|
+ .auto_link_break_at !== "") {
|
|
|
this.timeLeft = this.thistime(sketchList[i].auto_link_break_at)
|
|
|
} else {
|
|
|
// 为链接违约限制时间赋值并返回
|
|
@@ -594,7 +598,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else if(this.task.link_status === 3 || this.task.link_status === 4){
|
|
|
+ } else if (this.task.link_status === 3 || this.task.link_status === 4) {
|
|
|
let linkList = null;
|
|
|
let link = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-link' +
|
|
@@ -639,7 +643,8 @@
|
|
|
|
|
|
for (let i = 0; i < linkList.length; ++i) {
|
|
|
if (linkList[i].is_ok === 1) {
|
|
|
- if (linkList[i].auto_data_break_at !== null && linkList[i].auto_data_break_at !== "") {
|
|
|
+ if (linkList[i].auto_data_break_at !== null && linkList[i].auto_data_break_at !==
|
|
|
+ "") {
|
|
|
this.timeLeft = this.thistime(linkList[i].auto_data_break_at)
|
|
|
} else {
|
|
|
// 为数据违约限制时间赋值并返回
|
|
@@ -652,7 +657,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- } else if (this.task.data_status === 3 || this.task.data_status === 4){
|
|
|
+ } else if (this.task.data_status === 3 || this.task.data_status === 4) {
|
|
|
let dataList = null;
|
|
|
let data = null;
|
|
|
await this.$https.get('/youngee/c/t/g/get-task-data' +
|
|
@@ -725,6 +730,8 @@
|
|
|
|
|
|
this.project = res.data.data.project_detail
|
|
|
this.project.Product = JSON.parse(res.data.data.project_detail.product_snap);
|
|
|
+ this.project.Product.showProductPrice = money(this.project.Product.ProductPrice)
|
|
|
+
|
|
|
let ProductPhoto = JSON.parse(res.data.data.project_detail.product_photo_snap);
|
|
|
for (let j = 0; j < ProductPhoto.length; ++j) {
|
|
|
if (ProductPhoto[j].Symbol == 1) {
|
|
@@ -767,6 +774,8 @@
|
|
|
if (this.task.task_stage == 7 || this.task.task_stage == 9 || this.task.task_stage == 11 ||
|
|
|
this.task.task_stage == 13) {
|
|
|
this.isShowUpload = true
|
|
|
+ } else {
|
|
|
+ this.isShowUpload = false
|
|
|
}
|
|
|
|
|
|
// 判断确认提交按钮是否可用
|
|
@@ -797,7 +806,7 @@
|
|
|
})
|
|
|
},
|
|
|
toUpload() {
|
|
|
- if (this.task.task_stage == 7) { // 上传脚本
|
|
|
+ if (this.task.task_stage == 7 || this.task.task_stage == 8) { // 上传脚本
|
|
|
var data = {
|
|
|
taskId: this.task.task_id,
|
|
|
scriptStatus: this.task.script_status
|
|
@@ -806,7 +815,7 @@
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/workspace/uploadscript?textObj=' + encodeURIComponent(data)
|
|
|
});
|
|
|
- } else if (this.task.task_stage == 9) { // 上传初稿
|
|
|
+ } else if (this.task.task_stage == 9 || this.task.task_stage == 10) { // 上传初稿
|
|
|
var data = {
|
|
|
taskId: this.task.task_id,
|
|
|
sketchStatus: this.task.sketch_status
|
|
@@ -815,7 +824,7 @@
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/workspace/uploadsketch?textObj=' + encodeURIComponent(data)
|
|
|
});
|
|
|
- } else if (this.task.task_stage == 11) { // 上传链接
|
|
|
+ } else if (this.task.task_stage == 11 || this.task.task_stage == 12) { // 上传链接
|
|
|
var data = {
|
|
|
taskId: this.task.task_id,
|
|
|
linkStatus: this.task.link_status
|
|
@@ -824,7 +833,7 @@
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/workspace/uploadlink?textObj=' + encodeURIComponent(data)
|
|
|
});
|
|
|
- } else if (this.task.task_stage == 13) { // 上传数据
|
|
|
+ } else if (this.task.task_stage == 13 || this.task.task_stage == 14) { // 上传数据
|
|
|
var data = {
|
|
|
taskId: this.task.task_id,
|
|
|
dataStatus: this.task.data_status
|
|
@@ -1080,7 +1089,6 @@
|
|
|
.ipon {
|
|
|
color: #333333;
|
|
|
font-size: 30rpx;
|
|
|
- font-weight: 500;
|
|
|
margin-bottom: 10rpx;
|
|
|
}
|
|
|
}
|
|
@@ -1090,13 +1098,11 @@
|
|
|
background-color: #FFFFFF;
|
|
|
|
|
|
.keyInfo_task {
|
|
|
- color: #999999;
|
|
|
+ // color: #999999;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .keyInfo h3 {
|
|
|
- font-weight: 600;
|
|
|
- }
|
|
|
+ .keyInfo h3 {}
|
|
|
|
|
|
.keyInfo p {
|
|
|
font-size: 30rpx;
|
|
@@ -1134,7 +1140,6 @@
|
|
|
.account_fans p {
|
|
|
display: inline-block;
|
|
|
color: #333333;
|
|
|
- font-weight: 550;
|
|
|
}
|
|
|
|
|
|
.account_btn {}
|
|
@@ -1199,12 +1204,11 @@
|
|
|
|
|
|
.submit_btn {
|
|
|
width: 60%;
|
|
|
- // background-color: #FCCF41;
|
|
|
+ background-color: #FCCF41;
|
|
|
border-radius: 20rpx;
|
|
|
font-size: 36rpx;
|
|
|
line-height: 200%;
|
|
|
letter-spacing: 10rpx;
|
|
|
- font-weight: 500;
|
|
|
height: 80%;
|
|
|
}
|
|
|
|