添加渠道商 渠道记录

This commit is contained in:
Mr.jiang 2024-08-22 10:19:21 +08:00
parent 24af4a8b00
commit 4188c6a2ec
3 changed files with 969 additions and 6 deletions

View File

@ -0,0 +1,196 @@
<template>
<view class="content">
<view class="content-mian">
<view class="content-list" v-for="(item, index) in list" :key="index">
<view class="list-top">
<view class="list-top-view">
<span class="list-top-view-title">{{item.title}}</span>
</view>
<text v-if="item.type == 1" class="text-olive" style="font-size: 32upx;font-weight: 600"><text class="text-olive">+</text>{{item.money}}</text>
<text v-if="item.type == 2" class="text-red" style="font-size: 32upx;font-weight: 600"><text class="text-red">-</text>{{item.money}}</text>
</view>
<view class="list-bottom">
<view class="list-bottom-ding">
{{item.content}}
</view>
<view class="list-bottom-ding">
{{item.state=='1'?'提现审判中':'完成'}}
</view>
<view class="list-bottom-time">
创建时间{{item.createTime}}
</view>
</view>
</view>
<empty v-if="list.length == 0" content="暂无明细" ></empty>
</view>
</view>
</template>
<script>
import empty from '@/components/empty.vue'
export default {
components: {
empty
},
data() {
return {
list: [],
page: 1,
limit: 10,
tabIndex: 1,
checkReZhiShu: '否',
checkReTuanZhang: '否',
checkReFeiZhiShu: '否',
scrollTop: false,
contentText: {
contentdown: '上拉显示更多',
contentrefresh: '正在加载...',
contentnomore: '没有更多数据了'
},
navName:''
}
},
onLoad(e) {
this.navName=e.navName
this.$queue.showLoading("加载中...");
this.getList();
},
onPageScroll: function(e) {
this.scrollTop = e.scrollTop > 200;
},
methods: {
getList() {
let data = {
page: this.page,
limit: this.limit
}
this.$Request.getT('/app/commission/jjr/withdrawalDetail',data ).then(res => {
if (res.code === 0) {
if (this.page === 1) {
this.list = res.data.list;
} else {
this.list = [...this.list, ...res.data.list];
}
}
uni.stopPullDownRefresh();
uni.hideLoading();
});
}
},
onReachBottom: function() {
this.page = this.page + 1;
this.getList();
},
onPullDownRefresh: function() {
this.page = 1;
this.getList();
}
}
</script>
<style lang="less">
.img-span{
display: block;
padding: 2px 6px;
font-weight: 400;
font-size: 10px;
color: #FFFFFF;
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
border-radius: 10px 3px 10px 3px;
margin-left: 5px;
}
.list-top-view-title{
color: #13141A;
font-weight: bold;
font-size: 35rpx;
}
.list-top-view{
display: flex;
flex-direction: row;
align-items: center;
}
.list-bottom-time{
font-weight: 400;
font-size: 25rpx;
color: #999999;
margin-top: 5px;
}
.list-bottom-ding{
font-weight: 400;
font-size: 29rpx;
color: #555555;
}
.list-bottom{
width: 100%;
display: flex;
flex-direction: column;
}
.shijiH{
color: #FF8400;
}
.shijiL{
color: #029D88;
}
.list-top{
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #DCDCDC;
padding-bottom: 15px;
margin-bottom: 15px;
}
.content-list{
width: 100%;
height: 235rpx;
background: #FFFFFF;
border-radius: 21rpx;
padding: 15px;
margin-top: 12px;
}
.content-mian{
width: 95%;
height: 100%;
display: flex;
flex-direction: column;
margin: 0 auto;
padding-bottom: 30px;
}
.content {
width: 100%;
// height: 100vh;
background: #f7f7f7;
// overflow: scroll;
}
.tui-tab-item-title {
// color: #ffffff;
font-size: 30rpx;
height: 80rpx;
line-height: 80rpx;
flex-wrap: nowrap;
white-space: nowrap;
}
.tui-tab-item-title-active {
border-bottom: 1px solid #557EFD;
color: #557EFD;
font-size: 32upx;
font-weight: bold;
border-bottom-width: 6upx;
text-align: center;
}
.item {
background: #FFFFFF;
padding: 32rpx;
margin: 32rpx;
font-size: 28rpx;
box-shadow: 7px 9px 34px rgba(0, 0, 0, 0.1);
border-radius: 16upx;
}
</style>

