显示小更新

This commit is contained in:
luchenqun 2017-05-18 17:12:25 +08:00
parent 4f1cb8e208
commit d38e1f9de2
2 changed files with 4 additions and 1 deletions

View File

@ -235,6 +235,9 @@ app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$wind
} }
}, 100) }, 100)
$scope.loadBusy = false; $scope.loadBusy = false;
if ($scope.totalItems == 0) {
$(".js-note").removeClass("hidden");
}
transition(); transition();
}) })
.catch((err) => { .catch((err) => {

View File

@ -1,4 +1,4 @@
<div class="ui info message js-note" ng-if="(!add) && notes.length == 0" > <div class="ui hidden info message js-note" ng-if="(!add) && notes.length == 0" >
<i class="close icon" ng-click="closeNote()"></i> <i class="close icon" ng-click="closeNote()"></i>
<div class="content"> <div class="content">
<div class="header">系统检测到您好像还没添加过备忘录哦! <div class="header">系统检测到您好像还没添加过备忘录哦!