调整 页面初始化加载, 放在 plusReady后执行
This commit is contained in:
@@ -115,7 +115,7 @@ $.config = {router: false}
|
|||||||
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
||||||
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
|
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
|
||||||
<script>
|
<script>
|
||||||
//初始化init
|
//初始化init(init方法必须调用,屏蔽后,无线下拉刷新无效果)
|
||||||
$.init();
|
$.init();
|
||||||
|
|
||||||
//定义对象
|
//定义对象
|
||||||
@@ -282,11 +282,6 @@ function gotoLoanApply(houseId, city){
|
|||||||
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: ""},function(){})
|
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: ""},function(){})
|
||||||
}
|
}
|
||||||
|
|
||||||
//界面加载
|
|
||||||
$(document).ready(function () {
|
|
||||||
checkIsLogin();
|
|
||||||
});
|
|
||||||
|
|
||||||
/* 分页构造数据 */
|
/* 分页构造数据 */
|
||||||
function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap) {
|
function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap) {
|
||||||
var html = '';
|
var html = '';
|
||||||
@@ -381,6 +376,12 @@ $(document).on('click','.alert-text-title', function () {
|
|||||||
$.alert('房产等级是房屋在城市中的综合评级,由高至低分别为 豪宅、公寓、平房、草屋、山洞共5个级别。', '房产等级');
|
$.alert('房产等级是房屋在城市中的综合评级,由高至低分别为 豪宅、公寓、平房、草屋、山洞共5个级别。', '房产等级');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
document.addEventListener('plusready', onPlusReady, false);
|
||||||
|
|
||||||
|
function onPlusReady(){
|
||||||
|
checkIsLogin();
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user