调整js加载 再 plusready后
This commit is contained in:
@@ -104,7 +104,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>
|
||||||
|
|
||||||
//调用mui.init方法
|
//调用mui.init方法
|
||||||
$.init()
|
$.init()
|
||||||
|
|
||||||
@@ -164,6 +164,7 @@ function addManagement(id, houseStatus, liveStatus){
|
|||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//查询房产评估列表AJAX请求
|
//查询房产评估列表AJAX请求
|
||||||
function selectEvaluateList(){
|
function selectEvaluateList(){
|
||||||
//先清空列表
|
//先清空列表
|
||||||
@@ -268,10 +269,13 @@ function constructHtmlContent(results, xqOneMonthUpDownRangeMap, cityAvgPriceMap
|
|||||||
return htmlContent;
|
return htmlContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//立即评估
|
||||||
function openaddWindow(){
|
function openaddWindow(){
|
||||||
clicked('/views/house/add.html',true,false,{},{type:1},function(){
|
clicked('/views/house/add.html',true,false,{},{type:1},function(){
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//评估报告详情
|
||||||
function openReportWindow(id){
|
function openReportWindow(id){
|
||||||
clicked('/views/evaluate/evaluateReport.html',true,false,{},{hid:id})
|
clicked('/views/evaluate/evaluateReport.html',true,false,{},{hid:id})
|
||||||
}
|
}
|
||||||
@@ -286,7 +290,13 @@ function checkIsLogin(){
|
|||||||
selectEvaluateList();
|
selectEvaluateList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
checkIsLogin()
|
|
||||||
|
document.addEventListener('plusready', onPlusReady, false);
|
||||||
|
|
||||||
|
function onPlusReady(){
|
||||||
|
checkIsLogin();
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user