Commit 95169379 authored by xishifeng's avatar xishifeng

1

parent ba60a1f7
......@@ -77,6 +77,10 @@
</div>
</div>
<div id="last_dy_div">
<ul></ul>
</div>
<div class="tab-area">
<div class="tab-active">客源动态</div>
<div>基本信息</div>
......
......@@ -159,7 +159,8 @@ header .icon-link{
padding-bottom: 1.7rem;
}
.sec-dynamic{}
.sec-dynamic>ul>li{
.sec-dynamic>ul>li,
#last_dy_div>ul>li{
overflow: hidden;
font-size: .3rem;
padding: .35rem .3rem;
......@@ -168,10 +169,12 @@ header .icon-link{
.sec-dynamic>ul>li+li{
margin-top: .2rem;
}
.sec-dynamic>ul>li.li-sp-active{
.sec-dynamic>ul>li.li-sp-active,
#last_dy_div>ul>li.li-sp-active{
background-color: #fcba38;
}
.sec-dynamic>ul>li.li-sp-active-top{
.sec-dynamic>ul>li.li-sp-active-top,
#last_dy_div>ul>li.li-sp-active-top{
background-color: #fcba38;
}
......@@ -183,16 +186,19 @@ header .icon-link{
height: .37rem;
background: url(/app/images/icon_dynamic@2x.png) no-repeat center center/1.31rem .37rem;
}
.sec-dynamic>ul>li{
.sec-dynamic>ul>li,
#last_dy_div>ul>li{
position: relative;
}
.li-top{
overflow: hidden;
}
.sec-dynamic>ul>li>.li-top>div{
.sec-dynamic>ul>li>.li-top>div,
#last_dy_div>ul>li>.li-top>div{
float: left;
}
.sec-dynamic>ul>li>.li-top>div.li-top-right{
.sec-dynamic>ul>li>.li-top>div.li-top-right,
#last_dy_div>ul>li>.li-top>div.li-top-right{
/*width: 6.05rem;*/
width: 5.7rem;
}
......
......@@ -335,7 +335,7 @@ function loadMain(){
});
if(_tempArr.length>0){
_htmlTemp += '<li class="{7}"><div class="li-top"><div class="li-top-left"><img src="{0}" onerror="javascript:this.src=\'/app/images/ic_default_headpic.png\'" /></div><div class="li-top-right"><div class="li-top-right-header"><div>{1}</div><div>{3}</div></div><p>{2}{5}</p>{6}</div></div><div class="first-sec-active"></div></li>'.stringFormatObj({
$('#last_dy_div>ul').html('<li class="{7}"><div class="li-top"><div class="li-top-left"><img src="{0}" onerror="javascript:this.src=\'/app/images/ic_default_headpic.png\'" /></div><div class="li-top-right"><div class="li-top-right-header"><div>{1}</div><div>{3}</div></div><p>{2}{5}</p>{6}</div></div><div class="first-sec-active"></div></li>'.stringFormatObj({
'0': data['data']['agent_path']+_tempArr[0]['img'],
'1': _tempArr[0]['name'],
'2': _tempArr[0]['step_name']=='phone_fllow_up'?'电话跟进:':(_tempArr[0]['step_name']=='fllow_up'?'跟进:':''),
......@@ -343,7 +343,7 @@ function loadMain(){
'5': _tempArr[0]['step'],
'6': _tempArr[0]['step_name']=='follow_up_log'?dealSp(_tempArr[0]):(_tempArr[0]['step_name']=='report'?dealSpYdk(_tempArr[0]):''),
'7': 'li-sp-active-top'
});
}));
};
$.each(data['data']['user_date'], function(i, item) {
......@@ -490,6 +490,39 @@ function loadMain(){
}
});
//获取跟进信息
_userId && $.ajax({
type: 'get',
url: '/broker/followUpLog',
data: {
'AuthToken': _token
},
timeout: 30000,
dataType: 'json',
beforeSend: function() {},
success: function(data) {
if(typeof data === 'object') {
if (data.code == 200) {
}else {
layerTipsX(data['msg']);
};
}else{
layerTipsX('数据错误');
};
},
error: function() {
layerTipsX('error');
},
complete: function(xhr, textStatus){
if(textStatus === 'timeout'){
layerTipsX('请求超时');
};
}
});
//获取跟进标签列表信息
_userId && $.ajax({
type: 'GET',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment