Commit 2f51ab30 authored by xishifeng's avatar xishifeng

客户列表

parent 86cc7f62
......@@ -146,14 +146,14 @@
<div class="form-group" id="li_landlord_phone_input">
<label>房东手机号</label>
<div>
<div class="form-group phone-list-container landlord-form-group">
<div class="landlord-form-group">
<div class="form-group phone-list-container">
<input type="text" class="form-control" placeholder="请输入房东称呼" />
<input type="tel" class="form-control phone_jia" placeholder="请输入房东手机号" name="landlordPhone" id="landlordPhone" data-alert="请填写房东手机号!">
</div>
</div>
<img src="/resource/image/jia2@2x.png" class="input-add-tel input-add-tel-landlord" id="landlord_tel_jia" />
<img src="/resource/image/jia2@2x.png" class="input-add-tel-landlord" id="landlord_tel_jia" />
</div>
</li>
<li class="list-group-item">
......
......@@ -291,11 +291,13 @@ img.cancel-pic {
}
/*房东手机号样式调整*/
.landlord-form-group{
.landlord-form-group>div{
margin-top: 0!important;
width: 400px;
}
.input-add-tel-landlord{
margin-top: 8px!important;
height: 20px;
margin-top: 8px;
}
/*房东手机号添加相关样式*/
......@@ -312,6 +314,3 @@ img.cancel-pic {
#li_landlord_phone_input>div>div>input:nth-last-of-type(1){
float: right;
}
.landlord-form-group{
width: 400px;
}
\ No newline at end of file
......@@ -649,6 +649,14 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart', 'bootstra
};
});
_doc.on('click', '#landlord_tel_jia', function(e){
e.preventDefault();
e.stopPropagation();
var _this = $(this);
var _maxLen = 3;
});
_doc.on('click', '.input-cancel-pic', function() {
$(this).parent().remove();
});
......
......@@ -343,7 +343,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
$("#cus_nick").html(data.data.user_info.user_nick);//昵称
$("#registration_time").html(data.data.user_info.registration_time);
$("#sex").val(data.data.user_info.sex);//性别
$("#cus_phone").html(data.data.user_info.user_phone);//电话
$("#cus_phone").html(hideTel(data.data.user_info.user_phone));//电话
$("#cus_date").html(data.data.user_info.create_time);//创建时间
$("#referrer_user").html(data.data.user_info.referrer_user);//上传时间
$("#cus_fang").val(data.data.user_info.agentinfo);//客方
......
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