This commit is contained in:
xuhe@fangjia.com
2018-04-12 17:15:15 +08:00
parent 66dfe8c9e4
commit d2c7c74962
4 changed files with 22 additions and 7 deletions
+8 -2
View File
@@ -33,6 +33,8 @@
.tabChart2{z-index:-1;}
.mark-icon-box .mark-icon {width: 20px;height: 30px;display: block;cursor: pointer;font-size: 14px; color: #fff;font-weight: bold;text-align: center;line-height: 24px;background: url(../../images/dw.png) no-repeat;}
.mark-icon-box {width:24px;height:30px;position:absolute;z-index:98;}
.loadingBg{width:100%;height:100%;background:#fff;overflow:hidden;position:absolute;top:11px;left:0;z-index:100;}
.loadingBg .infinite-scroll-preloader{margin-top:30%;}
</style>
</head>
@@ -41,6 +43,11 @@
<div class="page-group">
<div class="page page-current" id="baseInfo">
<div class="loadingBg">
<div class="infinite-scroll-preloader">
<div class="preloader"></div>
</div>
</div>
<header class="bar bar-nav barBorder">
<button class="button button-link button-nav pull-left" onclick="back(),plus.nativeUI.closeWaiting();">
<span class="icon icon-left"></span>
@@ -344,6 +351,7 @@ function init(){
})
.then(function (response) {
if(response.data.data){
$(".loadingBg").hide();
var houseInfo = response.data.data.houseInfo;
lat = houseInfo.lat;
lng = houseInfo.lng;
@@ -388,9 +396,7 @@ function init(){
baseInfo.minSellPrice=houseInfo.minSellPrice;
baseInfo.maxSellPrice=houseInfo.maxSellPrice;
baseInfo.rentRooms=response.data.data.rentRooms;
}
})
.catch(function (error) {
console.log(error);
@@ -84,7 +84,6 @@
</div>
<script type="text/javascript" src="../../js/zepto.js" charset="utf-8"></script>
<script>
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */