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
9bd10f26
Commit
9bd10f26
authored
Dec 28, 2017
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人详情调整1
parent
51ad8e25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
agent_detail.css
public/app/css/agent_detail.css
+3
-0
common.css
public/app/css/common.css
+7
-0
agent_detail.js
public/app/js/agent_detail.js
+9
-15
No files found.
public/app/css/agent_detail.css
View file @
9bd10f26
...
@@ -283,6 +283,9 @@ body{
...
@@ -283,6 +283,9 @@ body{
.chengjiao-list-area
p
.zuji-price
>
span
{
.chengjiao-list-area
p
.zuji-price
>
span
{
font-size
:
.34rem
;
font-size
:
.34rem
;
}
}
.chengjiao-list-area
p
.sp-text
{
height
:
.32rem
;
}
.chengjiao-list-area
p
.sp-text
>
span
{
.chengjiao-list-area
p
.sp-text
>
span
{
float
:
left
;
float
:
left
;
height
:
.32rem
;
height
:
.32rem
;
...
...
public/app/css/common.css
View file @
9bd10f26
...
@@ -18,6 +18,13 @@ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input
...
@@ -18,6 +18,13 @@ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
a
,
a
:hover
,
a
:active
,
a
:visited
,
a
:link
,
a
:focus
{
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
-webkit-tap-highlight-color
:
transparent
;
outline
:
none
;
background
:
none
;
text-decoration
:
none
;
}
input
{
input
{
outline
:
none
;
outline
:
none
;
-webkit-appearance
:
none
;
/*解决苹果机上input的内阴影*/
-webkit-appearance
:
none
;
/*解决苹果机上input的内阴影*/
...
...
public/app/js/agent_detail.js
View file @
9bd10f26
...
@@ -48,11 +48,14 @@ $(function() {
...
@@ -48,11 +48,14 @@ $(function() {
$
(
'#time_ruzhi'
).
html
(
data
[
'data'
][
'created'
]);
$
(
'#time_ruzhi'
).
html
(
data
[
'data'
][
'created'
]);
$
(
'#name_store'
).
html
(
data
[
'data'
][
'sub_shopname'
]);
$
(
'#name_store'
).
html
(
data
[
'data'
][
'sub_shopname'
]);
$
(
'.portrait-area>img'
).
attr
(
'src'
,
data
[
'data'
][
'head_portrait'
]);
$
(
'.portrait-area>img'
).
attr
(
'src'
,
data
[
'data'
][
'head_portrait'
]);
$
(
'#pingjia_fen'
).
html
(
parseInt
(
Number
(
data
[
'data'
][
'evaluate_num'
])
==
0
?
'0'
:
Number
(
data
[
'data'
][
'evaluate_grade'
])
/
Number
(
data
[
'data'
][
'evaluate_num'
])));
var
_fenNum
=
parseInt
(
Number
(
data
[
'data'
][
'evaluate_num'
])
==
0
?
'0'
:
Number
(
data
[
'data'
][
'evaluate_grade'
])
/
Number
(
data
[
'data'
][
'evaluate_num'
]));
var
_pingNum
=
Number
(
data
[
'data'
][
'evaluate_num'
])
>
99
?
'99+'
:
Number
(
data
[
'data'
][
'evaluate_num'
]);
$
(
'#pingjia_fen'
).
html
(
_fenNum
);
$
(
'.pingfen-area-large'
).
html
(
dealStar
(
Number
(
data
[
'data'
][
'evaluate_grade'
]),
Number
(
data
[
'data'
][
'evaluate_num'
])));
$
(
'.pingfen-area-large'
).
html
(
dealStar
(
Number
(
data
[
'data'
][
'evaluate_grade'
]),
Number
(
data
[
'data'
][
'evaluate_num'
])));
$
(
'#pingjia_shu'
).
html
(
Number
(
data
[
'data'
][
'evaluate_num'
])
>
99
?
'99+'
:
Number
(
data
[
'data'
][
'evaluate_num'
])
).
attr
(
'data-num'
,
Number
(
data
[
'data'
][
'evaluate_num'
]));
$
(
'#pingjia_shu'
).
html
(
_pingNum
).
attr
(
'data-num'
,
Number
(
data
[
'data'
][
'evaluate_num'
]));
$
(
'#chengjiao_lishi'
).
html
(
data
[
'data'
][
'JournalAccounts'
]);
$
(
'#chengjiao_lishi'
).
html
(
data
[
'data'
][
'JournalAccounts'
]);
$
(
'#daikan_30'
).
html
(
data
[
'data'
][
'watch_shop'
]);
$
(
'#daikan_30'
).
html
(
data
[
'data'
][
'watch_shop'
]);
loadList
(
_fenNum
,
_pingNum
);
}
else
{
}
else
{
layerTipsX
(
data
[
'msg'
]);
layerTipsX
(
data
[
'msg'
]);
};
};
...
@@ -136,18 +139,7 @@ $(function() {
...
@@ -136,18 +139,7 @@ $(function() {
}
}
};
};
_doc
.
on
(
'click'
,
'.pingjia-list-area .see-all-area>a'
,
function
(
e
){
function
loadList
(
_fenNum
,
_pingNum
){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_pingNum
=
$
(
'#pingjia_shu'
).
attr
(
'data-num'
);
var
_fenNum
=
$
(
"#pingjia_fen"
).
html
();
if
(
_pingNum
!==
undefined
&&
_fenNum
!==
undefined
){
location
.
href
=
'more_pingjia?agentId='
+
_agentId
+
'&fenNum='
+
_fenNum
+
'&pingNum='
+
_pingNum
;
}
else
{
layerTipsX
(
'点击太快,请稍后再试'
);
}
});
$
.
ajax
({
$
.
ajax
({
type
:
'get'
,
type
:
'get'
,
url
:
ServerHost
+
'/api/commentAndDeal'
,
url
:
ServerHost
+
'/api/commentAndDeal'
,
...
@@ -184,7 +176,7 @@ $(function() {
...
@@ -184,7 +176,7 @@ $(function() {
};
};
});
});
$
(
'.pingjia-list-area>ul'
).
html
(
_html
);
$
(
'.pingjia-list-area>ul'
).
html
(
_html
);
data
[
'data'
][
'evaluate'
]
&&
data
[
'data'
][
'evaluate'
].
length
>
2
&&
$
(
'.pingjia-list-area .see-all-area'
).
show
(
);
data
[
'data'
][
'evaluate'
]
&&
data
[
'data'
][
'evaluate'
].
length
>
2
&&
$
(
'.pingjia-list-area .see-all-area'
).
show
().
find
(
'a'
).
attr
(
'href'
,
'more_pingjia?agentId='
+
_agentId
+
'&fenNum='
+
_fenNum
+
'&pingNum='
+
_pingNum
);
}
else
{
}
else
{
$
(
'.pingjia-list-area .zanwu_data'
).
show
();
$
(
'.pingjia-list-area .zanwu_data'
).
show
();
};
};
...
@@ -228,4 +220,5 @@ $(function() {
...
@@ -228,4 +220,5 @@ $(function() {
}
}
});
});
};
};
};
});
});
\ No newline at end of file
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