课程项目增加发布按钮

This commit is contained in:
Tim 2016-08-23 11:05:49 +08:00
parent 55512f9eb2
commit 34acb1aa2f
2 changed files with 11 additions and 6 deletions

View File

@ -17,7 +17,7 @@
<!--<div class="slice3 fl"></div>--> <!--<div class="slice3 fl"></div>-->
<!--<div class="cl"></div>--> <!--<div class="cl"></div>-->
<div ng-class="{'undis': !showActivities}"> <div ng-class="{'undis': !showActivities,'mb50':!course_has_more}">
<div ng-repeat="act in course_activities"> <div ng-repeat="act in course_activities">
<div ng-if="act.container_type=='Course' "> <div ng-if="act.container_type=='Course' ">
<div ng-if="act.act_type=='HomeworkCommon'"> <div ng-if="act.act_type=='HomeworkCommon'">
@ -143,9 +143,13 @@
</div> </div>
</div> </div>
</div> </div>
<div ng-if="course_has_more"> <div ng-if="course_has_more" class="mb50">
<div id="more_course_activities" class="more-events mt10" ng-click="getActivities(course_activities_page+1);">更多</div> <div id="more_course_activities" class="more-events mt10" ng-click="getActivities(course_activities_page+1);">更多</div>
</div> </div>
<div class="bottom-tab-wrap mt10">
<a href="javascript:void(0);" class="weixin-tab link-blue2 border-top">发布通知</a>
<a href="javascript:void(0);" class="weixin-tab link-blue2 border-top">发布问题</a>
</div>
</div> </div>
<div ng-class="['class-search-wrap',{'undis': current_tab != 1}]"> <div ng-class="['class-search-wrap',{'undis': current_tab != 1}]">
@ -198,7 +202,5 @@
请登录Trustie网站在PC浏览器中上传测验。</p> 请登录Trustie网站在PC浏览器中上传测验。</p>
</div> </div>
<my-alert message="alertService.message" title="alertService.title" visible="alertService.visible" cb="alertService.cb"></my-alert> <my-alert message="alertService.message" title="alertService.title" visible="alertService.visible" cb="alertService.cb"></my-alert>
</div> </div>

View File

@ -5,7 +5,7 @@
<a ng-click="tab($index+1)" ng-repeat="menu in menus" id="class_tab_1" href="javascript:void(0);" ng-class="['weixin-tab', {'class-tab-active': currentTab == $index+1}]">{{menu}}</a> <a ng-click="tab($index+1)" ng-repeat="menu in menus" id="class_tab_1" href="javascript:void(0);" ng-class="['weixin-tab', {'class-tab-active': currentTab == $index+1}]">{{menu}}</a>
</div> </div>
<div ng-show="project" ng-class="{'undis': currentTab != 1}"> <div ng-show="project" ng-class="{'undis': currentTab != 1,'mb50':!project_has_more}">
<div ng-repeat="act in project_activities"> <div ng-repeat="act in project_activities">
<div ng-if="act.container_type=='Project' "> <div ng-if="act.container_type=='Project' ">
<div ng-if="act.act_type=='Issue'"> <div ng-if="act.act_type=='Issue'">
@ -95,9 +95,12 @@
</div> </div>
</div> </div>
</div> </div>
<div ng-if="project_has_more"> <div ng-if="project_has_more" class="mb50">
<div id="more_project_activities" class="more-events mt10" ng-click="getActivities(project_activities_page+1);">更多</div> <div id="more_project_activities" class="more-events mt10" ng-click="getActivities(project_activities_page+1);">更多</div>
</div> </div>
<div class="bottom-tab-wrap mt10">
<a href="javascript:void(0);" class="weixin-tab link-blue2 border-top">发布新帖</a>
</div>
</div> </div>
<div ng-show="project" ng-class="{'undis': currentTab != 2}"> <div ng-show="project" ng-class="{'undis': currentTab != 2}">