|
@@ -38,21 +38,48 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="show-income1">
|
|
|
- <view class="show-income1-left">
|
|
|
- <view class="show-income1-left-up">
|
|
|
+ <view class="show-income">
|
|
|
+ <view class="income1">
|
|
|
+ <!-- <p> 我的钱包 </p> -->
|
|
|
+ <view style="display: flex;align-items: center;">
|
|
|
+ <p>我的钱包</p>
|
|
|
+ <image id="helpicon" :src="picture.icon_help" mode=""
|
|
|
+ style="width: 35rpx;height: 35rpx;padding-left: 10rpx;" @click="showIncomeHelp = true" />
|
|
|
+ </view>
|
|
|
+ <view class="tip_box" v-if="showIncomeHelp">
|
|
|
+ <view class="container" :style="{
|
|
|
+ 'margin-right': cotainerMargin + 'px',
|
|
|
+ backgroundColor: '#404040', borderRadius: '5px' }">
|
|
|
+
|
|
|
+ <view class="tips">
|
|
|
+ <p>{{incomeHelpText}}</p>
|
|
|
+ </view>
|
|
|
+ <view class="close" @click="showIncomeHelp = false">
|
|
|
+ <image class="closeImg" src="../../static/delete.png" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <p @click="toIncome('can')" style="margin-right: -40rpx;font-size: 28rpx;"> 去提现> </p>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="income2">
|
|
|
+
|
|
|
+ <view class="income2-item" @click="toIncome('can')">
|
|
|
+ <p>总收益</p>
|
|
|
+ <p>{{information.showIncome?information.showIncome:'0.0'}}</p>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="income2-item">
|
|
|
<view style="display: flex;align-items: center;">
|
|
|
- <p>我获得的收益总数</p>
|
|
|
+ <p @click="toIncome('can')">总收益</p>
|
|
|
<image id="helpicon" :src="picture.icon_help" mode=""
|
|
|
style="width: 35rpx;height: 35rpx;padding-left: 10rpx;"
|
|
|
@click="showIncomeHelp = true" />
|
|
|
</view>
|
|
|
- <!-- <view class="tip_box" v-if="showIncomeHelp" :style="{ top: boxTop + 'px'}"> -->
|
|
|
<view class="tip_box" v-if="showIncomeHelp">
|
|
|
<view class="container" :style="{
|
|
|
- 'margin-right': cotainerMargin + 'px',
|
|
|
- backgroundColor: '#404040', borderRadius: '5px' }">
|
|
|
- <!-- 提示文字 -->
|
|
|
+ 'margin-right': cotainerMargin + 'px',
|
|
|
+ backgroundColor: '#404040', borderRadius: '5px' }">
|
|
|
+
|
|
|
<view class="tips">
|
|
|
<p>{{incomeHelpText}}</p>
|
|
|
</view>
|
|
@@ -61,74 +88,66 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <p @click="toIncome('can')">{{information.showIncome?information.showIncome:'0.0'}}</p>
|
|
|
+ </view> -->
|
|
|
+ <view class="income2-item" @click="toIncome('can')">
|
|
|
+ <p>可提现</p>
|
|
|
+ <p>{{information.showCanwithdraw?information.showCanwithdraw:'0.0'}}</p>
|
|
|
</view>
|
|
|
- <view class="show-income1-left-down">
|
|
|
- <p @click="toIncome('can')">
|
|
|
- {{information.showIncome?information.showIncome:'0.0'}}
|
|
|
- </p>
|
|
|
+ <view class="income2-item" @click="toIncome('ed')">
|
|
|
+ <p>已提现</p>
|
|
|
+ <p>{{information.showWithdrawed?information.showWithdrawed:'0.0'}}</p>
|
|
|
+ </view>
|
|
|
+ <view class="income2-item" @click="toIncome('ing')">
|
|
|
+ <p>提现中</p>
|
|
|
+ <p>{{information.showWithdrawing?information.showWithdrawing:'0.0'}}</p>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="show-income1-right">
|
|
|
+
|
|
|
+ <view class="income3" @click="toPoint()">
|
|
|
<view>
|
|
|
- <button class="show-income1-btn" type="default" @click="toIncome('can')">提现</button>
|
|
|
+ <p>创作者积分:0</p>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <image style="height: 20rpx;width: 20rpx;" :src="picture.icon_right"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="show-income2">
|
|
|
- <view class="show-income2-text" @click="toIncome('can')">
|
|
|
- <p style="padding-bottom: 20rpx;">可提现</p>
|
|
|
- <p>{{information.showCanwithdraw?information.showCanwithdraw:'0.0'}}</p>
|
|
|
- </view>
|
|
|
- <view class="show-income2-text" @click="toIncome('ed')">
|
|
|
- <p style="padding-bottom: 20rpx;">已提现</p>
|
|
|
- <p>{{information.showWithdrawed?information.showWithdrawed:'0.0'}}</p>
|
|
|
- </view>
|
|
|
- <view class="show-income2-text" @click="toIncome('ing')">
|
|
|
- <p style="padding-bottom: 20rpx;">提现中</p>
|
|
|
- <p>{{information.showWithdrawing?information.showWithdrawing:'0.0'}}</p>
|
|
|
- </view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="show-income1">
|
|
|
- <view class="show-income1-left">
|
|
|
- <view class="show-income1-left-up" style="margin-bottom: 10rpx;">
|
|
|
- <view style="display: flex;align-items: center;">
|
|
|
- <p>创作者积分</p>
|
|
|
- <image id="helpicon" :src="picture.icon_help" mode=""
|
|
|
- style="width: 35rpx;height: 35rpx;padding-left: 10px" @click="showPointHelp = true" />
|
|
|
- </view>
|
|
|
-
|
|
|
- <!-- <view class="tip_box" v-if="showPointHelp" :style="{ top: boxTop + 'px'}"> -->
|
|
|
- <view class="tip_box" v-if="showPointHelp">
|
|
|
- <view class="container" :style="{
|
|
|
- 'margin-right': cotainerMargin + 'px',
|
|
|
- backgroundColor: '#404040', borderRadius: '5px' }">
|
|
|
- <view class="tips">
|
|
|
- <p>{{pointHelpText}}</p>
|
|
|
- </view>
|
|
|
- <view class="close" @click="showPointHelp = false">
|
|
|
- <image class="closeImg" src="../../static/delete.png" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <view class="show-body">
|
|
|
+ <view class="show-body1">
|
|
|
+ <view class="show-body1-text1" @click="toMySec(0)">
|
|
|
+ <p>带货任务</p>
|
|
|
</view>
|
|
|
- <view class="show-income1-left-down">
|
|
|
- <p @click="toPoint()">
|
|
|
- {{information.showIncome?information.showIncome:'0'}}
|
|
|
- </p>
|
|
|
+ <view class="show-body1-text2" @click="toMySec(0)">
|
|
|
+ <image class="show-body1-icon" :src="picture.icon_right"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <view class="show-income1-right" @click="toPoint()">
|
|
|
- <image class="show-body1-icon" :src="picture.icon_right"></image>
|
|
|
+ <view class="show-body2">
|
|
|
+ <view class="show-body2-text" @click="toMySec(0)">
|
|
|
+ <p class="task-num-p">{{numInfo.numAllSec}}</p>
|
|
|
+ <p padding>全部任务</p>
|
|
|
+ </view>
|
|
|
+ <view class="show-body2-text" @click="toMySec(1)">
|
|
|
+ <p class="task-num-p">{{numInfo.numApplySec}}</p>
|
|
|
+ <p>已报名</p>
|
|
|
+ </view>
|
|
|
+ <view class="show-body2-text" @click="toMySec(2)">
|
|
|
+ <p class="task-num-p">{{numInfo.numExecuteSec}}</p>
|
|
|
+ <p>执行中</p>
|
|
|
+ </view>
|
|
|
+ <view class="show-body2-text" @click="toMySec(3)">
|
|
|
+ <p class="task-num-p">{{numInfo.numEndSec}}</p>
|
|
|
+ <p>已结束</p>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="show-body" style="border-bottom: 1rpx solid #c8c8c8;">
|
|
|
+ <view class="show-body">
|
|
|
<view class="show-body1">
|
|
|
<view class="show-body1-text1" @click="toMyTask('all')">
|
|
|
- <p>我的任务</p>
|
|
|
+ <p>种草任务</p>
|
|
|
</view>
|
|
|
<view class="show-body1-text2" @click="toMyTask('all')">
|
|
|
<image class="show-body1-icon" :src="picture.icon_right"></image>
|
|
@@ -154,7 +173,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="show-body" style="border-bottom: 1rpx solid #c8c8c8;">
|
|
|
+ <view class="show-body">
|
|
|
<view class="show-body1">
|
|
|
<view class="show-body1-text1" @click="toMyTeam('exe')">
|
|
|
<p>YOUNG之团</p>
|
|
@@ -182,43 +201,17 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="show-body" style="border-bottom: 1rpx solid #c8c8c8;">
|
|
|
- <view class="show-body1">
|
|
|
- <view class="show-body1-text1" @click="toMySec(0)">
|
|
|
- <p>选品广场</p>
|
|
|
- </view>
|
|
|
- <view class="show-body1-text2" @click="toMySec(0)">
|
|
|
- <image class="show-body1-icon" :src="picture.icon_right"></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="show-body2">
|
|
|
- <view class="show-body2-text" @click="toMySec(1)">
|
|
|
- <p class="task-num-p">{{numInfo.numApplySec}}</p>
|
|
|
- <p padding>已报名</p>
|
|
|
- </view>
|
|
|
- <view class="show-body2-text" @click="toMySec(2)">
|
|
|
- <p class="task-num-p">{{numInfo.numExecuteSec}}</p>
|
|
|
- <p>执行中</p>
|
|
|
- </view>
|
|
|
- <view class="show-body2-text" @click="toMySec(3)">
|
|
|
- <p class="task-num-p">{{numInfo.numEndSec}}</p>
|
|
|
- <p>已结束</p>
|
|
|
- </view>
|
|
|
- <view class="show-body2-text">
|
|
|
- <p style="color: #fff;">已结束</p>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="show-body">
|
|
|
+ <view class="show-body" style="margin-top: 3%;">
|
|
|
<view class="show-body2">
|
|
|
<view class="show-body2-text" @click="handleInformation()">
|
|
|
- <image class="show-info-icon" style="width: 60rpx;height: 60rpx;padding-bottom: 15rpx;"
|
|
|
+ <image class="show-info-icon" style="width: 50rpx;height: 50rpx;padding-bottom: 15rpx;"
|
|
|
:src="picture.icon_person"></image>
|
|
|
<p>我的信息</p>
|
|
|
</view>
|
|
|
<view class="show-body2-text" @click="handleSubmitTask()">
|
|
|
- <image class="show-info-icon" :src="picture.icon_edit"></image>
|
|
|
+ <image class="show-info-icon" style="width: 50rpx;height: 50rpx;padding-bottom: 15rpx;"
|
|
|
+ :src="picture.icon_edit"></image>
|
|
|
<p>发布任务</p>
|
|
|
</view>
|
|
|
<view class="show-body2-text">
|
|
@@ -232,7 +225,6 @@
|
|
|
|
|
|
<view class="contact" @click="toggle4('center')">
|
|
|
<view class="contt">
|
|
|
- <!-- <image class="img2" src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home2.png" mode=""></image> -->
|
|
|
<image class="img1"
|
|
|
src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/kefu_20211124192542.png" mode="">
|
|
|
</image>
|
|
@@ -436,6 +428,7 @@
|
|
|
numExeTeam: 0,
|
|
|
numEndTeam: 0,
|
|
|
|
|
|
+ numAllSec: 0,
|
|
|
numApplySec: 0,
|
|
|
numExecuteSec: 0,
|
|
|
numEndSec: 0,
|
|
@@ -465,7 +458,7 @@
|
|
|
this.avatarUrl = uni.getStorageSync('avatarUrl');
|
|
|
// 获取达人基本信息
|
|
|
await this.getTalentInfo();
|
|
|
- // 获取页面展示信息(任务数量、young之团数量、选品任务数量)
|
|
|
+ // 获取页面展示信息(任务数量、young之团数量、带货任务数量)
|
|
|
await this.getNumInfo();
|
|
|
// 获取未读消息条数
|
|
|
await this.getUnreadMessage();
|
|
@@ -510,6 +503,8 @@
|
|
|
this.numInfo.numApplySec = res.data.data.apply_sec_task_num
|
|
|
this.numInfo.numExecuteSec = res.data.data.exe_sec_task_num
|
|
|
this.numInfo.numEndSec = res.data.data.end_sec_task_num
|
|
|
+ this.numInfo.numAllSec = this.numInfo.numApplySec + this.numInfo.numExecuteSec + this
|
|
|
+ .numInfo.numEndSec
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -605,7 +600,7 @@
|
|
|
} else
|
|
|
this.login()
|
|
|
},
|
|
|
- // 进入我的任务页面
|
|
|
+ // 进入种草任务页面
|
|
|
toMyTask(tab) {
|
|
|
console.log(tab)
|
|
|
if (this.token !== '') {
|
|
@@ -633,7 +628,7 @@
|
|
|
} else
|
|
|
this.login()
|
|
|
},
|
|
|
- // 进入我的选品页面
|
|
|
+ // 进入我的带货任务页面
|
|
|
toMySec(tab) {
|
|
|
console.log("toMySec: ", tab)
|
|
|
if (this.token !== '') {
|
|
@@ -731,9 +726,9 @@
|
|
|
/* 垂直居中 */
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- height: 200rpx;
|
|
|
+ // height: 200rpx;
|
|
|
position: relative;
|
|
|
- margin: 2% 3% 3%;
|
|
|
+ margin: 0% 3%;
|
|
|
}
|
|
|
|
|
|
.head-left {
|
|
@@ -775,6 +770,42 @@
|
|
|
height: 60rpx;
|
|
|
}
|
|
|
|
|
|
+ .show-income {
|
|
|
+ height: 210rpx;
|
|
|
+ background-color: #F0D232;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ margin: 3% 3% 0;
|
|
|
+ padding: 3% 6%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .income1 {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
+
|
|
|
+ .income2 {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin: 3% 0;
|
|
|
+
|
|
|
+ .income2-item {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .income3 {
|
|
|
+ background-color: white;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 2rpx 10rpx;
|
|
|
+ }
|
|
|
+
|
|
|
.show-income1 {
|
|
|
height: 150rpx;
|
|
|
margin: 0 3% 0 8%;
|
|
@@ -830,8 +861,8 @@
|
|
|
}
|
|
|
|
|
|
.show-body {
|
|
|
- height: 250rpx;
|
|
|
- margin: 0 3% 3%;
|
|
|
+ // height: 250rpx;
|
|
|
+ margin: 5% 3%;
|
|
|
}
|
|
|
|
|
|
.show-body1 {
|
|
@@ -843,7 +874,7 @@
|
|
|
.show-body1-text1 {
|
|
|
display: flex;
|
|
|
justify-content: flex-start;
|
|
|
- margin-left: 40rpx;
|
|
|
+ // margin-left: 40rpx;
|
|
|
// margin-right: 480rpx;
|
|
|
}
|
|
|
|
|
@@ -879,7 +910,7 @@
|
|
|
}
|
|
|
|
|
|
.task-num-p {
|
|
|
- padding-bottom: 40rpx;
|
|
|
+ padding-bottom: 10rpx;
|
|
|
font-size: 35rpx;
|
|
|
font-weight: bold;
|
|
|
color: #F0D232;
|
|
@@ -1238,4 +1269,4 @@
|
|
|
border: #000000 1rpx solid;
|
|
|
line-height: 48rpx;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|