添加书签界面交互方式更新
This commit is contained in:
parent
229cd0be8d
commit
e82ccb78c7
|
|
@ -180,6 +180,10 @@ app.controller('editCtr', ['$scope', '$state', '$timeout', '$document', 'ngDialo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scope.addTagsToBookmark = function(id){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
pubSubService.subscribe('MenuCtr.showAddBookmarkMoadl', $scope, function(event, params) {
|
pubSubService.subscribe('MenuCtr.showAddBookmarkMoadl', $scope, function(event, params) {
|
||||||
console.log('subscribe MenuCtr.showAddBookmarkMoadl', params);
|
console.log('subscribe MenuCtr.showAddBookmarkMoadl', params);
|
||||||
$('.ui.modal.js-add-bookmark').modal({
|
$('.ui.modal.js-add-bookmark').modal({
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
<i class="info circle icon"></i>
|
<i class="info circle icon"></i>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<div class="ui label" style="margin:3px 10px 8px 0px;cursor:default;" ng-class="{green:tag.clicked}" ng-repeat="tag in tags">{{ tag.name }}</div>
|
<div class="ui label" style="margin:3px 10px 8px 0px;cursor:default;" ng-class="{green:tag.clicked}" ng-repeat="tag in tags" ng-click="addTagsToBookmark(tag.id)">{{ tag.name }}</div>
|
||||||
<div class="ui label" style="margin:3px 10px 8px 0px;cursor:default;" title="添加新分类" ng-click="showAddTag()">
|
<div class="ui label" style="margin:3px 10px 8px 0px;cursor:default;" title="添加新分类" ng-click="showAddTag()">
|
||||||
<i style="margin-left:10px;" class="plus icon"></i>
|
<i style="margin-left:10px;" class="plus icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue