socialforge/public/assets/wechat/myresource.html

30 lines
2.0 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 11:05:49 +08:00
<div ng-repeat="r in resources|filter:{filename:searchText}" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><span class="fl ml10 hidden resource-width">{{r.filename}}</span><a ng-click="sendFile(r)" class="fr mr10 link-blue2">发送</a></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 11:05:49 +08:00
<div ng-repeat="r in homeworks|filter:{homework_name: searchText}" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><span class="fl ml10 hidden resource-width">{{r.homework_name}}</span></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 11:05:49 +08:00
<div ng-repeat="r in exercise|filter:{exercise_name: searchText}" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><span class="fl ml10 hidden resource-width">{{r.exercise_name}}</span></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>