建材商城系统20241014
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.
 
 
 

235 lines
4.9 KiB

<template>
<view class="page">
<navbar
title="我的团队"
leftClick
@leftClick="$utils.navigateBack"
bgColor="#DC2828"
color="#fff"
/>
<view class="team">
<view class="team-message">
<view class="leftImage">
<image src="" mode=""></image>
</view>
<view class="number-team">
<view class="top-number">
<text style="font-weight: 500;">13845131854</text>
<view class="salesman">一级业务员</view>
</view>
<view class="bottom-number">
<view class="performance">
<view class="team-sum">
团队总业绩
</view>
<view class="figure">
<text style="margin-left: 30rpx; color: #DC2828; font-weight: 600;"></text><text class="money">66666</text>
</view>
</view>
<view class="withdraw">
<view class="withdraw-button">
去提现
</view>
</view>
</view>
</view>
</view>
</view>
<view class="user">
<text>直销用户</text>
</view>
<view class="user-list">
<view class="head" v-for="(item,index) in 20">
<view class="headImage">
<image src="" mode=""></image>
</view>
<view class="info">
<view class="name">
用户138xxxxxxxx
</view>
<view class="headBtn">
下单量:<text>12</text>单 | 佣金: <text style="color: darkorange;">120元</text>
</view>
<view class="tips">
已加入平台<text>120</text>天
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
.page{
.team{
height: 250rpx;
background-color: #DC2828;
padding-top: 50rpx;
.team-message{
height: 200rpx;
width: 90%;
background-color: #fff;
margin: 0 30rpx;
position: relative;
border-radius: 10rpx;
.leftImage {
width: 150rpx;
height: 150rpx;
background-image: url(/static/image/center/3.png);
background-size: 100% 100%;
overflow: hidden;
border-radius: 50%;
margin-right: 15rpx;
display: inline-block;
position: absolute;
top: 25rpx;
left: 26rpx;
}
.number-team{
width: 70%;
display: inline-block;
position: absolute;
top: 0rpx;
left: 202rpx;
.top-number{
height: 70rpx;
position: relative;
border-bottom: #DC2828 dotted 1rpx;
display: flex;
align-items: center;
margin: 0 20rpx;
.salesman{
position: absolute;
height: 40rpx;
width: 160rpx;
text-align: center;
background-color: #FF6700;
border-radius: 50rpx;
display: inline;
margin-left: 240rpx;
color: #fff;
font-size: 24rpx;
}
}
.bottom-number{
height: 120rpx;
position: relative;
.performance{
width: 50%;
height: 100%;
display: inline-block;
position: absolute;
top: 0rpx;
.team-sum{
display: inline-block;
width: 180rpx;
background-color: #F99F9F;
border-radius: 50rpx;
text-align: center;
margin: 0rpx 20rpx;
margin-top: 8rpx;
color: #DC2828;
font-size: 26rpx;
}
.figure{
height: 60rpx;
line-height: 60rpx;
display: flex;
// align-items: center;
padding-top: 10rpx;
.money{
font-size: 40rpx;
color: #DC2828;
display: inline-block;
font-weight: 600;
}
}
}
.withdraw{
width: 50%;
height: 100%;
display: inline-block;
position: absolute;
right: 0rpx;
display: flex;
justify-content: center;//横轴居中
align-items: center;//竖轴居中
.withdraw-button{
background-color: #DC2828;
color: #fff;
border-radius: 50rpx;
text-align: center;
height: 62rpx;
width: 200rpx;
line-height: 62rpx;
}
}
}
}
}
}
.user{
height: 120rpx;
background-color: #fff;
display: flex;
align-items: center;
padding-left: 30rpx;
}
.user-list{
margin: 0 20rpx;
.head {
z-index: -1;
display: flex;
background-color: #fff;
padding: 0rpx 20rpx;
align-items: center;
position: relative;
height: 100rpx;
margin-top: 20rpx;
border-radius: 20rpx;
.headImage {
width: 75rpx;
height: 75rpx;
background-image: url(/static/image/center/3.png);
background-size: 100% 100%;
overflow: hidden;
border-radius: 50%;
margin-right: 15rpx;
}
.info {
font-size: 22rpx;
.name {
font-size: 26rpx;
color: #333;
}
.tips {
font-size: 22rpx;
color: #999999;
margin-top: 10rpx;
}
}
.headBtn {
position: absolute;
right: 60rpx;
top: 38rpx;
color: #333;
font-size: 26rpx;
}
}
}
}
</style>