diff --git a/css/player.css b/css/player.css index c3753a6..f8575df 100644 --- a/css/player.css +++ b/css/player.css @@ -158,12 +158,16 @@ a { color: #ccc; } -.playlist-covers .loading_bottom button{ +.playlist-covers .loading_bottom { + clear:both; +} + +.playlist-covers .loading_bottom button { width:95%; color: #333; } -.playlist-covers .loading_bottom .loading{ +.playlist-covers .loading_bottom .loading { width:95%; text-align:center; color: #fff; diff --git a/js/app.js b/js/app.js index 1e8d561..2ffe4b6 100644 --- a/js/app.js +++ b/js/app.js @@ -10,7 +10,7 @@ return value && JSON.parse(value); } - var app = angular.module('listenone', ['angularSoundManager', 'ui-notification', 'loWebManager']) + var app = angular.module('listenone', ['angularSoundManager', 'ui-notification', 'loWebManager','infinite-scroll']) .config( [ '$compileProvider', function( $compileProvider ) @@ -961,7 +961,7 @@ return } $scope.loading = true; - var offset = $scope.result.length + var offset = $scope.result.length; loWeb.get('/show_playlist?source=' + getSourceName($scope.tab) + '&offset=' + offset).success(function(data) { $scope.result = $scope.result.concat(data.result); $scope.loading = false; diff --git a/listen1.html b/listen1.html index a7b09a9..d263059 100644 --- a/listen1.html +++ b/listen1.html @@ -20,6 +20,7 @@ + @@ -144,7 +145,7 @@
-
+
@@ -153,7 +154,7 @@
- +
  • @@ -167,13 +168,11 @@ {{i.title}}

  • -
    - -
    Loading data...
    +
    加载中...
- +