<ion-modal-view>
    <ion-header-bar>
        <button class="button button-clear" ng-click="closeModal('content',true)">取消</button>
        <h1 class="title">编辑任务详情</h1>
        <button class="button button-clear" ng-click="updatecontent('content')">完成</button>
    </ion-header-bar>
    <ion-content>
        <div class="item item-divider"></div>
        <div class="task-create-content">
            <div class="item item-input">
                <textarea rows="6" ng-model="task.content" placeholder="输入任务详情"></textarea>
            </div>
            <div class="item">
                <div ng-repeat="image in task.task_files">
                    <img ng-src={{image.file_thumbnail_path}} ng-click="shouBigImage(image.file_full_path)"/>
                </div>
                <div ng-repeat="image in image_list">
                    <img ng-src={{image}} ng-click="shouBigImage(image)"/>
                </div>
                <div class="center" ng-click="addphoto()">
                    <i class="icon ion-camera"></i>
                </div>
            </div>
        </div>
    </ion-content>
    <div ng-show="commons.bigImage" class="popover-backdrop1">
        <img class="fullscreen-image" ng-click="hideBigImage()" ng-src="{{Url}}" ng-pinch-zoom/>
        <i class="ion-ios-trash-outline" ng-click="deleteimage()"></i>
    </div>
</ion-modal-view>