Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
8fb546b9
Commit
8fb546b9
authored
Aug 22, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户动态详情bug修复
parent
90306010
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+3
-3
customerinfo_details_new.css
public/app/css/customerinfo_details_new.css
+3
-0
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+13
-1
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
8fb546b9
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<link
rel=
"stylesheet"
href=
"/app/css/common.css?rev=14ba5c1d4b1452ee5b804c1b98270acc"
>
<link
rel=
"stylesheet"
href=
"/app/css/common.css?rev=14ba5c1d4b1452ee5b804c1b98270acc"
>
<link
href=
"/app/css/customerinfo_details_new.css?new
9
"
rel=
"stylesheet"
>
<link
href=
"/app/css/customerinfo_details_new.css?new
10
"
rel=
"stylesheet"
>
<script
src=
"/app/js/vconsole.min.js"
></script>
<script
src=
"/app/js/vconsole.min.js"
></script>
<script>
<script>
if
(
~
location
.
origin
.
indexOf
(
'api.'
))
{
if
(
~
location
.
origin
.
indexOf
(
'api.'
))
{
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"flex-center"
><img
src=
"/app/images/ic_default_headpic.png"
onerror=
"javascript:this.src='/app/images/ic_default_headpic.png'"
id=
"customer_pic"
/></div>
<div
class=
"flex-center"
><img
src=
"/app/images/ic_default_headpic.png"
onerror=
"javascript:this.src='/app/images/ic_default_headpic.png'"
id=
"customer_pic"
/></div>
<div>
<div>
<p><span
id=
"name"
></span><span
class=
"edit-btn"
><img
src=
"/app/images/boy_ic@2x.png"
class=
"sex-icon"
/></span></p>
<p><span
id=
"name"
></span><span
class=
"edit-btn"
><img
src=
"/app/images/boy_ic@2x.png"
class=
"sex-icon"
/></span></p>
<p><a
href=
"javascript:;"
id=
"call_list_open_btn"
class=
"flex-center"
><span
id=
"customer_id"
>
客户ID:0,
</span><span
id=
"customer_phone"
></span><img
class=
"call-btn"
src=
"/app/images/ic_tel.png"
/></a></p>
<p><a
href=
"javascript:;"
id=
"call_list_open_btn"
class=
"flex-center"
><span
id=
"customer_id"
>
客户ID:0,
</span><span
id=
"customer_phone"
></span><img
class=
"call-btn
call-btn-main
"
src=
"/app/images/ic_tel.png"
/></a></p>
<p><span
class=
"flex-center"
id=
"industry_type"
></span><span
class=
"flex-center"
id=
"price_demand"
></span><span
class=
"flex-center"
id=
"area_demand"
></span></p>
<p><span
class=
"flex-center"
id=
"industry_type"
></span><span
class=
"flex-center"
id=
"price_demand"
></span><span
class=
"flex-center"
id=
"area_demand"
></span></p>
<p
id=
"add_city_type_area"
></p>
<p
id=
"add_city_type_area"
></p>
</div>
</div>
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/common.js?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new5
5
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new5
6
"
></script>
</body>
</body>
...
...
public/app/css/customerinfo_details_new.css
View file @
8fb546b9
...
@@ -57,6 +57,9 @@ header .icon-link{
...
@@ -57,6 +57,9 @@ header .icon-link{
height
:
.3rem
;
height
:
.3rem
;
margin-left
:
.2rem
;
margin-left
:
.2rem
;
}
}
.call-btn-main
{
display
:
none
;
}
.call-btn-other
{
.call-btn-other
{
display
:
none
;
display
:
none
;
}
}
...
...
public/app/js/customerinfo_details_new.js
View file @
8fb546b9
...
@@ -138,6 +138,18 @@ function loadMain(){
...
@@ -138,6 +138,18 @@ function loadMain(){
_customerPhone
=
data
[
'data'
][
'user_info'
][
'user_phone'
];
//当前客户手机号
_customerPhone
=
data
[
'data'
][
'user_info'
][
'user_phone'
];
//当前客户手机号
$
(
'#customer_id'
).
html
(
'客户ID:'
+
_customerId
+
','
);
$
(
'#customer_id'
).
html
(
'客户ID:'
+
_customerId
+
','
);
$
(
'#customer_phone'
).
html
(
hideTel
(
data
[
'data'
][
'user_info'
][
'user_phone'
]));
$
(
'#customer_phone'
).
html
(
hideTel
(
data
[
'data'
][
'user_info'
][
'user_phone'
]));
if
(
data
[
'data'
][
'is_outstrip_twenty_four_hours'
]
==
1
){
//超过保护期
$
(
'.call-btn-main'
).
show
();
}
else
{
//在保护期内
if
(
data
[
'data'
][
'user_info'
][
'agent_id'
]
==
_userId
){
//客方与当前用户一致时
$
(
'.call-btn-main'
).
show
();
}
else
{}
}
$
(
'#call_modal_phone_self'
).
val
(
_userPhone
);
$
(
'#call_modal_phone_self'
).
val
(
_userPhone
);
function
landlordType
(
m
)
{
function
landlordType
(
m
)
{
...
@@ -656,7 +668,7 @@ function loadMain(){
...
@@ -656,7 +668,7 @@ function loadMain(){
});
});
//点击头部区域拨打电话出现弹窗部分
//点击头部区域拨打电话出现弹窗部分
$
(
'#call_list_open_btn'
).
click
(
function
(
e
){
$
(
'#call_list_open_btn
>.call-btn-main
'
).
click
(
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
_callModal
.
show
();
_callModal
.
show
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment