parent
05f09c4595
commit
3b383dfa65
@ -1 +1 @@
|
|||||||
{"access_token":"_-LoF1vaOEfUwHI2E5iF7IOIyhvTQAhdkyrwp0ISL0q2Nqb8QMcO9K4Z_kNXxporFsN3xJxOdd8EcCPLVxxzqbBm02m9gmGdp_ENBf9K5nHcneKNTpdoIII7B-9FXHRwCYPaADAJFW","expires_in":7200,"got_token_at":1466770839}
|
{"access_token":"oEEf8ZKAB8Y2G0o_xnTPkPJHKKk8iHkLC-f5ptvQ2nCMj9IpC86ivLD2-p38GfOkuG-HuQp3pWZqhs3NJXUMdPLWsr5k67hPZYuqg4ozLccx0xdLswapj0mn8ovZhK1tKIKiAFAOMO","expires_in":7200,"got_token_at":1467012449}
|
@ -0,0 +1,8 @@
|
|||||||
|
module Mobile
|
||||||
|
module Entities
|
||||||
|
class Exercise < Grape::Entity
|
||||||
|
expose :exercise_name
|
||||||
|
expose :exercise_description
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
@ -1,10 +1,21 @@
|
|||||||
<div class="post-container">
|
<div class="post-container" style="padding-bottom: 50px;">
|
||||||
|
<div loading-spinner></div>
|
||||||
<div class="blue-title">课程列表</div>
|
<div class="blue-title">课程列表</div>
|
||||||
<div class="course-list-row f13 c-grey3 mt10"><img src="/images/wechat/plus.png" width="15" class="fl ml10 mt11 spread-btn" /><img src="/images/wechat/minus.png" width="15" class="fl ml10 mt11 retract-btn undis" /><span class="fl ml10">未命名课程</span><img src="/images/wechat/setting.png" width="15" class="fr mr10 mt10" /></div>
|
<div class="course-list-row f13 c-grey3 mt10"><img src="/images/wechat/plus.png" width="15" class="fl ml10 mt11 spread-btn" /><img src="/images/wechat/minus.png" width="15" class="fl ml10 mt11 retract-btn undis" /><span class="fl ml10">未命名课程</span><img src="/images/wechat/setting.png" width="15" class="fr mr10 mt10" /></div>
|
||||||
<ul class="class-list f13 c-grey3">
|
<ul class="class-list f13 c-grey3">
|
||||||
<li ng-repeat="course in courses" ng-class="{'border-bottom-none': $last}"><img src="/images/wechat/dot.png" width="15px" class="class-list-dot" /><span class="fl ml10 class-list-name hidden">{{course.name}}</span><span class="fr c-grey4">></span><span class="students-amount f12 fr mt10">10人</span></li>
|
<li ng-click="goClass(course.id)" ng-repeat="course in courses" ng-class="{'border-bottom-none': $last}">
|
||||||
<!--<li><img src="/images/wechat/dot.png" width="15px" class="class-list-dot" /><span class="fl ml10 class-list-name hidden">分布式计算环境B班</span><span class="fr c-grey4">></span><span class="students-amount f12 fr mt10">10人</span></li>-->
|
<img src="/images/wechat/dot.png" width="15px" class="class-list-dot" />
|
||||||
<!--<li class="border-bottom-none"><img src="/images/wechat/dot.png" width="15px" class="class-list-dot" /><span class="fl ml10 class-list-name hidden">分布式计算环境C班</span><span class="fr c-grey4">></span><span class="students-amount f12 fr mt10">10人</span></li>-->
|
<span class="fl ml10 class-list-name hidden">{{course.name}}</span>
|
||||||
|
<span class="fr c-grey4">></span>
|
||||||
|
<span class="students-amount f12 fr mt10">{{course.course_student_num}}人</span>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
||||||
|
<a href="javascript:void(0);" class="weixin-tab link-blue2 border-top">我的资源</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
Loading…
Reference in new issue