html代码:使用ng-style
1 | <ul style="float: left;overflow:hidden;" ng-repeat='node in nodedata'> |
js代码:
1 | $scope.setColor = function (status) { |
html代码:使用ng-style
1 | <ul style="float: left;overflow:hidden;" ng-repeat='node in nodedata'> |
js代码:
1 | $scope.setColor = function (status) { |