You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
397 lines
57 KiB
397 lines
57 KiB
5 months ago
|
<template>
|
||
|
<view :style="colorStyle">
|
||
|
<view class='my-promotion'>
|
||
|
<view class="header">
|
||
|
<view class='name acea-row row-center-wrapper'>
|
||
|
<!-- 当前佣金 -->
|
||
|
<view>
|
||
|
<view class="user-msg">
|
||
|
<image class="avatar" :src="userInfo.avatar" mode=""></image>
|
||
|
<view class="nickname line1">{{userInfo.nickname}}</view>
|
||
|
<view v-if="userInfo.is_agent_level" class="level line1" @click="jumbPath">
|
||
|
<text>{{userInfo.agent_level_name?$t(userInfo.agent_level_name):$t(`分销等级`)}}</text>
|
||
|
<text v-if="userInfo.is_agent_level" class='iconfont icon-xiangyou'></text>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class='num'>{{userInfo.brokerage_price}}</view>
|
||
|
<view class='profit acea-row row-between-wrapper'>
|
||
|
<view class='item'>
|
||
|
<view>{{$t(`昨日收益`)}}</view>
|
||
|
<view class='money'>{{userInfo.yesterDay}}</view>
|
||
|
</view>
|
||
|
<view class='item' @click="jumbPath(1)">
|
||
|
<view>{{$t(`累积已提`)}}<text class='iconfont icon-xiangyou'></text></view>
|
||
|
<view class='money'>{{userInfo.extractTotalPrice}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="apply"
|
||
|
v-if="userInfo.division_open && userInfo.agent_apply_open && ((userInfo.is_division && userInfo.division_invite && userInfo.division_status) || (!userInfo.is_division && !userInfo.is_agent))">
|
||
|
<view v-if="userInfo.is_division">{{$t(`邀请码`)}}:{{userInfo.division_invite}}</view>
|
||
|
<view v-if="!userInfo.is_division && !userInfo.is_agent">
|
||
|
<navigator url='/pages/annex/settled/index' hover-class="none">
|
||
|
<view>{{$t(`代理商申请`)}}</view>
|
||
|
</navigator>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<!-- #ifdef APP-PLUS || H5 -->
|
||
|
<navigator url="/pages/users/user_cash/index" hover-class="none" class='bnt bg-color'>{{$t(`立即提现`)}}</navigator>
|
||
|
<!-- #endif -->
|
||
|
<!-- #ifdef MP -->
|
||
|
<view @click="openSubscribe('/pages/users/user_cash/index')" class='bnt bg-color'>{{$t(`立即提现`)}}</view>
|
||
|
<!-- #endif -->
|
||
|
<view class='list acea-row row-between-wrapper'>
|
||
|
<navigator url='/pages/users/user_spread_code/index' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-erweima'></text>
|
||
|
<view>{{$t(`推广名片`)}}</view>
|
||
|
</navigator>
|
||
|
<navigator url='/pages/users/promoter-list/index' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-tongji'></text>
|
||
|
<view>{{$t(`推广人统计`)}}</view>
|
||
|
</navigator>
|
||
|
<navigator url='/pages/users/user_spread_money/index?type=2' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-qiandai'></text>
|
||
|
<view>{{$t(`佣金明细`)}}</view>
|
||
|
</navigator>
|
||
|
|
||
|
<navigator v-if="(userInfo.division_open && !userInfo.is_agent && !userInfo.is_division) || !userInfo.division_open" url='/pages/users/promoter-order/index' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-dingdan'></text>
|
||
|
<view>{{$t(`推广人订单`)}}</view>
|
||
|
</navigator>
|
||
|
<navigator v-if="userInfo.division_open && (userInfo.is_agent || userInfo.is_division)" url='/pages/users/promoter-order/index?type=1' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-dingdan'></text>
|
||
|
<view>{{userInfo.is_division?$t(`事业部`):$t(`代理商`)}}{{$t(`推广订单`)}}</view>
|
||
|
</navigator>
|
||
|
<navigator url='/pages/users/promoter_rank/index' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-paihang1'></text>
|
||
|
<view>{{$t(`推广人排行`)}}</view>
|
||
|
</navigator>
|
||
|
<navigator url='/pages/users/commission_rank/index' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-paihang'></text>
|
||
|
<view>{{$t(`佣金排行`)}}</view>
|
||
|
</navigator>
|
||
|
<navigator v-if="userInfo.division_open && userInfo.is_agent" url='/pages/users/staff_list/index' hover-class="none"
|
||
|
class='item acea-row row-center-wrapper row-column'>
|
||
|
<text class='iconfont icon-tuandui'></text>
|
||
|
<view>{{$t(`员工列表`)}}</view>
|
||
|
</navigator>
|
||
|
|
||
|
</view>
|
||
|
</view>
|
||
|
<!-- #ifdef MP -->
|
||
|
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
|
||
|
<!-- #endif -->
|
||
|
<!-- #ifndef MP -->
|
||
|
<home></home>
|
||
|
<!-- #endif -->
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {
|
||
|
getUserInfo
|
||
|
} from '@/api/user.js';
|
||
|
import {
|
||
|
openExtrctSubscribe
|
||
|
} from '@/utils/SubscribeMessage.js';
|
||
|
import {
|
||
|
toLogin
|
||
|
} from '@/libs/login.js';
|
||
|
import {
|
||
|
mapGetters
|
||
|
} from "vuex";
|
||
|
// #ifdef MP
|
||
|
import authorize from '@/components/Authorize';
|
||
|
// #endif
|
||
|
import home from '@/components/home';
|
||
|
import colors from '@/mixins/color.js'
|
||
|
export default {
|
||
|
components: {
|
||
|
// #ifdef MP
|
||
|
authorize,
|
||
|
// #endif
|
||
|
home
|
||
|
},
|
||
|
mixins: [colors],
|
||
|
data() {
|
||
|
return {
|
||
|
userInfo: {},
|
||
|
yesterdayPrice: 0.00,
|
||
|
isAuto: false, //没有授权的不会自动授权
|
||
|
isShowAuth: false //是否隐藏授权
|
||
|
};
|
||
|
},
|
||
|
computed: mapGetters(['isLogin']),
|
||
|
watch: {
|
||
|
isLogin: {
|
||
|
handler: function(newV, oldV) {
|
||
|
if (newV) {
|
||
|
this.getUserInfo();
|
||
|
}
|
||
|
},
|
||
|
deep: true
|
||
|
}
|
||
|
},
|
||
|
onLoad() {
|
||
|
if (this.isLogin) {
|
||
|
// try {
|
||
|
// const user_spread_user = uni.getStorageSync('user_spread_user');
|
||
|
// if (user_spread_user) {
|
||
|
// this.getUserInfo();
|
||
|
// } else {
|
||
|
// uni.redirectTo({
|
||
|
// url: '/pages/user/index'
|
||
|
// });
|
||
|
// }
|
||
|
// } catch (e) {
|
||
|
// uni.showToast({
|
||
|
// title: e,
|
||
|
// icon: 'none'
|
||
|
// });
|
||
|
// }
|
||
|
this.getUserInfo()
|
||
|
} else {
|
||
|
toLogin();
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
onLoadFun: function() {
|
||
|
this.getUserInfo();
|
||
|
},
|
||
|
//跳转
|
||
|
jumbPath(type) {
|
||
|
if (type == 1) {
|
||
|
uni.navigateTo({
|
||
|
// 提现记录
|
||
|
url: '/pages/users/user_spread_money/index?type=1'
|
||
|
})
|
||
|
} else {
|
||
|
uni.navigateTo({
|
||
|
// 分佣等级
|
||
|
url: '/pages/users/user_distribution_level/index'
|
||
|
})
|
||
|
}
|
||
|
},
|
||
|
// 授权关闭
|
||
|
authColse: function(e) {
|
||
|
this.isShowAuth = e
|
||
|
},
|
||
|
openSubscribe: function(page) {
|
||
|
uni.showLoading({
|
||
|
title: this.$t(`正在加载`),
|
||
|
})
|
||
|
openExtrctSubscribe().then(res => {
|
||
|
uni.hideLoading();
|
||
|
uni.navigateTo({
|
||
|
url: page,
|
||
|
});
|
||
|
}).catch(() => {
|
||
|
uni.hideLoading();
|
||
|
});
|
||
|
},
|
||
|
/**
|
||
|
* 获取个人用户信息
|
||
|
*/
|
||
|
getUserInfo: function() {
|
||
|
let that = this;
|
||
|
getUserInfo().then(res => {
|
||
|
that.$set(that, 'userInfo', res.data);
|
||
|
if (!res.data.spread_status) {
|
||
|
that.$util.Tips({
|
||
|
title: that.$t(`您目前暂无推广权限`)
|
||
|
}, {
|
||
|
tab: 1,
|
||
|
url: '/pages/index/index'
|
||
|
});
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
.my-promotion .header {
|
||
|
// background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAF3CAMAAADNQj7uAAAAe1BMVEUAAAD////pMyP95+b////////////////pMyP////////rQjPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPpMyPqQDHpNCTpNibqOSrqOyzqPS3qPi/qPzDqOChS1ayBAAAAH3RSTlMAEMwBCgUOA94MB88J98Rp2j/odxWLgVAqslwhppqW0sSmgAAAKHNJREFUeNrs0oEAAAAMBKGZzN/yQa4YuocM3QnRnRDdCdGdEN0J0Z0Q3QnRnRDdCdGdEN0J0Z0Q3QnRnRDdCdGdEN0J0Z0Q3QnRnbFrLsmxgzAUXUpLVx+8/xW+avJcuC38SdqpUuOcoRkBBwkJ34jv6s4VAPzkcV+4AuDe68AVfMo6fE93hqjNqE543BNeLoSqIP9GX0b0QT9nHb6jO1TNaYGbSvYJ/gIsqlZogalM91sISMeH3BHwtO4McYqU7BO8HJ60UMT1XsIzxKiDpfbhpO5N9oimT2EXwlCnPiX1Rl8Mi9EGljjjn9OdYbSNJ57fxbA4bWN3OfgMpW1K3jv8Kd0hTrvoPeIaQwvtUe5x8L9C+yee+zO619D+5/v/0P7nOysdYdMjJSd0XyUuU5FyS9/h64XQzkIM7zvLqkYXsei7PDJypHu8pgkzi/e3+QMeGn5IrF8czBAKyOALwVJWG8+90s6f8S/dy9Ox7ivbDe1j2GaWcZM5rHO+e/v8zOMsSbP5+8j6+lY/9tMcI1m36kh3nkpPd3EKPO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m6G9NtprM+wVLAllmjGPjSY+tDa6uLBo25ZwPmuqvSSKT8yR/eqDhemeMWcud7CaOTOeWDVlc4uwyObN7MjCuK1gKg8BNCFQGnmXd0pyyQGtEKsBUB3Qd1LU+aJ1Y/FWkmI0P98oLnco2wea8Bp9/fzyBBv/2rOXb7ftfpG42dgGmPstL0pc9UALoQK+1JLT0rfWZxSLHwX6N4gP/fW/BvfY206qNTZv2ki+7OyFLUF9K35QbFhPz+8KJGV/3B04smlxHoFKjpo8pd/ri5prQnr8P6WvvOeG/dFNW0bGfe279SwbP1hHkLQjck0DD3Q5VsST6nuVCRaeQtGjZ446J3W1zwbBV8s89RwGteu9Ze2Ko1KapiiZXl9K2NEw4/6nwxLx0YQMTr7RzeP6RBBpiYFaDzmuAOi27d8krLSI2hy/dLVF88CitDM9D4MoEDPcnLDVPwaTZLHI1XBoO9P5zE7lgYe2rOnjUtIl3rkFgb8E9zndeSulz0UHpi+HzhksSrMV/gmJXzHhMPCtRnnssgQZTuGfmA1S1QRdp32PoTrsnDbnVdS7Vb7FVbikTDeljHzvyabiFQIWrWlys1gStDatucWv1aTzQ++JjV7qcfITVfq1DHvbvewvupRcvaaJJkyZtdriBVgvwHbTs4RCxCu5MvIdNLJpbTmAh88pSYVoftE6EmaY03/wakU37mpS0x1FrojVAfa2RVnc6lcPhfo0m//5oAhWCu18HJDuEvudaLyS8y/c9eY9LDnSnA31OcM/F
|
||
|
background-repeat: no-repeat;
|
||
|
background-size: 100% 100%;
|
||
|
width: 100%;
|
||
|
// height: 480rpx;
|
||
|
padding-bottom: 20rpx;
|
||
|
background-color: var(--view-theme);
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .name {
|
||
|
font-size: 30rpx;
|
||
|
color: #fff;
|
||
|
padding-top: 37rpx;
|
||
|
position: relative;
|
||
|
|
||
|
.distribution {
|
||
|
height: 52rpx;
|
||
|
background-color: #ccc;
|
||
|
font-size: 24rpx;
|
||
|
color: #fff;
|
||
|
position: absolute;
|
||
|
right: 0;
|
||
|
border-radius: 30rpx 0 0 30rpx;
|
||
|
padding: 0 5rpx 0 10rpx;
|
||
|
|
||
|
&.on {
|
||
|
background-color: #FFF9E3;
|
||
|
color: #D16739;
|
||
|
}
|
||
|
|
||
|
.iconfont {
|
||
|
font-size: 18rpx;
|
||
|
}
|
||
|
|
||
|
.icon-dengjitubiao {
|
||
|
font-size: 32rpx;
|
||
|
margin-right: 10rpx;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.user-msg {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
flex-direction: column;
|
||
|
|
||
|
.nickname {
|
||
|
font-size: 32rpx;
|
||
|
margin: 10rpx 0;
|
||
|
max-width: 8rem;
|
||
|
}
|
||
|
|
||
|
.level {
|
||
|
font-size: 18rpx;
|
||
|
padding: 4rpx 10rpx;
|
||
|
background: linear-gradient(135deg, var(--view-bntColor) 0%, var(--view-main-over) 100%);
|
||
|
border-radius: 6rpx;
|
||
|
transform: scale(0.9);
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
max-width: 10rem;
|
||
|
.icon-xiangyou {
|
||
|
transform: scale(0.7);
|
||
|
font-size: 28rpx;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
image {
|
||
|
width: 100rpx;
|
||
|
height: 100rpx;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .name .record {
|
||
|
font-size: 26rpx;
|
||
|
color: rgba(255, 255, 255, 0.8);
|
||
|
position: absolute;
|
||
|
right: 20rpx;
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .name .record .iconfont {
|
||
|
font-size: 25rpx;
|
||
|
margin-left: 10rpx;
|
||
|
vertical-align: 2rpx;
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .num {
|
||
|
text-align: center;
|
||
|
color: #fff;
|
||
|
margin-top: 8rpx;
|
||
|
font-size: 90rpx;
|
||
|
font-family: 'Guildford Pro';
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .profit {
|
||
|
padding: 0 20rpx;
|
||
|
margin-top: 35rpx;
|
||
|
font-size: 24rpx;
|
||
|
color: rgba(255, 255, 255, 0.8);
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .profit .item {
|
||
|
min-width: 200rpx;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .profit .item .iconfont {
|
||
|
font-size: 18rpx;
|
||
|
color: #fff;
|
||
|
margin-top: 5rpx;
|
||
|
}
|
||
|
|
||
|
.my-promotion .header .profit .item .money {
|
||
|
font-size: 34rpx;
|
||
|
color: #fff;
|
||
|
margin-top: 5rpx;
|
||
|
}
|
||
|
|
||
|
.my-promotion .bnt {
|
||
|
font-size: 28rpx;
|
||
|
color: #fff;
|
||
|
width: 258rpx;
|
||
|
border-radius: 50rpx;
|
||
|
text-align: center;
|
||
|
line-height: 68rpx;
|
||
|
margin: -32rpx auto 0 auto;
|
||
|
|
||
|
border: 16rpx solid #f5f5f5;
|
||
|
}
|
||
|
|
||
|
.my-promotion .list {
|
||
|
padding: 0 20rpx 50rpx 20rpx;
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
|
||
|
.my-promotion .list .item {
|
||
|
width: 345rpx;
|
||
|
height: 240rpx;
|
||
|
border-radius: 20rpx;
|
||
|
background-color: #fff;
|
||
|
margin-top: 20rpx;
|
||
|
font-size: 30rpx;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.my-promotion .list .item .iconfont {
|
||
|
font-size: 70rpx;
|
||
|
// background-image: linear-gradient(to right, #fc4d3d 0%, #e93323 100%);
|
||
|
background-color: var(--view-theme);
|
||
|
-webkit-background-clip: text;
|
||
|
-webkit-text-fill-color: transparent;
|
||
|
margin-bottom: 20rpx;
|
||
|
}
|
||
|
|
||
|
.apply {
|
||
|
top: 52rpx;
|
||
|
right: 0;
|
||
|
position: absolute;
|
||
|
width: max-content;
|
||
|
height: 56rpx;
|
||
|
padding: 0 14rpx;
|
||
|
background-color: #fff1db;
|
||
|
color: #a56a15;
|
||
|
font-size: 22rpx;
|
||
|
border-radius: 30rpx 0 0 30rpx;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
</style>
|