2016-04-04 22:24:13 +08:00
|
|
|
|
<div id="container">
|
2016-03-28 14:45:11 +08:00
|
|
|
|
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<!-- 模板1开始,可以使用script(type设置为text/html)来存放模板片段,并且用id标示 -->
|
2016-05-03 15:37:35 +08:00
|
|
|
|
<div loading-spinner></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div ng-repeat="act in activities">
|
|
|
|
|
<div ng-if="act.container_type=='Course'">
|
|
|
|
|
<div ng-if="act.act_type=='HomeworkCommon'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/homework/'+ ($(this).attr('dataID'))">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5">
|
|
|
|
|
<a herf="javascript:void(0);">
|
2016-04-12 14:56:17 +08:00
|
|
|
|
<span ng-if="act.author.realname != ' '">{{act.author.realname}}</span>
|
|
|
|
|
<span ng-if="act.author.realname == ' '">{{act.author.nickname}}</span>
|
2016-04-19 16:26:05 +08:00
|
|
|
|
</a></div>
|
|
|
|
|
<div class="post-title hidden">
|
|
|
|
|
<a herf="javascript:void(0);" class="f12 c-grey2">{{act.course_project_name}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title mt5 hidden"><a ng-href="#/homework/{{act.act_id}}" class="c-grey3 f15 fb">{{act.subject|safeHtml}}</a></div>
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-content c-grey2">
|
2016-04-06 11:29:50 +08:00
|
|
|
|
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<span class="mr15">迟交扣分:{{act.homework_common_detail.late_penalty}}分</span> <span ng-if="!act.homework_common_detail.anonymous_comment">匿评开启时间:{{act.homework_common_detail.evaluation_start}}</span><br />
|
|
|
|
|
<span ng-if="!act.homework_common_detail.anonymous_comment" class="mr15">缺评扣分:{{act.homework_common_detail.absence_penalty}}分/作品</span> <span ng-if="!act.homework_common_detail.anonymous_comment">匿评关闭时间:{{act.homework_common_detail.evaluation_end}}</span>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f12 fl mr15 mt2">{{act.activity_type_name}}</span>
|
|
|
|
|
<span class="c-grey f12 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/homework/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/homework/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
|
|
|
|
<div ng-if="act.act_type=='News'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/course_notice/'+ ($(this).attr('dataID'))">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><a herf="javascript:void(0);">{{act.author.realname}}</a></div>
|
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="f13 c-grey2">{{act.course_project_name}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mt5"><a ng-href="#/course_notice/{{act.act_id}}" class="c-grey3 f15 fb">{{act.subject|safeHtml}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
|
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f12 fl mr15 mt2">{{act.activity_type_name}}</span>
|
|
|
|
|
<span class="c-grey f13 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/course_notice/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/course_notice/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
|
|
|
|
<div ng-if="act.act_type=='Message'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/course_discussion/'+ ($(this).attr('dataID'))">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><a herf="javascript:void(0);" class="mr10">{{act.author.realname}}</a></div>
|
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="f12 c-grey2">{{act.course_project_name}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mt5"><a ng-href="#/course_discussion/{{act.act_id}}" class="c-grey3 f15 fb">{{act.subject|safeHtml}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-content c-grey2 mt10">
|
2016-04-06 11:29:50 +08:00
|
|
|
|
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-08 18:46:46 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f12 fl mr15 mt2">{{act.activity_type_name}}</span>
|
|
|
|
|
<span class="c-grey f13 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/course_discussion/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/course_discussion/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div ng-if="act.act_type=='Course'">
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f13 fb mr10">{{act.author.realname}}</span>创建了<span class="c-grey3 f13 fb ml10">{{act.course_project_name}} | 课程</span></div>
|
|
|
|
|
<div class="post-title hidden"><span class="mr10">{{act.latest_update}}</span></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div ng-if="act.container_type=='Project'">
|
|
|
|
|
<div ng-if="act.act_type=='Issue'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/issues/'+ ($(this).attr('dataID'))">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><a herf="javascript:void(0);">{{act.author.realname}}</a></div>
|
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="f12 c-grey2">{{act.course_project_name}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mt5"><a ng-href="#/issues/{{act.act_id}}" class="c-grey3 f15 fb">{{act.subject|safeHtml}}</a></div>
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-content c-grey2">
|
2016-04-06 11:29:50 +08:00
|
|
|
|
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
|
|
|
|
|
<span class="mr15">状态:{{act.issue_detail.issue_status}}</span> <span class="mr15">优先级:{{act.issue_detail.issue_priority}}</span> <br />
|
|
|
|
|
<span class="mr15">指派给:{{act.issue_detail.issue_assigned_to}}</span> <span class="mr15">完成度:{{act.issue_detail.done_ratio}}%</span>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f12 fl mr15 mt2">{{act.activity_type_name}}</span>
|
|
|
|
|
<span class="c-grey f13 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/issues/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/issues/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div ng-if="act.act_type=='Message'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/project_discussion/'+ ($(this).attr('dataID'))">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><a herf="javascript:void(0);">{{act.author.realname}}</a></div>
|
2016-04-20 10:08:03 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="f12 c-grey2">{{act.course_project_name}}</a></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mt5"><a ng-href="#/project_discussion/{{act.act_id}}" class="c-grey3 f15 fb">{{act.subject|safeHtml}}</a></div>
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-content c-grey2">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
|
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f12 fl mr15 mt2">{{act.activity_type_name}}</span>
|
|
|
|
|
<span class="c-grey f13 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/project_discussion/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/project_discussion/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
|
|
|
|
<div ng-if="act.act_type=='ProjectCreateInfo'">
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f13 fb mr10">{{act.author.realname}}</span>创建了<span class="c-grey3 f13 fb ml10">{{act.course_project_name}} | 项目</span></div>
|
|
|
|
|
<div class="post-title hidden"><span class="mr10">{{act.latest_update}}</span></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-08 14:51:26 +08:00
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div ng-if="act.container_type=='Principal'">
|
|
|
|
|
<div ng-if="act.act_type=='JournalsForMessage'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/journal_for_message/'+ ($(this).attr('dataID'))">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title mb5 hidden"><a herf="javascript:void(0);" class="mr10">{{act.author.realname}}</a></div>
|
|
|
|
|
<div class="post-title hidden"><span class="f12 c-grey">留言</span></div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt5">
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<p class="post-all-content" ng-bind-html="act.description|safeHtml"></p>
|
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f13 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/journal_for_message/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/journal_for_message/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-08 14:51:26 +08:00
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div ng-if="act.act_type=='BlogComment'">
|
2016-05-26 10:55:00 +08:00
|
|
|
|
<div class="post-container" dataID = "{{act.act_id}}" onclick="javascript:window.location.href='#/blog_comment/'+ ($(this).attr('dataID'))">
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
2016-04-19 16:26:05 +08:00
|
|
|
|
<div class="post-avatar fl"><img ng-src="{{replaceUrl(act.author.img_url)}}" width="40" height="40" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><a herf="javascript:void(0);">{{act.author.realname}}</a></div>
|
|
|
|
|
<div class="post-title hidden"><span class="f12 c-grey">博客</span></div>
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-19 15:20:46 +08:00
|
|
|
|
<div class="post-title hidden mt5"><a ng-href="#/blog_comment/{{act.act_id}}" class="c-grey3 f15 fb">{{act.subject|safeHtml}}</a></div>
|
2016-04-20 15:45:33 +08:00
|
|
|
|
<div class="post-content c-grey2">
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div class="post-all-content" ng-bind-html="act.description|safeHtml"></div>
|
|
|
|
|
</div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<!--<a herf="javascript:void(0);" class="c-grey2 f13 fr mt5 mb10 post-more mr20 undis" text-auto-height>点击展开</a>-->
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-05-24 15:01:26 +08:00
|
|
|
|
<span class="c-grey f13 fl mt2">{{act.latest_update}}</span>
|
|
|
|
|
<a ng-if="!act.reply_count" ng-href="#/blog_comment/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span></a>
|
|
|
|
|
<a ng-if="act.reply_count" ng-href="#/blog_comment/{{act.act_id}}" class="c-grey2 fr f12"><span class="reply-icon"></span>{{act.reply_count}}</a>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="!act.praise_count" ng-click="addPraise(act);"><span class="praise-icon"></span></div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.praise_count && !act.has_praise" ng-click="addPraise(act);"><span class="praise-icon"></span>{{act.praise_count}}</div>
|
|
|
|
|
<div class="c-grey fr f12 mr25" ng-if="act.has_praise" ng-click="decreasePraise(act);"><span class="praised-icon"></span>{{act.praise_count}}</div>
|
2016-04-08 14:51:26 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-04 22:24:13 +08:00
|
|
|
|
|
|
|
|
|
</div>
|
2016-04-01 20:46:38 +08:00
|
|
|
|
|
2016-04-08 10:09:45 +08:00
|
|
|
|
<div ng-if="(count + page * 10) < all_count">
|
2016-04-09 13:29:26 +08:00
|
|
|
|
<div id="more_activities" class="more-events mt10" ng-click="loadActData(current_page+1);">更多</div>
|
2016-04-08 10:09:45 +08:00
|
|
|
|
</div>
|
2016-04-01 20:46:38 +08:00
|
|
|
|
|
2016-04-04 22:24:13 +08:00
|
|
|
|
</div>
|
2016-04-01 20:46:38 +08:00
|
|
|
|
|