socialforge/public/assets/wechat/myresource.html

37 lines
2.7 KiB
HTML
Raw Normal View History

2016-06-27 17:24:06 +08:00
<div class="post-container">
<div loading-spinner></div>
2016-06-27 17:24:06 +08:00
<div class="class-detail-name">我的资源</div>
<div class="tab-wrap">
<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 class="class-search-wrap">
<div class="class-search-inner"> <img src="/images/wechat/search.png" width="18" class="class-search-icon" />
2016-07-08 17:11:16 +08:00
<input class="class-detail-search" placeholder="输入关键词进行搜索" ng-model="searchText" />
2016-06-27 17:24:06 +08:00
</div>
</div>
2016-06-27 17:24:06 +08:00
<div ng-class="{'undis': currentTab!=1}">
2016-07-11 16:54:58 +08:00
<div ng-repeat="r in resources|filter:{filename:searchText}" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]">
<img src="/images/wechat/courseware.png" width="15" class="ml10 fl" /> <span class="fl ml10 resource-width">{{r.filename}}</span><a ng-click="sendFile(r)" class="fr mr10 link-blue2">发送</a><div class="cl"></div>
<span class="f12 mt5 ml35 c-grey4">课件来源:{{r.coursename}}</span><span class="f12 ml10 mt5 c-grey4">大小:{{r.attafile_size}}</span>
2016-07-11 16:54:58 +08:00
</div>
<p ng-show="resources && resources.length<=0" class="class-test-tip">暂无课件,<br />
2016-06-27 17:24:06 +08:00
请登录Trustie网站,在PC浏览器中上传课件。</p>
</div>
<div ng-class="{'undis': currentTab!=2}">
2016-07-11 16:54:58 +08:00
<div ng-repeat="r in homeworks|filter:{homework_name: searchText}" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><img src="/images/wechat/homework.png" width="15" class="ml10 fl" /><span class="fl ml10 resource-width">{{r.homework_name}}</span><a ng-click="sendFile(r)" class="fr mr10 link-blue2">发送</a><div class="cl"></div>
<span class="f12 mt5 ml35 c-grey4">作业来源:{{r.coursename}}</span>
2016-07-11 16:54:58 +08:00
</div>
<p ng-show="homeworks && homeworks.length<=0" class="class-test-tip">暂无作业,<br />
2016-06-27 17:24:06 +08:00
请登录Trustie网站,在PC浏览器中创建作业。</p>
</div>
<div ng-class="{'undis': currentTab!=3}">
2016-07-11 16:54:58 +08:00
<div ng-repeat="r in exercise|filter:{exercise_name: searchText}" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><img src="/images/wechat/test.png" width="15" class="ml10 fl" /><span class="fl ml10 resource-width">{{r.exercise_name}}</span><a ng-click="sendFile(r)" class="fr mr10 link-blue2">发送</a><div class="cl"></div>
<span class="f12 mt5 ml35 c-grey4">题目来源:{{r.coursename}}</span>
2016-07-11 16:54:58 +08:00
</div>
<p ng-show="exercise && exercise.length<=0" class="class-test-tip">暂无测验,<br />
2016-06-27 17:24:06 +08:00
请登录Trustie网站,在PC浏览器中创建测验。</p>
</div>
2016-06-27 17:24:06 +08:00
</div>