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