Commit 69ae4630 authored by agping's avatar agping

评价相关

parent 9fc94188
......@@ -14,6 +14,22 @@
.loading_pic_new,.no_more,.zanwu_data,.loading_pic_samll_new{
display: none;
}
.li-bottom-area{
box-sizing: border-box;
padding-left: .1rem;
}
.li-bottom-area .star_darl{
font-size: .24rem;
background:rgba(248,249,251,1);
box-sizing: border-box;
padding:.1rem .15rem ;
border-radius: .23rem;
margin-right: .15rem;
}
.li-bottom-area>div:nth-of-type(2){
font-size: .28rem;
}
</style>
</head>
<body>
......
......@@ -14,6 +14,22 @@
.loading_pic_new,.no_more,.zanwu_data,.loading_pic_samll_new{
display: none;
}
.li-bottom-area{
box-sizing: border-box;
padding-left: .1rem;
}
.li-bottom-area .star_darl{
font-size: .24rem;
background:rgba(248,249,251,1);
box-sizing: border-box;
padding:.1rem .15rem ;
border-radius: .23rem;
margin-right: .15rem;
}
.li-bottom-area>div:nth-of-type(2){
font-size: .28rem;
}
</style>
</head>
<body>
......
......@@ -75,7 +75,7 @@ body{
width: 1.3rem;
height: 0.16rem;
overflow: hidden;
padding-top: .08rem;
padding-top: .1rem;
}
.pingfen-area>small{
float: left;
......@@ -187,14 +187,15 @@ body{
padding-left: .2rem;
}
.pingjia-list-area .li-top-area-left>figcaption>p{
color: #999;
color: #2E2E2E;
font-size: .3rem;
padding: 0.05rem 0 0;
/*font-weight: 600;*/
}
.pingjia-list-area .li-top-area-left>figcaption>div>p{
color: #FF9419;
font-size: .24rem;
padding-left: .1rem;
/*padding-left: .1rem;*/
}
.pingjia-list-area .li-top-area-right{
font-size: .24rem;
......
......@@ -182,12 +182,12 @@ $(function() {
var _html = "";
$.each(data['data']['evaluate'], function(i, item) {
if(i < 2) {
_html += '<li><div class="li-top-area oh"><figure class="li-top-area-left fl"><div class="oh fl"><img src="{6}" onerror="javascript:this.src=\'{7}\'" class="fl"></div><figcaption class="oh fl"><p>{0}</p><div class="oh"><p class="fl">{4}</p></div></figcaption></figure><div class="li-top-area-right fr">{3}</div></div><div class="li-bottom-area"><div class="star_row" style="overflow:hidden;width:100%;"><div class="star_darl" style="float:left;" ><span style="float:left;">专业:</span><div class="pingfen-area fl">{1}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">态度:</span><div class="pingfen-area fl">{8}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">着装:</span><div class="pingfen-area fl">{9}</div></div></div><div style="width:100%;margin-top:.3rem;"><p>{5}</p></div></div></li>'.stringFormatObj({
_html += '<li><div class="li-top-area oh"><figure class="li-top-area-left fl"><div class="oh fl"><img src="{6}" onerror="javascript:this.src=\'{7}\'" class="fl"></div><figcaption class="oh fl"><p>{0}</p><div class="oh"><p class="fl">{4}</p></div></figcaption></figure><div class="li-top-area-right fr">{3}</div></div><div class="li-bottom-area"><div class="star_row" style="overflow:hidden;width:100%;margin-top:.1rem"><div class="star_darl" style="float:left;" ><span style="float:left;">专业</span><div class="pingfen-area fl">{1}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">态度</span><div class="pingfen-area fl">{8}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">着装</span><div class="pingfen-area fl">{9}</div></div></div><div style="width:100%;margin-top:.15rem;"><p>{5}</p></div></div></li>'.stringFormatObj({
'0': $.trim(item['user_nick']) == ''?'昵称暂无':item['user_nick'],
'1': dealStar(item['evaluate_grade']),
'2': dealStarText(item['evaluate_grade']),
'3': item['created'],
'4': (item['receptiontime'] != ''||item['houserAddress'] != '')?'在'+item['houserAddress']/*(dealTimeKf(item['receptiontime'])+'在'+item['houserAddress']+'看房')*/:'暂无看房数据',
'4': (item['receptiontime'] != ''||item['houserAddress'] != '')?'在'+item['houserAddress']+'看房'/*(dealTimeKf(item['receptiontime'])+'在'+item['houserAddress']+'看房')*/:'暂无看房数据',
'5': item['evaluate_content'],
'6': item['user_pic'],
'7': ServerHost+'/app/images/ic_default_headpic.png',
......
......@@ -108,7 +108,7 @@ $(function() {
// 追加评价
$.each(data['data']['evaluate'], function(i, item) {
// if(i < 2) {
_html += '<li><div class="li-top-area oh"><figure class="li-top-area-left fl"><div class="oh fl"><img src="{6}" onerror="javascript:this.src=\'{7}\'" class="fl"></div><figcaption class="oh fl"><p>{0}</p><div class="oh"><p class="fl">{4}</p></div></figcaption></figure><div class="li-top-area-right fr">{3}</div></div><div class="li-bottom-area"><div class="star_row" style="overflow:hidden;width:100%;"><div class="star_darl" style="float:left;" ><span style="float:left;">专业:</span><div class="pingfen-area fl">{1}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">态度:</span><div class="pingfen-area fl">{8}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">着装:</span><div class="pingfen-area fl">{9}</div></div></div><div style="width:100%;margin-top:.3rem;"><p>{5}</p></div></div></li>'.stringFormatObj({
_html += '<li><div class="li-top-area oh"><figure class="li-top-area-left fl"><div class="oh fl"><img src="{6}" onerror="javascript:this.src=\'{7}\'" class="fl"></div><figcaption class="oh fl"><p>{0}</p><div class="oh"><p class="fl">{4}</p></div></figcaption></figure><div class="li-top-area-right fr">{3}</div></div><div class="li-bottom-area"><div class="star_row" style="overflow:hidden;width:100%;margin-top:.15rem;"><div class="star_darl" style="float:left;" ><span style="float:left;">专业</span><div class="pingfen-area fl">{1}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">态度</span><div class="pingfen-area fl">{8}</div></div><div class="star_darl" style="float:left;" ><span style="float:left;">着装</span><div class="pingfen-area fl">{9}</div></div></div><div style="width:100%;margin-top:.15rem;"><p>{5}</p></div></div></li>'.stringFormatObj({
'0': $.trim(item['user_nick']) == ''?'昵称暂无':item['user_nick'],
'1': dealStar(item['evaluate_grade']),
'2': dealStarText(item['evaluate_grade']),
......
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