分班管理样式更改

This commit is contained in:
Tim 2016-09-22 13:56:57 +08:00
parent 11132d3459
commit 0b1a22d9aa
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<div class="class-detail-name"><span class="course-name-width hidden inline-block">分班管理</span></div> <div class="class-detail-name"><span class="course-name-width hidden inline-block">分班管理</span></div>
<div ng-repeat="group in groups"> <div ng-repeat="group in groups">
<div class="member-banner f13 c-grey3" ng-class="{mt10:!$first}">{{group.name+"("+group.users.length+")"}}</div> <div class="member-banner f13 c-grey3" ng-class="{'mt10':!$first}">{{group.name+"("+group.users.length+")"}}</div>
<div class="class-member-row f13 c-grey3" ng-repeat="user in group.users"> <div class="class-member-row f13 c-grey3" ng-repeat="user in group.users">
<img ng-src="{{user.img_url}}" width="30" height="30" class="fl ml10 img-circle" /><span class="fl ml10 mt5">{{user.realname == "" ? user.name : user.realname}}</span><img ng-src="/images/wechat/{{user.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt5" /> <img ng-src="{{user.img_url}}" width="30" height="30" class="fl ml10 img-circle" /><span class="fl ml10 mt5">{{user.realname == "" ? user.name : user.realname}}</span><img ng-src="/images/wechat/{{user.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt5" />
<div class="cl"></div> <div class="cl"></div>

View File

@ -18,7 +18,7 @@
<li><span class="fl ml10 class-list-name hidden">暂无</span><span ng-click="selectGroup(0)" class="login-box fr mr10 mt12 img-circle" ng-class="[{'checked': selectid == 0}]"></span></li> <li><span class="fl ml10 class-list-name hidden">暂无</span><span ng-click="selectGroup(0)" class="login-box fr mr10 mt12 img-circle" ng-class="[{'checked': selectid == 0}]"></span></li>
<div ng-repeat="group in groups"> <div ng-repeat="group in groups">
<li><span class="fl ml10 class-list-name hidden">{{group.course_group.name}}</span><span ng-click="selectGroup(group.course_group.id)" class="login-box fr mr10 mt12 img-circle" ng-class="[{'checked': selectid == group.course_group.id}]"></span></li> <li ng-class="{'border-bottom-none':$last}"><span class="fl ml10 class-list-name hidden">{{group.course_group.name}}</span><span ng-click="selectGroup(group.course_group.id)" class="login-box fr mr10 mt12 img-circle" ng-class="[{'checked': selectid == group.course_group.id}]"></span></li>
<!--<li class="border-bottom-none"><span class="fl ml10 class-list-name hidden">分班2</span><span class="login-box fr mr10 mt12 img-circle" ng-class="['login-box', 'fr', 'mr10', 'mt12', {'checked': student}]"></span></li>--> <!--<li class="border-bottom-none"><span class="fl ml10 class-list-name hidden">分班2</span><span class="login-box fr mr10 mt12 img-circle" ng-class="['login-box', 'fr', 'mr10', 'mt12', {'checked': student}]"></span></li>-->
</div> </div>
</ul> </ul>