sadjv3_user/pages/my/applySalesperson/mySalesperson.vue

250 lines
5.2 KiB
Vue
Raw Normal View History

2024-08-03 16:29:50 +08:00
<template>
<view class="content">
<view class="content-top">
<view class="bgimg">
<view class="bgimg-top">
<view class="bgimg-top-tou">
<u-avatar :src="avatar" size="120" style=" border: 2px solid #F2F2F2;"></u-avatar>
</view>
<view class="bgimg-top-view">
<view class="bgimg-top-money">
<span></span>
<span>提成比例:12%</span>
</view>
</view>
</view>
<view class="mian">
<view class="mian-title">
<span class="mian-top-title">可提现()</span>
<span class="mian-top-title">0.00</span>
</view>
<view class="mian-list">
<view class="list-view">
<view class="money">0.00</view>
<view class="list-title">累计佣金()不含手续费</view>
</view>
<view class="list-view">
<view class="money">0.00</view>
<view class="list-title">已提现()</view>
</view>
<view class="list-view">
<view class="money">0.00</view>
<view class="list-title">总成交金额()不含物料费</view>
</view>
</view>
<view class="detail-btn" @click="cashMoney">
2024-08-03 17:10:20 +08:00
我要提现</view>
2024-08-03 16:29:50 +08:00
</view>
</view>
<view class="mian-bottom">
<view class="mian-bottom-list">
2024-08-06 18:30:12 +08:00
<image class="mian-bottom-img" src="../../../static/my-gong-21.png" mode=""></image>
2024-08-03 16:29:50 +08:00
<span>渠道明细</span>
</view>
<view class="mian-bottom-list">
2024-08-06 18:30:12 +08:00
<image class="mian-bottom-img" src="../../../static/my-gong-18.png" mode=""></image>
2024-08-03 16:29:50 +08:00
<span>我的渠道商</span>
</view>
<view class="mian-bottom-list">
2024-08-06 18:30:12 +08:00
<image class="mian-bottom-img" src="../../../static/my-gong-20.png" mode=""></image>
2024-08-03 16:29:50 +08:00
<span>提现记录</span>
</view>
</view>
2024-08-07 09:33:27 +08:00
<view class="foot-img-list">
<image class="foot-img" src="../../../static/suggest-banner5.png" mode=""></image>
2024-08-03 16:29:50 +08:00
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
avatar: '',
}
},
onLoad() {
this.avatar = uni.getStorageSync('avatar')
},
}
</script>
<style scoped>
2024-08-07 09:33:27 +08:00
.foot-img-list{
width: 92%;
margin: 0 auto;
}
2024-08-03 16:29:50 +08:00
.foot-img image{
width:100%;
height: 100%;
}
.foot-img{
2024-08-07 09:33:27 +08:00
width: 100%;
height:180rpx;
2024-08-03 16:29:50 +08:00
margin: 0 auto;
2024-08-07 09:33:27 +08:00
margin-top:20rpx;
2024-08-03 16:29:50 +08:00
}
.mian-bottom-list span{
color: #333;
font-size: 14px;
font-weight: bold;
margin-top: 5px;
}
.mian-bottom-list{
width:30%;
display: flex;
flex-direction: column;
align-items: center;
}
.mian-bottom-img{
height: 40px;
width: 40px;
flex: 0 0 40px;
background-color: transparent;
}
.mian-bottom{
width: 93%;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
padding: 10px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-top: 160px;
}
.mian-top-title{
color: #333;
font-size: 16px;
font-weight: bold;
}
.money{
color: #333;
font-size: 15px;
font-weight: bold;
}
.list-title{
margin-top: 5px;
font-size: 12px;
color: #B8B8B8;
font-weight: 400;
}
.list-view{
width:30%;
display: flex;
flex-direction: column;
align-items: center;
}
.mian-list{
width:100%;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 20px;
}
.mian-title{
width:100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding-bottom: 15px;
border-bottom: 1px solid #ccc;
margin-bottom: 15px;
}
.mian{
width: 100%;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
padding: 10px;
display: flex;
flex-direction: column;
margin-top: 15px;
}
.detail-btn{
display: inline-block;
width: 92%;
text-align: center;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
height: 40px;
border-radius: 28px;
color: #ffffff;
line-height: 40px;
margin: 0 auto;
margin-top: 4px;
font-size: 34rpx;
}
.content-top{
width: 100%;
height: 100%;
}
.content{
width: 100%;
height: 100vh;
padding-bottom: 10rpx;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f7f7f7), url('../../../static/background-img.png');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
page {
background-color: #F7F7F7;
}
.bgimg-top-money span:nth-child(1){
font-weight: bold;
font-size: 43rpx;
color: #FFFFFF;
}
.bgimg-top-money span:nth-child(2){
font-weight: 400;
font-size: 25rpx;
color: #FFFFFF;
margin-top:4px;
}
.bgimg-top-money{
display: flex;
flex-direction: column;
margin-left: 10px;
}
.bgimg-top-view{
width: 80%;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.bgimg-top{
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-top: 15rpx;
}
.bgimg {
background: url(../../../static/wallet/reduce.png);
background-size: cover;
width: 100%;
height: 150px;
position: relative;
margin: 0px auto 10px auto;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 15px;
}
.mingxi{
width: 140rpx;
height: 42rpx;
line-height: 42rpx;
text-align: center;
background: #F5F7FB;
border-radius: 21rpx;
font-weight: bold;
font-size: 22rpx;
color: #333333;
}
</style>