Merge branch 'YOUFANGAPP1.1.3' of 192.168.0.27:dev0/youfang-app into xh-YOUFANGAPP1.1.3

This commit is contained in:
xuhe@fangjia.com
2018-06-01 17:16:34 +08:00
4 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ em.down{color:#88D053;}
.bar .icon.icon-path{width:20px;height:4px;background:url(../images/icon-path.png) no-repeat;background-size:100%;float:right;}
.bar .icon.icon-path01{width:20px;height:4px;background:url(../images/icon-path01.png) no-repeat;background-size:100%;float:right;}
.bar .icon.icon-left{font-size:0.85rem;margin-left:-0.15rem;}
.title{color:#333;margin-left:-0.75rem;}
.title{color:#333;margin:0;}
/* 子导航 */
.popover {
-1
View File
@@ -121,7 +121,6 @@
var shadow = $pageContent.clone();
//var fixedTop = $pageContent[0].getBoundingClientRect().top;
var fixedTop = 298;
alert(fixedTop)
shadow.css('visibility', 'hidden');
this.options = $.extend({}, this._defaults, {
fixedTop: fixedTop,
+1
View File
@@ -23,6 +23,7 @@
display: table-cell;
vertical-align: middle;
}
#content table tr,#content table td {border: 1px solid #E7E7E7;}
</style>
</head>
+24 -4
View File
@@ -2041,10 +2041,16 @@ function addItems(number, lastIndex) {
}
tagStr += '</span></div>';
}
var aprice = dataObj2[i].avgPrice;
if (aprice == 0) {
aprice = "暂无均价";
} else {
aprice = "¥"+aprice +'元/㎡';
}
html += '<li>'+
'<a onclick="openDistWindow(\''+dataObj2[i].city+'\',\''+dataObj2[i].region+'\',\''+dataObj2[i].districtName+'\')" class="external item-content">'+
'<div class="item-inner"><div class="item-title-row"><div class="item-title">'+
dataObj2[i].districtName+'</div><div class="item-after"><em>¥'+dataObj2[i].avgPrice+'元/㎡</em></div></div><div class="item-title-row">'+
dataObj2[i].districtName+'</div><div class="item-after"><em>'+aprice +'</em></div></div><div class="item-title-row">'+
'<div class="item-title"><i class="icon icon-address03"></i><small>'+
dataObj2[i].city+dataObj2[i].region+dataObj2[i].address+'</small></div>';
if(dataObj2[i].distance){
@@ -2264,13 +2270,27 @@ $(document).on('click','#notFound_btn', function () {
var b = $("#input_address_noFound").val();
var c = $("#input_city").text();
$.ajax({
axios.post("/rest/districts/addNoFoundDistrict", {city:c,name:a, address:b}).then(function (response) {
$('.modal').remove();
$('.modal-overlay').remove();
if(response.data.status){
$.toast('提交成功,我们会尽快完善信息');
}else{
$.toast('提交失败,请重试');
}
}).catch(function (error) {
console.log(error);
$('.modal').remove();
$('.modal-overlay').remove();
$.toast('提交失败,请重试');
});
/*$.ajax({
type : 'post',
url :BASE_PATH + "/rest/districts/addNoFoundDistrict",
data:{city:c,name:a, address:b},
dataType:'json',
success:function(result){
alert(result.);
$('.modal').remove();
$('.modal-overlay').remove();
if(result.data){
@@ -2284,7 +2304,7 @@ $(document).on('click','#notFound_btn', function () {
$('.modal-overlay').remove();
$.toast('提交失败,请重试');
}
})
})*/
}
}
]