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.
558 lines
17 KiB
558 lines
17 KiB
<!--我的-首页-->
|
|
<template>
|
|
<view class="assemble">
|
|
<view class="main_box">
|
|
<view style="height: 20rpx;background: #29D3B4;"></view>
|
|
<view class="count_section">
|
|
<view class="main">
|
|
<view class="course_box">
|
|
<view class="course_box_top">
|
|
<view class="course_box_top_top">
|
|
<image class="pic" src="http://www.firstui.cn:4000/vipdoc/img/img_logo.png"></image>
|
|
<view class="name">包子皮</view>
|
|
</view>
|
|
<view class="course_box_top_below">
|
|
<view class="course_box_top_below-left">
|
|
<view>08-30 14:25 跟进</view>
|
|
<view style="display: flex;align-items: center;" v-if="false">
|
|
<view style="padding-left: 30rpx;">
|
|
<image src="@/static/images/index/intention1.png" class="drop-image-x"></image>
|
|
</view>
|
|
<view class="title-x">意向:低</view>
|
|
</view>
|
|
<view style="display: flex;align-items: center;" v-if="true">
|
|
<view style="padding-left: 30rpx;">
|
|
<image src="@/static/images/index/intention3.png" class="drop-image-x"></image>
|
|
</view>
|
|
<view class="title-x">意向:高</view>
|
|
</view>
|
|
<view style="display: flex;align-items: center;" v-if="false">
|
|
<view style="padding-left: 30rpx;">
|
|
<image src="@/static/images/index/intention2.png" class="drop-image-x"></image>
|
|
</view>
|
|
<view class="title-x">意向:中</view>
|
|
</view>
|
|
</view>
|
|
<view class="course_box_top_below-right">
|
|
<view>
|
|
<image src="@/static/images/index/star.png" class="drop-image-star"></image>
|
|
</view>
|
|
<view class="title-x">重点关注</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="course_box_centre"></view>
|
|
<view class="course_box_below">
|
|
<view :class="{'selected-text': switch_tags_type === 1, 'text': switch_tags_type !== 1}" @click="switch_tags(1)">基本资料</view>
|
|
<view :class="{'selected-text': switch_tags_type === 2, 'text': switch_tags_type !== 2}" @click="switch_tags(2)">跟进记录</view>
|
|
<view :class="{'selected-text': switch_tags_type === 3, 'text': switch_tags_type !== 3}" @click="switch_tags(3)">通话记录</view>
|
|
<view :class="{'selected-text': switch_tags_type === 4, 'text': switch_tags_type !== 4}" @click="switch_tags(4)">在籍客户</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="bg_box bg_top"></view>
|
|
<view class="bg_box bg_bottom"></view>
|
|
</view>
|
|
<view class="basic-information" v-if="switch_tags_type == 1">
|
|
<view class="basic-message">基本信息</view>
|
|
<view class="basic-message-div">
|
|
<view class="basic-message-div-txt">
|
|
<view>客户编号</view>
|
|
<view>1254545</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>年龄</view>
|
|
<view>12岁</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>学校</view>
|
|
<view>幸福小学</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>年级</view>
|
|
<view>小学 五年级</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>班级</view>
|
|
<view>3班</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>小区</view>
|
|
<view>幸福小区</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>客户来源</view>
|
|
<view>地推</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>客户归属</view>
|
|
<view>赵小刚 (已锁定,到期时间10/30)</view>
|
|
</view>
|
|
</view>
|
|
<view class="basic-message">
|
|
<view>联系人信息<span style="padding-left: 10rpx;color: #7F7F7F;">选中为客户首联系人</span></view>
|
|
<view style="color: #45C59F;font-size: 24rpx;">添加</view>
|
|
</view>
|
|
<view class="basic-message-div">
|
|
<view class="basic-message-div-txt">
|
|
<view>包念念</view>
|
|
<view>1888888888</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>张铭行</view>
|
|
<view>1888888888</view>
|
|
</view>
|
|
</view>
|
|
<view class="basic-message">附加信息</view>
|
|
<view class="basic-message-div">
|
|
<view class="basic-message-div-txt">
|
|
<view>已成交次数</view>
|
|
<view>3次</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>体验课程</view>
|
|
<view>1次</view>
|
|
</view>
|
|
<view class="basic-message-div-txt">
|
|
<view>客户标签</view>
|
|
<view>XXXX,XXXX,XXXX</view>
|
|
</view>
|
|
</view>
|
|
<view style="height: 200rpx;"></view>
|
|
</view>
|
|
<view class="follow-records" v-if="switch_tags_type == 2">
|
|
<view>
|
|
<view class="basic-message">08-23</view>
|
|
<view class="follow-records-list">
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>赵小刚</view>
|
|
<view>跟进(电话)</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">客户对产品意向很高,但是希望价格能有优惠。</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2019-08-23 22:31</view>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view class="basic-message">08-23</view>
|
|
<view class="follow-records-list">
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>赵小刚</view>
|
|
<view>跟进(电话)</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">客户对产品意向很高,但是希望价格能有优惠。</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2019-08-23 22:31</view>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view class="basic-message">08-23</view>
|
|
<view class="follow-records-list">
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>赵小刚</view>
|
|
<view>跟进(电话)</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">客户对产品意向很高,但是希望价格能有优惠。</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2019-08-23 22:31</view>
|
|
</view>
|
|
</view>
|
|
<view style="height: 200rpx;"></view>
|
|
</view>
|
|
<view class="call-log" v-if="switch_tags_type == 3">
|
|
<view>
|
|
<view class="basic-message">08-23</view>
|
|
<view class="follow-records-list">
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>赵小刚</view>
|
|
<view>2019-08-23 22:31</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫类型:主叫</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫号码:18888888888</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫对象:包念念</view>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view class="basic-message">08-23</view>
|
|
<view class="follow-records-list">
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>赵小刚</view>
|
|
<view>2019-08-23 22:31</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫类型:主叫</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫号码:18888888888</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫对象:包念念</view>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view class="basic-message">08-23</view>
|
|
<view class="follow-records-list">
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>赵小刚</view>
|
|
<view>2019-08-23 22:31</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫类型:主叫</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫号码:18888888888</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">呼叫对象:包念念</view>
|
|
</view>
|
|
</view>
|
|
<view style="height: 200rpx;"></view>
|
|
</view>
|
|
<view class="registered-clients" v-if="switch_tags_type == 4">
|
|
<view class="search">
|
|
<view :class="{'selected': select_type === 1, 'not-selected': select_type !== 1}" @click="getSelect(1)">全部(320)</view>
|
|
<view :class="{'selected': select_type === 2, 'not-selected': select_type !== 2}" @click="getSelect(2)">同校(8)</view>
|
|
<view :class="{'selected': select_type === 3, 'not-selected': select_type !== 3}" @click="getSelect(3)">同班(15)</view>
|
|
<view :class="{'selected': select_type === 4, 'not-selected': select_type !== 4}" @click="getSelect(4)">同小区(12)</view>
|
|
</view>
|
|
<view style="margin: 16rpx;">
|
|
<view class="follow-records-list">
|
|
<view class="same-community" v-if="true">
|
|
同小区
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同校
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同班
|
|
</view>
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>包子皮</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;display: flex;justify-content: space-between;">
|
|
<view>合同联系人:包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
|
|
<view>课程:课程名称1</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
|
|
</view>
|
|
</view>
|
|
<view style="margin: 16rpx;">
|
|
<view class="follow-records-list">
|
|
<view class="same-community" v-if="false">
|
|
同小区
|
|
</view>
|
|
<view class="coeducation" v-if="true">
|
|
同校
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同班
|
|
</view>
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>包子皮</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;display: flex;justify-content: space-between;">
|
|
<view>合同联系人:包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
|
|
<view>课程:课程名称1</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
|
|
</view>
|
|
</view>
|
|
<view style="margin: 16rpx;">
|
|
<view class="follow-records-list">
|
|
<view class="same-community" v-if="false">
|
|
同小区
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同校
|
|
</view>
|
|
<view class="coeducation" v-if="true">
|
|
同班
|
|
</view>
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>包子皮</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;display: flex;justify-content: space-between;">
|
|
<view>合同联系人:包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
|
|
<view>课程:课程名称1</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
|
|
</view>
|
|
</view>
|
|
<view style="margin: 16rpx;">
|
|
<view class="follow-records-list">
|
|
<view class="same-community" v-if="true">
|
|
同小区
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同校
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同班
|
|
</view>
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>包子皮</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;display: flex;justify-content: space-between;">
|
|
<view>合同联系人:包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
|
|
<view>课程:课程名称1</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
|
|
</view>
|
|
</view>
|
|
<view style="margin: 16rpx;">
|
|
<view class="follow-records-list">
|
|
<view class="same-community" v-if="true">
|
|
同小区
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同校
|
|
</view>
|
|
<view class="coeducation" v-if="false">
|
|
同班
|
|
</view>
|
|
<view style="display: flex;justify-content: space-between;padding: 16rpx 16rpx 16rpx 60rpx;">
|
|
<view>包子皮</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;display: flex;justify-content: space-between;">
|
|
<view>合同联系人:包念念<span style="font-size: 20rpx;color: #a47332;padding-left: 12rpx;">妈妈</span></view>
|
|
<view>课程:课程名称1</view>
|
|
</view>
|
|
<view style="padding: 16rpx 16rpx 16rpx 60rpx;">2020-08-30 签单</view>
|
|
</view>
|
|
</view>
|
|
<view style="height: 200rpx;"></view>
|
|
</view>
|
|
<view class="bottom-label">
|
|
<view>写作跟进</view>
|
|
<view>新建任务</view>
|
|
<view>拨打电话</view>
|
|
<view>更多操作</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
// import user from '@/api/user.js';
|
|
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
formData: {},
|
|
switch_tags_type: 4,
|
|
select_type: 1,
|
|
}
|
|
},
|
|
onLoad() {},
|
|
methods: {
|
|
//切换标签
|
|
switch_tags(type){
|
|
this.switch_tags_type = type
|
|
},
|
|
getSelect(type){
|
|
this.select_type = type
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.assemble {
|
|
width: 100%;
|
|
height: 100vh;
|
|
overflow: auto;
|
|
background-color: #292929;
|
|
}
|
|
|
|
.main_box {
|
|
background: #292929;
|
|
min-height: 28vh;
|
|
}
|
|
|
|
//统计信息
|
|
.count_section {
|
|
width: 100%;
|
|
position: relative;
|
|
|
|
.main {
|
|
width: 100%;
|
|
position: absolute;
|
|
z-index: 2;
|
|
padding: 0rpx 24rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
.course_box {
|
|
padding: 26rpx 22rpx 0 22rpx;
|
|
width: 95%;
|
|
height: 250rpx;
|
|
border-radius: 20rpx;
|
|
background-color: #fff;
|
|
}
|
|
}
|
|
|
|
.bg_top {
|
|
height: 180rpx;
|
|
background-color: #29D3B4;
|
|
}
|
|
|
|
.bg_bottom {
|
|
height: 80rpx;
|
|
background-color: #292929;
|
|
}
|
|
}
|
|
.course_box_top{
|
|
width: 100%;
|
|
height: 60%;
|
|
}
|
|
.course_box_centre{
|
|
margin: auto;
|
|
width: 95%;
|
|
height: 4rpx;
|
|
background: #F5F5F8;
|
|
}
|
|
.course_box_below{
|
|
width: 100%;
|
|
height: 40%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.course_box_top_top {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
|
|
.pic {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.name {
|
|
color: #333333;
|
|
font-size: 28rpx;
|
|
}
|
|
}
|
|
.course_box_top_below{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.course_box_top_below-left{
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 16rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
.drop-image-x {
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
}
|
|
.title-x {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
padding-left: 10rpx;
|
|
}
|
|
.course_box_top_below-right{
|
|
padding-top: 16rpx;
|
|
font-size: 24rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.drop-image-star {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
}
|
|
.selected-text{
|
|
color: #1CD188;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.text{
|
|
color: #333333;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.basic-message{
|
|
color: #fff;
|
|
padding: 16rpx 60rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.basic-message-div{
|
|
width: 92%;
|
|
margin: auto;
|
|
background: #555555;
|
|
border-radius: 16rpx;
|
|
padding: 16rpx 0;
|
|
}
|
|
.basic-message-div-txt{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: #FFFFFF;
|
|
padding: 14rpx 30rpx;
|
|
}
|
|
.bottom-label{
|
|
width: 100%;
|
|
height: 150rpx;
|
|
background: #fff;
|
|
position: fixed;
|
|
bottom: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 30rpx;
|
|
}
|
|
.follow-records-list{
|
|
width: 92%;
|
|
background: #434544;
|
|
border-radius: 16rpx;
|
|
margin: auto;
|
|
padding: 16rpx;
|
|
color: #fff;
|
|
position: relative;
|
|
}
|
|
.same-community{
|
|
width: 120rpx;
|
|
background: #3d4a55;
|
|
color: #1e62a9;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 8rpx 16rpx;
|
|
text-align: center;
|
|
border-radius: 40rpx 70rpx 70rpx 12rpx;
|
|
}
|
|
.coeducation{
|
|
width: 120rpx;
|
|
background: #3d4a55;
|
|
color: #2e9380;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 8rpx 16rpx;
|
|
text-align: center;
|
|
border-radius: 40rpx 70rpx 70rpx 12rpx;
|
|
}
|
|
.same-community{
|
|
width: 120rpx;
|
|
background: #40504c;
|
|
color: #1e62a9;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 8rpx 16rpx;
|
|
text-align: center;
|
|
border-radius: 40rpx 70rpx 70rpx 12rpx;
|
|
}
|
|
.search{
|
|
width: 92%;
|
|
margin: auto;
|
|
display: flex;
|
|
margin-top: 20rpx;
|
|
}
|
|
.selected{
|
|
background: #294e48;
|
|
border-radius: 16rpx;
|
|
padding: 12rpx 8rpx;
|
|
text-align: center;
|
|
color: #29d3b4;
|
|
margin-left: 5rpx;
|
|
}
|
|
.not-selected{
|
|
margin-left: 5rpx;
|
|
background: #ffffff;
|
|
border: 4rpx #959595 solid;
|
|
border-radius: 16rpx;
|
|
padding: 12rpx 8rpx;
|
|
text-align: center;
|
|
}
|
|
</style>
|