diff --git a/app/scripts/app.js b/app/scripts/app.js index c31b683..67e5c57 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -20,10 +20,10 @@ App.config(['$locationProvider', '$routeProvider', function($locationProvider, $ when('/donate', { templateUrl: 'views/donate.html' }). - when('/rank', { - controller: 'rankCtl', - templateUrl: 'views/rank.html' - }). + // when('/rank', { + // controller: 'rankCtl', + // templateUrl: 'views/rank.html' + // }). when('/report', { controller: 'reportCtl', templateUrl: 'views/report.html' diff --git a/app/scripts/controllers/reportCtl.js b/app/scripts/controllers/reportCtl.js index 2a997d9..50407ba 100644 --- a/app/scripts/controllers/reportCtl.js +++ b/app/scripts/controllers/reportCtl.js @@ -2042,7 +2042,8 @@ App.controller('reportCtl', ['$scope', '$location', 'anchorScroll', function($sc rowWidth = window.innerWidth; $(".navbar-side").css('display','none') } else { - rowWidth = $('#stat_person_code').width(); + //某些情况有bug 故-1 + rowWidth = $('#stat_person_code').width() - 1; sidebarEventListener(); } var person = [ diff --git a/app/styles/main.css b/app/styles/main.css index 5f90cc8..bb8e0fe 100644 --- a/app/styles/main.css +++ b/app/styles/main.css @@ -318,7 +318,7 @@ p { margin-top: 15px; } .navbar-side ul a{ - font-size: 18px; + font-size: 16px; } .navbar-side ul ul a{ font-size: 14px;