template-task.html 683 B

12345678910
  1. <div class="item item-avatar" ng-class="{true:'item-stable',false:'item-click-active'}[data.is_completed == 1]">
  2. <img ng-src="../../../img/panda.png" ng-click="showcardinfo(data.usrid.id)">
  3. <span ng-bind-html="data.content"></span>
  4. <p>
  5. <span ng-class="{true:'assertive'}[(data.is_completed == 0) && flag]">{{node}}</span>
  6. <span ng-hide="(data.is_completed == 0) && flag">{{data.end_dd != null ? data.end_dd : '无截止日期' | date:'yyyy-M-d'}}</span>
  7. <span ng-show="data.children_count != 0">&nbsp|&nbsp{{data.children_count}}个子任务</span>
  8. </p>
  9. <i class="icon icon-ok task-icon-position" ng-if="data.is_completed == 1"></i>
  10. </div>