This commit is contained in:
xuhe@fangjia.com
2018-04-10 15:04:07 +08:00
parent 3d78c10ffb
commit 472516c76b
5 changed files with 296 additions and 57 deletions
+2 -11
View File
@@ -24,7 +24,7 @@
<span class="mui-tab-label">行情</span>
</a>
<a class="mui-tab-item" id="evaluate">
<a class="mui-tab-item" href="views/house/houseManageList.html">
<span class="mui-icon iconfont icon-tab03"></span>
<span class="mui-tab-label">评估</span>
</a>
@@ -48,20 +48,11 @@
localStorage.removeItem("user_token");
localStorage.removeItem("user_token_add_time");
}
var evaluateMenu=""
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
//没有登录
evaluateMenu = 'views/house/add_noData.html';
}else{
//登录成功
evaluateMenu = 'views/evaluate/evaluateList.html';
}
document.getElementById("evaluate").setAttribute("href", evaluateMenu);
document.getElementById("quotations").setAttribute("href", BASE_PATH + '/quotations/index');
//document.getElementById("selfInfo").setAttribute("href", BASE_PATH + '/selfInfo/index');
//mui初始化
mui.init();
var subpages = ['yfindex.html', BASE_PATH + '/quotations/index', evaluateMenu, 'views/user/userInfo.html'];
var subpages = ['yfindex.html', BASE_PATH + '/quotations/index', 'views/house/houseManageList.html', 'views/user/userInfo.html'];
var subpage_style = {
top: '0',
bottom: '50px',