View File

@ -0,0 +1,767 @@
<template>
<view class="content">
<view class="liebiao">
<view v-if="orderList.length" class="flex text-center flex-wrap list-view">
<view class="margin-bottom-sm radius touxiang-left">
<view class="flex align-center touxiang-left-view" v-for="(item, index) in orderList" :key='index'
>
<view class="touxiang-left-content">
<image class="touxiang-left-content-img" :src="item.avatar ? item.avatar : '../../static/logo.png'"
@click.stop="saveImgs(item.avatar)" mode="aspectFill"></image>
</view>
<view class="list-right">
<view class="flex align-center" style="justify-content: start;">
<view class="flex align-center list-right-top">
<view class="list-right-top-view">
<view class="list-right-top-name">
{{ item.name?item.name:item.userName }}
</view>
<view class="keyuyue">
{{ item.phone}}
</view>
</view>
</view>
</view>
<view class="therapist-mian">
<view class="therapist-mian-top">
<!-- <view class="therap-pin">
<span>联系电话</span>
<span class="therapist-mian-view-text">
{{ item.phone}}
</span>
</view> -->
<view class="therap-pin" >
<span>邀请码:</span>
<span class="therapist-mian-view-text">
{{ item.invitationCode}}
</span>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<empty v-if="orderList.length == 0"></empty>
</view>
<!-- 经验筛选 -->
</view>
</template>
<script>
import empty from '@/components/empty.vue'
export default {
components: {
empty,
},
data() {
return {
orderList: [],
page: 1,
limit: 10,
current: 0,
myId: uni.getStorageSync('userId') ? uni.getStorageSync('userId') : '',
navName:'',
}
},
onLoad(e) {
this.navName=e.navName
let that = this
that.getlist()
},
methods: {
saveImgss(imgs, index) {
let imgArr = imgs
// //
uni.previewImage({
urls: imgArr,
current: imgArr[index]
});
},
saveImgs(imgs) {
let imgArr = [];
imgArr.push(imgs);
// //
uni.previewImage({
urls: imgArr,
current: 0
});
},
getlist() {
let data = {
page: this.page,
limit: this.limit,
}
this.$Request.get("/app/commission/jjr/artificerDetail", data).then(res => {
if (res.code == 0) {
if (this.page == 1) {
this.orderList = res.data.list
} else {
this.orderList = [...this.orderList, ...res.data.list]
}
}
uni.stopPullDownRefresh();
uni.hideLoading();
})
},
},
onReachBottom: function() {
this.page = this.page + 1;
this.getlist()
},
onPullDownRefresh: function() {
this.page = 1;
this.getlist()
},
}
</script>
<style lang="scss" scoped>
/deep/.u-drawer,/deep/.u-mask-show{
z-index:11 !important;
}
/deep/.u-drawer-content-visible{
z-index:99 !important;
}
.item-view-jianjie{
font-weight: 400;
font-size: 22rpx;
color: #848484;
margin:5px 0px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
}
.touxiang-frame{
position: absolute;
width: 100rpx;
height: 38rpx;
left: 44rpx;
top:140rpx;
}
.dituList{
width: 85%;
height: 173px;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.liebiao{
height: 100vh;
margin-top: 20px;
display: flex;
flex-direction: column;
}
.content-head{
position: fixed;
top: 0rpx;
z-index: 999;
width: 100%;
background: #fff;
//background-image: url('../../static/topimg.png');
// 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;
// overflow: auto;
}
.therapist-bottom-dingwei-text{
font-size: 29rpx;
color: #848485;
}
.therapist-bottom-dingwei{
width: 17.36rpx;
height: 20.14rpx;
margin-right:3px;
}
.therapist-bottom-img{
width: 22.22rpx;
height: 22.22rpx;
margin-right:3px;
}
.therapist-mian-bottom-text{
font-weight: bold;
font-size: 30rpx;
color: #222222;
white-space: pre-wrap;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
width:60px;
}
.therapist-mian-bottom{
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin: 5px 0px 3px 0px;
}
.therapist-mian-view-text span{
font-weight: 500;
font-size: 26rpx;
color: #222222;
}
.therapist-mian-view span{
font-weight: 400;
font-size: 26rpx;
color: #7C8187;
margin-right: 10px;
}
.therapist-mian-view image{
width: 28rpx;
height: 28rpx;
margin-right: 2px;
}
.therapist-mian-view{
display: flex;
flex-direction:row;
align-items: center;
}
.therapist-mian-top{
width: 100%;
display: flex;
flex-direction:row;
}
.therapist-mian{
width: 100%;
display: flex;
flex-direction:column;
}
.list-right-top-bottom{
width: 100%;
text-align: left;
font-weight: 400;
font-size: 25rpx;
color: #333333;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; /* 显示的行数,可以根据需要修改 */
overflow: hidden;
text-overflow: ellipsis;
}
.list-right-top-name{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
font-weight: bold;
font-size: 32rpx;
color: #13141A;
}
.keyuyue{
padding: 0rpx 10rpx;
height: 44rpx;
display: flex;
flex-direction: row;
align-items: center;
// background: #eefdf8;
border-radius: 30rpx 20rpx 20rpx 30rpx ;
color:#8d500f;
font-size: 24rpx;
}
.timea-img{
background:#2dbe93 url('../../../static/timea.png') 2rpx 1rpx;
background-size: 28rpx 28rpx;
background-repeat: no-repeat;
width: 30rpx;
height: 30rpx;
border-radius:8rpx;
margin-top: 8rpx;
}
.timea-fu{
font-size: 24rpx;
color: #2dbe93;
line-height: 44rpx;
margin-left: 8rpx;
margin-right: 5rpx;
}
.timea-time{
font-size: 25rpx;
color: #2dbe93;
line-height: 44rpx;
padding-right: 10rpx;
}
.keyuyue .keyuyue-btn{
width: 50%;
height: 100%;
font-weight: 400;
font-size: 17rpx;
text-align: center;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.keyuyue-jinri{
border-top-left-radius: 7rpx;
border-bottom-left-radius: 7rpx;
border-radius: 7rpx;
color: #fff;
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
}
.keyuyue-time{
border-top-right-radius: 7rpx;
border-bottom-right-radius: 7rpx;
color: #039E89;
background: #EBEBEB;
}
.list-right-top-view image{
width: 168.75rpx;
height: 40.97rpx;
}
.list-right-top-view{
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.list-right-top{
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.list-right{
width: 72%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
padding: 16rpx;
}
.zpmore_view {
position: absolute;
bottom: -20rpx;
left: 14rpx;
color: #f9f3d3;
background: linear-gradient(to right, #0a0c16, #4d4d53);
width: 130upx;
text-align: center;
border-radius: 30rpx;
height: 42rpx;
line-height: 42rpx;
font-size: 24rpx;
margin-left: 10rpx;
}
.zpmore_view_left{
width: 68.75rpx;
height: 29.86rpx;
}
.img-span{
padding: 1px 5px;
font-weight: 400;
font-size: 8px;
color: #FFFFFF;
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
border-radius: 7px 0px 7px 0px;
position: absolute;
bottom: 0px;
right: 0;
margin-bottom: 5px;
margin-right: 5px;
}
// .zpmore_view_left image{
// position: absolute;
// bottom: 0px;
// right: 0px;
// margin: 0px 5px -16px 0px;
// width: 68.75rpx;
// height: 29.86rpx;
// }
.touxiang{
width: 202.08rpx;
height: 306.94rpx;
}
.touxiang-left-content{
width: 180rpx;
//width: 235.08rpx;
height: auto;
border-radius: 10rpx;
position: relative;
}
.touxiang-left-content-img{
width: 150rpx;
height: 150rpx;
border-radius:120rpx;
margin: 14rpx 22rpx;
}
.touxiang-left-view{
width: 100%;
height: 126px;
border-radius: 18rpx;
align-items: flex-start;
background: #fff;
margin-bottom: 12px;
padding-bottom: 10px;
justify-content: space-between;
padding: 10rpx;
align-items: center;
}
.touxiang-left{
width: 100%;
/* padding: 10px; */
display: flex;
flex-direction: column;
// justify-content: space-between;
align-items: baseline;
}
.list-view{
// margin-top: 52px;
padding: 0 20rpx;
height: 100%;
justify-content: space-between;
}
/deep/.justify-between{
// width: 100px;
// height: 32px;
line-height: 32px;
border-radius: 4px;
margin-left: 10px;
}
.padding-top-sm{
width: 95%;
margin: 0 auto;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
/deep/.page-box{
background: none !important;
}
/deep/.u-action{
display: none;
}
.content{
width: 100%;
height: 100vh;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
// overflow: auto;
}
/deep/.u-content{
border-radius: 30px !important;
}
.flex-sub{
width: 353rpx;
height: 63rpx !important;
}
.localName{
margin-left: 4rpx;
font-weight: bold;
font-size: 33rpx;
color: #333333;
}
.dingwei-img{
width:33.33rpx;
height:37.5rpx;
}
page {
background-color: #F7F7F7;
}
.jishi_name {
max-width: 80rpx;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.zz_view {
color: #333333;
font-size: 24rpx;
padding: 6rpx 10rpx;
border-radius: 10rpx;
}
.zpmore_view {
position: absolute;
bottom: -20rpx;
left: 14rpx;
color: #f9f3d3;
background: linear-gradient(to right, #0a0c16, #4d4d53);
width: 130upx;
text-align: center;
border-radius: 30rpx;
height: 42rpx;
line-height: 42rpx;
font-size: 24rpx;
margin-left: 10rpx;
}
.byy_view {
background: #ebebeb;
width: 100upx;
text-align: center;
border-radius: 50rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 24rpx;
color: #000000;
// border: 3upx solid #999999;
margin-top: 6rpx;
margin-left: 40rpx;
}
.kfw_view {
background: #ffaa00;
width: 100upx;
text-align: center;
border-radius: 50rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 24rpx;
color: #FFFFFF;
margin-top: 6rpx;
margin-left: 40rpx;
}
.kyy_view {
background: #096f4b;
width: 100upx;
text-align: center;
border-radius: 50rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 24rpx;
color: #FFFFFF;
margin-top: 6rpx;
margin-left: 40rpx;
}
.bg {
background: #FFFFFF;
}
.ytp_view {
background: #e3e3e3;
width: 400rpx;
border-radius: 10rpx;
font-size: 28rpx;
text-align: center;
height: 80rpx;
line-height: 80rpx;
color: #848484;
margin-top: 40rpx;
}
.tp_view {
background: #ee6c54;
width: 400rpx;
border-radius: 10rpx;
font-size: 28rpx;
text-align: center;
height: 80rpx;
line-height: 80rpx;
color: #FFFFFF;
margin-top: 40rpx;
}
.sticky-tabs {
z-index: 990;
position: sticky;
top: var(--window-top);
// background-color: #fff;
}
/* // 使用mescroll-uni,则top为0 */
.mescroll-uni,
/deep/.mescroll-uni {
.sticky-tabs {
top: 0;
}
}
.demo-tip {
padding: 18upx;
font-size: 24upx;
text-align: center;
}
.line_s {
display: inline-flex;
width: 10rpx;
height: 10rpx;
background: #1AD566;
border-radius: 50%;
margin-right: 10rpx;
}
.line_x {
display: inline-flex;
width: 10rpx;
height: 10rpx;
background: #000000;
border-radius: 50%;
margin-right: 10rpx;
}
.box {
// border: 3rpx solid #005dff;
background: #E8FAE1;
color: #096f4b;
padding: 5rpx 15rpx;
font-size: 26rpx;
letter-spacing: 2rpx;
border-radius: 8rpx;
// margin-top: 10rpx;
margin-right: 8upx;
}
.actve {
font-size: 30rpx;
font-family: PingFang SC;
font-weight: 800;
color: #20C675;
}
.tabview1 {
// width: 686upx;
// height: 100upx;
background: #FFFFFF;
// z-index: 99;
// display: flex;
// line-height: 100upx;
.tabview {
// width: 686upx;
// // height: 100upx;
border-radius: 24rpx 24rpx 0 0;
// margin-top: -50upx;
// z-index: 99;
display: flex;
line-height: 100upx;
.tabItem_sel {
font-size: 32upx;
font-family: PingFang SC;
font-weight: 800;
color: #ffffff;
background: linear-gradient(to right, #223845, #00a85b);
flex: 1;
text-align: center;
}
.tabItem {
font-size: 32upx;
font-family: PingFang SC;
color: #333333;
flex: 1;
text-align: center;
}
}
.tabsx {
width: 686upx;
border-radius: 24rpx;
padding-bottom: 10rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 30rpx;
font-size: 26rpx;
.active {
color: #20C675;
font-size: 30rpx;
font-weight: bold;
}
}
}
.aa {
background: linear-gradient(to right, #223845, #00a85b);
width: 46px;
text-align: center;
height: 24px;
line-height: 24px;
margin-left: 4px;
color: #ffffff;
box-shadow: 0 0 3px #dddddd;
border-radius: 4px;
}
.bb {
width: 46px;
text-align: center;
height: 24px;
line-height: 24px;
margin-left: 4px;
color: #666666;
border-radius: 4px;
background-color: #f7f7f7;
}
//
/deep/.custom-content-marker {
width: 70px;
height: 70px;
.marker_border {
//border: black solid;
width: 20px;
height: 20px;
padding: 5px;
background: white;
box-shadow: 0px 5px 10px #888888;
border-radius: 50%;
}
.marker_foot {
// height: 50px;
// width: 50px;
// background: black;
// transform: rotate(45deg);
// position: absolute;
// top: 50px;
// overflow: hidden;
}
}
/deep/.custom-content-marker img {
width: 100%;
height: 100%;
border-radius: 50%;
}
.make-now{
background: linear-gradient(90deg, rgb(1, 156, 136), rgb(15, 167, 139), rgb(53, 196, 149));
color: rgb(255, 255, 255);
width: 200rpx;
border-radius: 15px;
height: 30px;
line-height: 30px;
margin-top: 5px;
}
.therap-pin{
display: flex;
align-items: flex-end;
margin-right: 10rpx;
}
.therap-pin span:nth-child(2){
color: #019c88;
}
.therap-pin span:nth-child(1){
color: #666;
margin-right: 10rpx;
}
.terap-button{
background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
color: #ffffff;
width:130rpx;
height: 60rpx;
border-radius: 10upx;
line-height: 58rpx;
}
</style>

View File

@ -153,30 +153,30 @@
<image style="padding: 3rpx;" src="../../static/my-gong-4.png" mode=""></image>
<span class="my-use-list-text">城市合伙人</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applyBroker/index')">
<!-- <view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applyBroker/index')">
<image style="padding: 3rpx;" src="../../static/my-gong-11.png" mode=""></image>
<span class="my-use-list-text">申请经纪人</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='1'" @click="useToUrl('/pages/my/applyBroker/myBroker')">
<image style="padding: 3rpx;" src="../../static/my-gong-12.png" mode=""></image>
<span class="my-use-list-text">我是经纪人</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applySalesperson/index')">
</view> -->
<!-- <view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applySalesperson/index')">
<image style="padding: 3rpx;" src="../../static/my-gong-14.png" mode=""></image>
<span class="my-use-list-text">申请业务员</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='1'" @click="useToUrl('/pages/my/applySalesperson/mySalesperson')">
<image style="padding: 3rpx;" src="../../static/my-gong-13.png" mode=""></image>
<span class="my-use-list-text">我是业务员</span>
</view>
<view class="my-use-list" v-if="blIsFxy=='0'" @click="useToUrl('/pages/my/applyDistributor/index')">
</view> -->
<!-- <view class="my-use-list" v-if="blIsFxy=='0'" @click="useToUrl('/pages/my/applyDistributor/index')">
<image style="padding: 3rpx;" src="../../static/my-gong-15.png" mode=""></image>
<span class="my-use-list-text">申请分销员</span>
</view>
<view class="my-use-list" v-if="blIsFxy=='1'" @click="useToUrl('/pages/my/applyDistributor/myDistributor')">
<image style="padding: 3rpx;" src="../../static/my-gong-16.png" mode=""></image>
<span class="my-use-list-text">我是分销员</span>
</view>
</view> -->
<view class="my-use-list" @click="useToUrl('/pages/my/myteam')">
<image style="padding: 3rpx;" src="../../static/my-gong-9.png" mode=""></image>
<span class="my-use-list-text">我的团队</span>