37 lines
2.7 KiB
HTML
37 lines
2.7 KiB
HTML
<div class="post-container">
|
||
<div loading-spinner></div>
|
||
<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" />
|
||
<input class="class-detail-search" placeholder="输入关键词进行搜索" ng-model="searchText" />
|
||
</div>
|
||
</div>
|
||
|
||
<div ng-class="{'undis': currentTab!=1}">
|
||
<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>
|
||
</div>
|
||
<p ng-show="resources && resources.length<=0" class="class-test-tip">暂无课件,<br />
|
||
请登录Trustie网站,在PC浏览器中上传课件。</p>
|
||
</div>
|
||
<div ng-class="{'undis': currentTab!=2}">
|
||
<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 undis">发送</a><div class="cl"></div>
|
||
<span class="f12 mt5 ml35 c-grey4">作业来源:{{r.coursename}}</span>
|
||
</div>
|
||
<p ng-show="homeworks && homeworks.length<=0" class="class-test-tip">暂无作业,<br />
|
||
请登录Trustie网站,在PC浏览器中创建作业。</p>
|
||
</div>
|
||
<div ng-class="{'undis': currentTab!=3}">
|
||
<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 undis">发送</a><div class="cl"></div>
|
||
<span class="f12 mt5 ml35 c-grey4">题目来源:{{r.coursename}}</span>
|
||
</div>
|
||
<p ng-show="exercise && exercise.length<=0" class="class-test-tip">暂无测验,<br />
|
||
请登录Trustie网站,在PC浏览器中创建测验。</p>
|
||
</div>
|
||
|
||
</div>
|