|
|
@@ -10,10 +10,8 @@ define([ 'app/app' ], function(app) {
|
|
|
var init = function () {
|
|
|
|
|
|
Project.getDetailById({ id: id}, {}, function (data) {
|
|
|
- console.log('detail', data);
|
|
|
$scope.project = data;
|
|
|
- $scope.styCode = '<div id="detail" class="show-all" style="max-height: 70px; overflow: hidden; font-size=12px;!important;">' + $scope.project.introduction + '</div>';
|
|
|
- console.log($scope.styCode);
|
|
|
+ $scope.styCode = $scope.project.introduction;
|
|
|
$scope.introduction = $sce.trustAsHtml($scope.styCode);
|
|
|
$scope.organization = data.organization;
|
|
|
$scope.percentage = data.totalAmount / data.target;
|