调整 页面初始化加载, 放在 plusReady后执行

This commit is contained in:
raoyanhui
2018-04-18 11:36:28 +08:00
parent 6b3a3fa81f
commit 373aa89f8b
+7 -6
View File
@@ -115,7 +115,7 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script type="text/javascript" src="../../js/log/log_stat.js" ></script>
<script>
//初始化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(){})
}
//界面加载
$(document).ready(function () {
checkIsLogin();
});
/* 分页构造数据 */
function addItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, xqPotentialIndexMap, houseInfoTotalMap) {
var html = '';
@@ -381,6 +376,12 @@ $(document).on('click','.alert-text-title', function () {
$.alert('房产等级是房屋在城市中的综合评级,由高至低分别为 豪宅、公寓、平房、草屋、山洞共5个级别。', '房产等级');
});
document.addEventListener('plusready', onPlusReady, false);
function onPlusReady(){
checkIsLogin();
}
</script>
</body>