diff --git a/www/scripts/services/data-service.js b/www/scripts/services/data-service.js index 21f8822..7203b16 100644 --- a/www/scripts/services/data-service.js +++ b/www/scripts/services/data-service.js @@ -31,14 +31,16 @@ app.factory('dataService', [function () { title: '设置' }, { uiSref: 'advice', - title: '留言' + title: '留言', + show: false }], notLoginMenus: [{ uiSref: '/', title: '首页' }, { uiSref: 'login', - title: '登录' + title: '登录', + show: localStorage.getItem("login") || false, }, { uiSref: 'hot', title: '热门', diff --git a/www/views/login.html b/www/views/login.html index 4e751a6..18283f8 100644 --- a/www/views/login.html +++ b/www/views/login.html @@ -26,7 +26,7 @@
登陆
- +
跳转到移动设备。没有账号?注册一个!(体验账号:test。密码:123456)。 Chrome插件安装(需科学上网)

@@ -36,7 +36,7 @@ -