Commit 24627f69 authored by xishifeng's avatar xishifeng Committed by hujun

经纪人详情租金均价修改

parent 50b699a2
......@@ -207,6 +207,7 @@ body{
font-size: .3rem;
color: #333;
line-height: .44rem;
word-break: break-all;
}
.see-all-area{
......
......@@ -193,11 +193,13 @@ $(function() {
var _html2 = "";
$.each(data['data']['journalAccounts'], function(i, item) {
if(i < 2) {
_html2 += '<li class="oh"><div class="fl oh"><img src="{5}" onerror="javascript:this.src=\'{6}\'"></div><div class="fl"><h3 class="shangpu-name ellipsis">{0}</h3><p class="qianyue-time">签约时间:{1}</p><p class="mianji-scale">{2}</p><p class="zuji-price">租金均价:<span>{3}</span>元/月</p><p class="sp-text ellipsis oh">{4}</p></div></li>'.stringFormatObj({
_html2 += '<li class="oh"><div class="fl oh"><img src="{5}" onerror="javascript:this.src=\'{6}\'"></div><div class="fl"><h3 class="shangpu-name ellipsis">{0}</h3><p class="qianyue-time">签约时间:{1}</p><p class="mianji-scale">{2}</p><p class="zuji-price">{t1}{3}{t2}</p><p class="sp-text ellipsis oh">{4}</p></div></li>'.stringFormatObj({
'0': item['title'],
'1': item['singntime'],
'2': dealScale(item),
'3': item['price'],
't1': (item['rent_type'] == 2?'营业额扣点':'租金均价:'),
'3': '<span>'+item['price']+'</span>',
't2': (item['rent_type'] == 2?'%':(item['rent_type'] == 1?'元/月':'元/天/m²')),
'4': dealTags(item['shangpu_tags']),
'5': item['img'],
'6': ServerHost+'/resource/image/pzz_.jpg'
......
......@@ -66,11 +66,13 @@ $(function() {
pageInit++; //页数+1
var _html = "";
$.each(data['data']['journalAccounts'], function(i, item) {
_html += '<li class="oh"><div class="fl oh"><img src="{5}" onerror="javascript:this.src=\'{6}\'"></div><div class="fl"><h3 class="shangpu-name ellipsis">{0}</h3><p class="qianyue-time">签约时间:{1}</p><p class="mianji-scale">{2}</p><p class="zuji-price">租金均价:<span>{3}</span>元/月</p><p class="sp-text ellipsis oh">{4}</p></div></li>'.stringFormatObj({
_html += '<li class="oh"><div class="fl oh"><img src="{5}" onerror="javascript:this.src=\'{6}\'"></div><div class="fl"><h3 class="shangpu-name ellipsis">{0}</h3><p class="qianyue-time">签约时间:{1}</p><p class="mianji-scale">{2}</p><p class="zuji-price">{t1}{3}{t2}</p><p class="sp-text ellipsis oh">{4}</p></div></li>'.stringFormatObj({
'0': item['title'],
'1': item['singntime'],
'2': dealScale(item),
'3': item['price'],
't1': (item['rent_type'] == 2?'营业额扣点':'租金均价:'),
'3': '<span>'+item['price']+'</span>',
't2': (item['rent_type'] == 2?'%':(item['rent_type'] == 1?'元/月':'元/天/m²')),
'4': dealTags(item['shangpu_tags']),
'5': location.protocol+'//'+item['img'],
'6': ServerHost + '/resource/image/pzz_.jpg'
......
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