From be161c6663170b9d5a0013cdf4b8e4a1728ddafc Mon Sep 17 00:00:00 2001 From: luchenqun Date: Wed, 16 May 2018 21:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=A1=E9=92=B1=E5=96=9D=E5=92=96=E5=95=A1?= =?UTF-8?q?=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/scripts/app-angular.js | 2 ++ public/scripts/services/data-service.js | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/public/scripts/app-angular.js b/public/scripts/app-angular.js index f4450b6..705b5c1 100644 --- a/public/scripts/app-angular.js +++ b/public/scripts/app-angular.js @@ -108,3 +108,5 @@ console.log([ " 别人笑我忒疯癫,我笑自己命太贱;", " 不见满街漂亮妹,哪个归得程序员?", ].join('\n')); + +console.log = function(){} diff --git a/public/scripts/services/data-service.js b/public/scripts/services/data-service.js index 7b0ebaa..d7c4982 100644 --- a/public/scripts/services/data-service.js +++ b/public/scripts/services/data-service.js @@ -6,14 +6,14 @@ app.factory('dataService', [function() { LoginIndexNote: 2, LoginIndexHot: 3, LoginIndexSettings: 4, - // LoginIndexPraise: 5, LoginIndexAdvice: 5, + LoginIndexPraise: 6, // 非登陆索引 NotLoginIndexHome: 0, NotLoginIndexLogin: 1, NotLoginIndexHot: 2, - // NotLoginIndexPraise: 3, + NotLoginIndexPraise: 3, loginMenus: [{ uiSref: 'bookmarks', @@ -33,6 +33,9 @@ app.factory('dataService', [function() { }, { uiSref: 'advice', title: '留言' + }, { + uiSref: 'praise', + title: '咖啡' }], notLoginMenus: [{ uiSref: '/', @@ -43,6 +46,9 @@ app.factory('dataService', [function() { }, { uiSref: 'hot', title: '热门' + }, { + uiSref: 'praise', + title: '咖啡' }], animationIndex: 0, animation: function() {