|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
- <view style="position: relative;" v-if="!tyy">
|
|
|
+ <view style="position: relative;">
|
|
|
<!-- 胶囊 -->
|
|
|
<mvBar :mysNavConfig="mysNavConfig"></mvBar>
|
|
|
- <view class="" id="wrap0">
|
|
|
+ <view class="" id="wrap0" v-if="!tyy">
|
|
|
|
|
|
<view class="home" style="padding-top: 180rpx;">
|
|
|
|
|
@@ -10,7 +10,9 @@
|
|
|
<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000"
|
|
|
:duration="1000">
|
|
|
<swiper-item v-for="item in carousel_images">
|
|
|
- <image :src="item" mode="" style="width: 100% ;height: 100% ;"></image>
|
|
|
+ <image :src="item" mode="aspectFill" style="width: 100%;height: 100%;"
|
|
|
+ @click="previewImage1(item)">
|
|
|
+ </image>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
|
|
@@ -30,15 +32,15 @@
|
|
|
</view>
|
|
|
<view class="tasks">
|
|
|
<view class="tasksleft">
|
|
|
- <p><span style="color: #FDD442;font-size: 120% ;">{{information.taskNum}}</span>
|
|
|
+ <p><span style="color: #FDD442;font-size: 50rpx ;">{{information.taskNum}}</span>
|
|
|
</p>
|
|
|
- <p>任务数量</p>
|
|
|
+ <p style="font-weight: 600;">任务数量</p>
|
|
|
</view>
|
|
|
<view class="title-left"></view>
|
|
|
<view class="tasksright">
|
|
|
- <p><span style="color: #FDD442;font-size: 120% ;">{{information.apply_num}}</span>
|
|
|
+ <p><span style="color: #FDD442;font-size: 50rpx ;">{{information.apply_num}}</span>
|
|
|
</p>
|
|
|
- <p>报名人数</p>
|
|
|
+ <p style="font-weight: 600;">报名人数</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -51,15 +53,18 @@
|
|
|
<p>任务奖励</p>
|
|
|
</view>
|
|
|
<view class="markcontent">
|
|
|
- <view style="display: flex;margin: 5rpx 0;">
|
|
|
- <p>商品价值:</p>
|
|
|
- <p class="wvp" style="padding: 0 30rpx;">{{information.Product.product_price}}元</p>
|
|
|
+ <view style="display: flex;margin: 10rpx 0;">
|
|
|
+ <p class="label">商品价值:</p>
|
|
|
+ <p class="wvp" style="padding: 0;">{{information.Product.product_price}}元</p>
|
|
|
</view>
|
|
|
- <view style="display: flex;margin: 5rpx 0;">
|
|
|
- <p v-if="information.Product.product_url !== ''">商品链接:</p>
|
|
|
- <p class="wvp">{{information.Product.product_url}}</p>
|
|
|
+ <view style="display: flex;;margin: 10rpx 0;">
|
|
|
+ <p class="label" v-if="information.Product.product_url !== ''">商品链接:</p>
|
|
|
+ <p class="wvp" style="padding: 0;">{{information.Product.product_url}}</p>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex;margin: 10rpx 0;">
|
|
|
+ <p class="label">合作佣金:</p>
|
|
|
+ <p style="color: #f2d22d;">点击报名后显示</p>
|
|
|
</view>
|
|
|
- <p>合作佣金:点击报名后显示</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="">
|
|
@@ -67,19 +72,17 @@
|
|
|
<p>账号要求</p>
|
|
|
</view>
|
|
|
<view class="markcontent">
|
|
|
- <view style="display: flex;margin: 5rpx 0;">
|
|
|
- <p>社媒平台:</p>
|
|
|
+ <view style="display: flex;margin: 10rpx 0;">
|
|
|
+ <p class="label">社媒平台:</p>
|
|
|
<p class="wvp">{{information.PlatformInfo.platform_name}}</p>
|
|
|
- <p style="padding-left: 50rpx;">任务形式:</p>
|
|
|
- <p class="wvp">{{information.project_form}}</p>
|
|
|
</view>
|
|
|
- <view style="display: flex;margin: 5rpx 0;">
|
|
|
- <p>创作者类型: </p>
|
|
|
- <p class="wvp" v-for="(item,index) in information.talent_type">{{item}}</p>
|
|
|
+ <view style="display: flex;margin: 10rpx 0;">
|
|
|
+ <p class="label">任务形式:</p>
|
|
|
+ <p class="wvp">{{information.project_form}}</p>
|
|
|
</view>
|
|
|
- <view style="display: flex;margin: 5rpx 0;">
|
|
|
- <p>粉丝数要求: </p>
|
|
|
- <p class="wvp" v-for="(item,index) in information.Numfensi">{{item}}</p>
|
|
|
+ <view style="display: flex;margin: 10rpx 0;">
|
|
|
+ <p class="label">创作者类型: </p>
|
|
|
+ <p class="wvp1" v-for="(item,index) in information.talent_type">{{item}}</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -92,14 +95,14 @@
|
|
|
<p>任务要求</p>
|
|
|
</view>
|
|
|
<view class="markcontent">
|
|
|
- <view style="display: flex;margin: 5rpx 0;">
|
|
|
- <p>内容形式:</p>
|
|
|
+ <view style="display: flex;margin: 10rpx 0;">
|
|
|
+ <p class="label">内容形式:</p>
|
|
|
<p class="wvp">{{information.content}}</p>
|
|
|
</view>
|
|
|
- <p style="margin: 5rpx 0;">商品描述:</p>
|
|
|
+ <p style="font-weight: 600;margin: 10rpx 0;">商品描述:</p>
|
|
|
<p class="wvp" style="margin: 0;padding: 10rpx 0;"> {{information.Product.product_detail}}
|
|
|
</p>
|
|
|
- <p style="margin: 5rpx 0;">任务详情:</p>
|
|
|
+ <p style="font-weight: 600;margin: 10rpx 0;">任务详情:</p>
|
|
|
<p class="wvp" style="margin: 0;padding: 10rpx 0;"> {{information.project_detail}} </p>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -133,9 +136,11 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="signup">
|
|
|
- <button type="default" class="but1" :disabled="tyy" :class="{'on':item.title == '1',}"
|
|
|
- @click="toggle('bottom')" v-if="Registered==0"> 立即报名</button>
|
|
|
- <button type="default" class="but1" disabled v-if="Registered==1"> 已报名 </button>
|
|
|
+ <button type="default" class="but1" :loading="loading" :disabled="tyy"
|
|
|
+ :class="{'on':item.title == '1',}" @click="toggle('bottom')" v-if="isSign==0 && ddl == 0">
|
|
|
+ 立即报名</button>
|
|
|
+ <button type="default" class="but1" disabled v-if="isSign==1 && ddl == 0"> 已报名 </button>
|
|
|
+ <button type="default" class="but1" disabled v-if="ddl==1"> 报名结束 </button>
|
|
|
<button type="default" class="but2" @click="toggle1('bottom')">
|
|
|
<image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task8.png" mode=""></image>
|
|
|
分享
|
|
@@ -150,12 +155,20 @@
|
|
|
<image :src="img" style="width: 250rpx;height: 235rpx;margin-top: -9% ;" mode="">
|
|
|
</image>
|
|
|
<view class="samplecharacter">
|
|
|
- <p style='color: #666666;font-size: 80% ;'>
|
|
|
- {{ information.IsBuySamples.buy_samples_type==1?'样叽拍单返款':'不拍单'}}<span
|
|
|
- style='font-size: 120% ;color: #FCA641;margin-right: 3% ;'
|
|
|
- v-if="information.IsBuySamples.buy_samples_type==1">¥{{information.IsBuySamples.buySamplesRefund}}</span>
|
|
|
- </p>
|
|
|
- <p style='color: #999999;font-size: 60% ;'>品牌合作,作品合格返还。不合格,筛选后返还。</p>
|
|
|
+ <p>{{information.project_name}}</p>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 黑线 -->
|
|
|
+ <view class=""
|
|
|
+ style="border-bottom: 2rpx solid #C0C0C0;margin-top: 3% ;margin-bottom: 3% ;">
|
|
|
+ </view>
|
|
|
+ <!-- 商品价值及任务形式 -->
|
|
|
+ <view style="display: flex;align-items: center;justify-content: space-between;">
|
|
|
+ <view style="margin-left: 20rpx;font-size: 30rpx;">
|
|
|
+ <p>商品价值:{{information.Product.product_price}}RMB</p>
|
|
|
+ </view>
|
|
|
+ <view style="margin-right: 20rpx;font-size: 30rpx;">
|
|
|
+ <p>任务形式:{{information.project_form}}</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 黑线 -->
|
|
@@ -163,21 +176,26 @@
|
|
|
style="border-bottom: 2rpx solid #C0C0C0;margin-top: 3% ;margin-bottom: 3% ;">
|
|
|
</view>
|
|
|
<view class="" style="margin-left: 3% ;">
|
|
|
- <h3>产品规格</h3>
|
|
|
+ <!-- <h3>产品规格</h3> -->
|
|
|
<view class="">
|
|
|
<uni-data-checkbox mode="tag" v-model="value" :localdata="sex">
|
|
|
</uni-data-checkbox>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="" style="margin-left: 3% ; ">
|
|
|
- <h3>合作选择(平台账号不达标不能选择)</h3>
|
|
|
- <view class="" style="display: flex;">
|
|
|
- <view class="buu">
|
|
|
- <uni-data-checkbox mode="tag" v-model="value1" :localdata="coop_choice">
|
|
|
- </uni-data-checkbox>
|
|
|
+ <p style="font-size: 30rpx;">合作选择(平台账号不达标不能选择)</p>
|
|
|
+ <view id="coop_box">
|
|
|
+ <view v-for="item in coop_choice" :key="item.strategy_id" class="coop_box_btn"
|
|
|
+ :class="strategy_id==item.strategy_id?'borderColor':''"
|
|
|
+ @click="coopClick(item)">
|
|
|
+ <p>粉丝量{{item.followers_low}}-{{item.followers_up}}
|
|
|
+ 稿费-{{item.fee_form_t}}
|
|
|
+ </p>
|
|
|
+ <view v-if="item.fee_form==3">
|
|
|
+ <input class="offer_input" type="digit" placeholder="0.0"
|
|
|
+ v-model="item.offer" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -186,9 +204,10 @@
|
|
|
style="border-bottom: 2rpx solid #C0C0C0;margin-top: 3% ;margin-bottom: 3% ;">
|
|
|
</view>
|
|
|
<view class="butto">
|
|
|
- <!-- <button class="mini-btn" size="mini" @tap="Reset" style="background-color: #FFFFFF;">更新账号</button> -->
|
|
|
+ <button class="mini-btn" size="mini" @tap="Reset"
|
|
|
+ style="background-color: #FFFFFF;">更新账号信息</button>
|
|
|
<button class="mini-btn" size="mini" @tap="determine"
|
|
|
- style="background-color: #FCCF41;">立即报名</button>
|
|
|
+ style="background-color: #f2d22d;">立即报名</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -242,7 +261,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -262,6 +280,13 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ ddl: "",
|
|
|
+ loading: true,
|
|
|
+ isSign: 0,
|
|
|
+ strategy_id: 0,
|
|
|
+ strategy: null,
|
|
|
+ input_offer: 0.0,
|
|
|
+ chooseBtn: 0,
|
|
|
share: {
|
|
|
title: "",
|
|
|
path: '',
|
|
@@ -292,7 +317,7 @@
|
|
|
topp1: '',
|
|
|
topp2: '',
|
|
|
scrollTop: '',
|
|
|
- activeColor: '#FCCF41',
|
|
|
+ activeColor: '#f2d22d',
|
|
|
value: '',
|
|
|
value1: '',
|
|
|
sex: [],
|
|
@@ -379,9 +404,6 @@
|
|
|
talent: {},
|
|
|
account: [],
|
|
|
information: {},
|
|
|
- token: '',
|
|
|
- fensishu: '',
|
|
|
- Registered: '0',
|
|
|
zhanghaocode: '',
|
|
|
product_detail_images: [],
|
|
|
codeImg: '',
|
|
@@ -390,33 +412,54 @@
|
|
|
},
|
|
|
async created() {},
|
|
|
onShow() {
|
|
|
- this.fensishu = ''
|
|
|
- this.token = uni.getStorageSync('token')
|
|
|
+ uni.showLoading({
|
|
|
+ title: '加载中'
|
|
|
+ });
|
|
|
this.getProjectDetail()
|
|
|
- console.log(this.token)
|
|
|
- // this.value=''
|
|
|
- // this.value1=''
|
|
|
+ // this.getlist3()
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
// 传过来的id
|
|
|
- // console.log(options)
|
|
|
+ console.log(options)
|
|
|
this.projectid = options.id
|
|
|
+ this.ddl = parseInt(options.ddl)
|
|
|
const scene = decodeURIComponent(options.scene);
|
|
|
if (scene != "undefined") {
|
|
|
this.projectid = scene;
|
|
|
}
|
|
|
-
|
|
|
this.share.path = '/pages/tasksquare/taskdetail?id=' + this.projectid
|
|
|
this.postlist()
|
|
|
-
|
|
|
},
|
|
|
onReady() { // 注意:想要拿到元素实例,需要在实例已经挂载到页面上才可以
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ previewImage1(item){
|
|
|
+ console.log("image src: ", item)
|
|
|
+ let that = this
|
|
|
+ wx.previewImage({
|
|
|
+ current: item, // 当前显示图片的http链接
|
|
|
+ urls: that.carousel_images // 需要预览的图片http链接列表
|
|
|
+ })
|
|
|
+ },
|
|
|
+ coopClick(value) {
|
|
|
+ console.log("选中了" + value.strategy_id);
|
|
|
+ if (this.account[0].fans_count < value.followers_low) {
|
|
|
+ // 提示“粉丝量不符合报名条件”
|
|
|
+ uni.showToast({
|
|
|
+ title: '粉丝量不符合报名条件',
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.strategy_id = value.strategy_id;
|
|
|
+ console.log(this.strategy_id)
|
|
|
+ this.strategy = value;
|
|
|
+ }
|
|
|
+ },
|
|
|
|
|
|
postlist() {
|
|
|
- this.$http.post('/youngee/c/p/get-qrcode', {
|
|
|
+ this.$https.post('/youngee/c/p/get-qrcode', {
|
|
|
scene: this.projectid,
|
|
|
page: 'pages/tasksquare/taskdetails',
|
|
|
})
|
|
@@ -426,13 +469,13 @@
|
|
|
})
|
|
|
},
|
|
|
getProjectDetail() {
|
|
|
- this.$http.get('/youngee/c/t/g/get-project-detail' +
|
|
|
+ this.$https.get('/youngee/c/t/g/get-project-detail' +
|
|
|
"?" +
|
|
|
"projectid" +
|
|
|
"=" +
|
|
|
this.projectid
|
|
|
).then(res => {
|
|
|
- console.log(res)
|
|
|
+ // console.log(res)
|
|
|
this.information = res.data.data
|
|
|
|
|
|
// 分享图里的
|
|
@@ -508,32 +551,41 @@
|
|
|
this.information.recruit_ddl = this.information.recruit_ddl.substr(0, 10);
|
|
|
|
|
|
// 合作选择
|
|
|
- var arr1 = [];
|
|
|
- for (let i = 0; i < this.information.RecruitStrategy.length; ++i) {
|
|
|
- let fee_form = this.information.RecruitStrategy[i].fee_form
|
|
|
- let str1 = '粉丝量' + this.information.RecruitStrategy[i].followers_low + ' - ' + this
|
|
|
- .information
|
|
|
- .RecruitStrategy[i].followers_up + ' 稿费:'
|
|
|
- let str2 = fee_form == 1 ? '产品置换' : (fee_form == 2 ? '稿费' : '创作者自报价')
|
|
|
- let str3 = fee_form == 2 ? '' + this.information.RecruitStrategy[i].offer + '元/人' : ''
|
|
|
- let str = str1 + str2 + str3
|
|
|
- let choice = {
|
|
|
- value: this.information.RecruitStrategy[i].strategy_id,
|
|
|
- fee_form: fee_form,
|
|
|
- text: str
|
|
|
- }
|
|
|
- arr1.push(choice)
|
|
|
+ // var arr1 = [];
|
|
|
+ // for (let i = 0; i < this.information.RecruitStrategy.length; ++i) {
|
|
|
+ // let fee_form = this.information.RecruitStrategy[i].fee_form
|
|
|
+ // let str1 = '粉丝量' + this.information.RecruitStrategy[i].followers_low + ' - ' + this
|
|
|
+ // .information
|
|
|
+ // .RecruitStrategy[i].followers_up + ' 稿费:'
|
|
|
+ // let str2 = fee_form == 1 ? '产品置换' : (fee_form == 2 ? '稿费' : '创作者自报价')
|
|
|
+ // let str3 = fee_form == 2 ? '' + this.information.RecruitStrategy[i].offer + '元/人' : ''
|
|
|
+ // let str = str1 + str2 + str3
|
|
|
+ // let choice = {
|
|
|
+ // value: this.information.RecruitStrategy[i].strategy_id,
|
|
|
+ // fee_form: fee_form,
|
|
|
+ // text: str
|
|
|
+ // }
|
|
|
+ // arr1.push(choice)
|
|
|
+ // }
|
|
|
+ // this.coop_choice = arr1
|
|
|
+
|
|
|
+ // 合作选择
|
|
|
+ this.coop_choice = this.information.RecruitStrategy
|
|
|
+ for (let i = 0; i < this.coop_choice.length; ++i) {
|
|
|
+ let fee_form = this.coop_choice[i].fee_form
|
|
|
+ this.coop_choice[i].fee_form_t = fee_form == 1 ? '产品置换' : (fee_form == 2 ? '' + this
|
|
|
+ .coop_choice[i].offer + '元/人' :
|
|
|
+ '创作者自报价')
|
|
|
}
|
|
|
- this.coop_choice = arr1
|
|
|
+ console.log("choice")
|
|
|
+ console.log(this.coop_choice)
|
|
|
|
|
|
this.getlist2()
|
|
|
this.getlist3()
|
|
|
|
|
|
- this.tyy = false
|
|
|
-
|
|
|
})
|
|
|
},
|
|
|
- //达人信息
|
|
|
+ // 达人信息
|
|
|
getlist2() {
|
|
|
this.$https.get('/youngee/c/t/g/get-talent-info')
|
|
|
.then(res => {
|
|
@@ -549,6 +601,7 @@
|
|
|
console.log("account")
|
|
|
console.log(res.data.data)
|
|
|
var accounts = res.data.data
|
|
|
+ this.account = []
|
|
|
if (res.data.code !== -3) {
|
|
|
for (var i = 0; i < accounts.length; i++) {
|
|
|
if (this.information.project_platform == accounts[i].platform_id) {
|
|
@@ -556,6 +609,33 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ this.isSignUp()
|
|
|
+ console.log(this.account)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ isSignUp() {
|
|
|
+ console.log("func isSignUp run")
|
|
|
+
|
|
|
+ if (this.account.length == 0) {
|
|
|
+ this.loading = false
|
|
|
+ uni.hideLoading();
|
|
|
+ this.tyy = false
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.$https.get('/youngee/c/t/g/is-sign-up-task' +
|
|
|
+ "?" +
|
|
|
+ "project_id" +
|
|
|
+ "=" +
|
|
|
+ this.projectid +
|
|
|
+ "&account_id" +
|
|
|
+ "=" +
|
|
|
+ this.account[0].account_id)
|
|
|
+ .then(res => {
|
|
|
+ console.log(res)
|
|
|
+ this.isSign = res.data.data;
|
|
|
+ this.loading = false
|
|
|
+ uni.hideLoading();
|
|
|
+ this.tyy = false
|
|
|
})
|
|
|
},
|
|
|
// 位运算方法
|
|
@@ -693,27 +773,24 @@
|
|
|
},
|
|
|
toggle(type) {
|
|
|
let that = this
|
|
|
- if (that.talent.is_bind_info == 0 || that.talent.is_bind_location == 0 || that.account.length == 0) {
|
|
|
+ if (that.talent.is_bind_info == 0 || that.talent.is_bind_location == 0 ||
|
|
|
+ that.account.length == 0) {
|
|
|
// 前往个人信息绑定三合一界面
|
|
|
uni.showModal({
|
|
|
content: '请先绑定个人信息',
|
|
|
success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
- console.log(that.talent)
|
|
|
- console.log("in")
|
|
|
-
|
|
|
if (that.account.length == 0) {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/tasksquare/bindinfo?platform_id=' + that
|
|
|
.information.project_platform
|
|
|
})
|
|
|
-
|
|
|
} else {
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages/tasksquare/bindinfo?platform_id=' + that
|
|
|
- .information
|
|
|
- .project_platform + '&account_id=' + that.account[0]
|
|
|
- .account_id
|
|
|
+ url: '/pages/tasksquare/bindinfo?platform_id=' +
|
|
|
+ that.information.project_platform +
|
|
|
+ '&account_id=' +
|
|
|
+ that.account[0].account_id
|
|
|
})
|
|
|
};
|
|
|
} else if (res.cancel) {
|
|
@@ -919,9 +996,6 @@
|
|
|
this.$refs.popup2.open(type)
|
|
|
this.$refs.popup1.close()
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
preservation() {
|
|
|
uni.showToast({
|
|
@@ -934,16 +1008,44 @@
|
|
|
},
|
|
|
// 更新账号
|
|
|
Reset() {
|
|
|
- uni.showToast({
|
|
|
- title: '更新成功',
|
|
|
- duration: 1000
|
|
|
+ console.log("Reset func running")
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/mycenter/myinformation/bindaccount?platform_id=' + this
|
|
|
+ .information
|
|
|
+ .project_platform + '&account_id=' + this.account[0].account_id,
|
|
|
+
|
|
|
+ success(res) {
|
|
|
+ console.log(res);
|
|
|
+ },
|
|
|
+ fail(err) {
|
|
|
+ console.log(err);
|
|
|
+ }
|
|
|
});
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '更新成功',
|
|
|
+ // duration: 1000
|
|
|
+ // });
|
|
|
},
|
|
|
//进入信息确认页面
|
|
|
determine() {
|
|
|
- if (this.value === '' || this.value1 === '') {
|
|
|
+ console.log(this.strategy_id)
|
|
|
+ if (this.strategy_id == 0 || this.strategy == null) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '请选择合作方式',
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ } else if (this.account[0].fans_count < this.strategy.followers_low) {
|
|
|
+ // 提示“粉丝量不符合报名条件”
|
|
|
uni.showToast({
|
|
|
- title: '请选择产品规格和合作选择',
|
|
|
+ title: '粉丝量不符合报名条件',
|
|
|
+ icon: 'none',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ } else if (this.strategy.fee_form == 3 && this.strategy.offer == 0) {
|
|
|
+ console.log(this.strategy)
|
|
|
+ uni.showToast({
|
|
|
+ title: '请填写自报价金额',
|
|
|
icon: 'none',
|
|
|
duration: 2000
|
|
|
});
|
|
@@ -951,16 +1053,17 @@
|
|
|
this.$refs.popup.close()
|
|
|
var data = {
|
|
|
projectid: this.projectid,
|
|
|
- guige: this.value,
|
|
|
- dengji: this.value1,
|
|
|
+ information: this.information,
|
|
|
+ account: this.account[0].account_id,
|
|
|
+ strategy: this.strategy,
|
|
|
},
|
|
|
data = JSON.stringify(data)
|
|
|
+ console.log("data")
|
|
|
+ console.log(data)
|
|
|
uni.navigateTo({
|
|
|
- url: '/pages/task/information?textObj=' + data
|
|
|
+ url: '/pages/tasksquare/information?textObj=' + encodeURIComponent(data)
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
}
|
|
|
};
|
|
@@ -980,14 +1083,48 @@
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss" scoped>
|
|
|
+ #coop_box {
|
|
|
+ // display: flex;
|
|
|
+ margin-top: 15rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ #coop_box .coop_box_btn {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ width: 700rpx;
|
|
|
+ // height: 50rpx;
|
|
|
+ border: 2px solid #f9f9f9;
|
|
|
+ border-radius: 15rpx;
|
|
|
+ font-size: 30rpx;
|
|
|
+ text-align: center;
|
|
|
+ // line-height: 40px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ .borderColor {
|
|
|
+ border: 2px solid #f7d43c !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ .offer_input {
|
|
|
+ width: 50rpx;
|
|
|
+ border: 1px solid #cccccc;
|
|
|
+ }
|
|
|
+
|
|
|
.wvp {
|
|
|
- background-color: #FFFFFF;
|
|
|
- padding: 0 20rpx;
|
|
|
- border: 1rpx solid #AAAAAA;
|
|
|
+ // padding: 0 20rpx;
|
|
|
border-radius: 10rpx;
|
|
|
margin: 0 5rpx;
|
|
|
}
|
|
|
|
|
|
+ .wvp1 {
|
|
|
+ padding: 0 30rpx;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ margin: 0 10rpx;
|
|
|
+ background-color: #f2d22d;
|
|
|
+ border: 10rpx;
|
|
|
+ }
|
|
|
+
|
|
|
.my-canvas {
|
|
|
position: fixed;
|
|
|
top: -99999999999rpx;
|
|
@@ -1173,17 +1310,19 @@
|
|
|
.uni-margin-wrap {
|
|
|
width: 690rpx;
|
|
|
width: 100%;
|
|
|
- ;
|
|
|
}
|
|
|
|
|
|
.swiper {
|
|
|
height: 750rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
}
|
|
|
|
|
|
.swiper-item {
|
|
|
display: block;
|
|
|
- height: 400rpx;
|
|
|
- line-height: 400rpx;
|
|
|
+ width: 100%;
|
|
|
+ height: 750rpx;
|
|
|
+ line-height: 750rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
@@ -1284,14 +1423,12 @@
|
|
|
}
|
|
|
|
|
|
.tasksleft p {
|
|
|
- font-size: 90%;
|
|
|
- color: #999999;
|
|
|
+ font-size: 30rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
.tasksright p {
|
|
|
- font-size: 90%;
|
|
|
- color: #999999;
|
|
|
+ font-size: 30rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
@@ -1306,8 +1443,8 @@
|
|
|
margin: 2% auto;
|
|
|
width: 26%;
|
|
|
padding: 10rpx;
|
|
|
- background-color: #FCCF41;
|
|
|
- border-radius: 30rpx;
|
|
|
+ background-color: #f2d22d;
|
|
|
+ border-radius: 10rpx;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
@@ -1333,12 +1470,12 @@
|
|
|
}
|
|
|
|
|
|
.markcontent {
|
|
|
- width: 100%;
|
|
|
- background-color: #E4E4E4;
|
|
|
+ // width: 100%;
|
|
|
+ // background-color: #E4E4E4;
|
|
|
+ margin: 0 30rpx;
|
|
|
border-radius: 20rpx;
|
|
|
padding-top: 2%;
|
|
|
padding-bottom: 2%;
|
|
|
-
|
|
|
}
|
|
|
|
|
|
.markcontent p {
|
|
@@ -1349,7 +1486,7 @@
|
|
|
|
|
|
.markcontent span {
|
|
|
font-size: 24rpx;
|
|
|
- color: #333333;
|
|
|
+ // color: #333333;
|
|
|
// margin: 3% ;
|
|
|
}
|
|
|
|
|
@@ -1369,7 +1506,7 @@
|
|
|
|
|
|
.markcontent1 p {
|
|
|
font-size: 24rpx;
|
|
|
- color: #333333;
|
|
|
+ // color: #333333;
|
|
|
// margin: 3% ;
|
|
|
text-indent: 2em;
|
|
|
}
|
|
@@ -1378,7 +1515,7 @@
|
|
|
width: 120rpx;
|
|
|
height: 120rpx;
|
|
|
border-radius: 50%;
|
|
|
- background-color: #FCCF41;
|
|
|
+ background-color: #f2d22d;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
@@ -1399,7 +1536,7 @@
|
|
|
|
|
|
.but1 {
|
|
|
width: 60%;
|
|
|
- background-color: #FCCF41;
|
|
|
+ background-color: #f2d22d;
|
|
|
border-radius: 20rpx;
|
|
|
font-size: 36rpx;
|
|
|
line-height: 200%;
|
|
@@ -1414,10 +1551,23 @@
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /** 必须提升样式优先权(!important) **/
|
|
|
+ button[disabled] {
|
|
|
+ width: 60%;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ font-size: 36rpx;
|
|
|
+ line-height: 200%;
|
|
|
+ letter-spacing: 10rpx;
|
|
|
+ font-weight: 500;
|
|
|
+ height: 80%;
|
|
|
+ color: white !important;
|
|
|
+ background: #c4c1c1 !important;
|
|
|
+ }
|
|
|
+
|
|
|
.but2 {
|
|
|
width: 25%;
|
|
|
background-color: #FFFFFF;
|
|
|
- border: 2rpx solid #FCCF41;
|
|
|
+ border: 2rpx solid #f2d22d;
|
|
|
border-radius: 20rpx;
|
|
|
font-size: 36rpx;
|
|
|
line-height: 180%;
|
|
@@ -1495,8 +1645,8 @@
|
|
|
line-height: 70rpx;
|
|
|
margin: 10rpx;
|
|
|
font-size: 80%;
|
|
|
- box-shadow: 0rpx 0rpx 0rpx 5rpx #FCCF41;
|
|
|
- border: 0rpx solid #FCCF41 !important;
|
|
|
+ box-shadow: 0rpx 0rpx 0rpx 5rpx #f2d22d;
|
|
|
+ border: 0rpx solid #f2d22d !important;
|
|
|
}
|
|
|
|
|
|
/deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag {
|
|
@@ -1506,7 +1656,7 @@
|
|
|
}
|
|
|
|
|
|
/deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked {
|
|
|
- background-color: #FCCF41 !important;
|
|
|
+ background-color: #f2d22d !important;
|
|
|
}
|
|
|
|
|
|
/deep/.uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked .checklist-text {
|
|
@@ -1664,8 +1814,13 @@
|
|
|
font-size: 90%;
|
|
|
|
|
|
&.lor {
|
|
|
- border-bottom: 2rpx solid #FCCF41;
|
|
|
+ border-bottom: 2rpx solid #f2d22d;
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .label {
|
|
|
+ font-weight: 600;
|
|
|
+ width: 130rpx;
|
|
|
+ }
|
|
|
</style>
|