You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/libraries/show.html.erb

96 lines
4.8 KiB

<div class="educontent mb50">
<p class="mt10 mb20 clearfix lineh-20">
<a href="javascript:void(0)" class="color-grey-9">胡莎莎</a> &gt;
<a href="javascript:void(0)" class="color-grey-9">文库</a> &gt;
<span class="color-grey-3">新建</span>
</p>
<p class="lineh-25 mb20 clearfix">
<span class="font-22 fl mr10 task-hide" style="max-width: 800px">C语言程序教学案例</span>
<span class="fl edu-filter-btn edu-activity-green mt5">草稿</span>
<a href="javascript:void(0)" class="fr color-grey-9 mt5">返回</a>
</p>
<div class="edu-back-white">
<div class="padding30">
<p class="mb10 clearfix">
<span class="color-grey-6 font-16 mr10">私有化原因</span>
<span class="color-grey-c font-12">(请按照提示修改,并在完成编辑后重新提交)</span>
<a href="javascript:void(0)" class="color-blue fr" at="0" onclick="getMore(this)">点击展开<i class="iconfont icon-xiajiantou color-blue font-14 ml5"></i></a>
</p>
<div class="private_reason">
<li>
<p class="color-grey-9">2018-12-25 03:58</p>
<p class="lineh-25 font-16 break-word">文档&视频的任何位置(包括文档标题、简介、文档等),都不允许出现任何有推广或宣传目的内容,如电话号码、电子邮箱地址、即时通讯工具号码等具体联系信息以及广告宣传语等,其中被警告多次而仍然添加广告内容的用户会被判定为广告用户,将接受封号处罚。</p>
</li>
<li>
<p class="color-grey-9">2018-12-25 03:58</p>
<p class="lineh-25 font-16 break-word">文档&视频的任何位置(包括文档标题、简介、文档等),都不允许出现任何有推广或宣传目的内容,如电话号码、电子邮箱地址、即时通讯工具号码等具体联系信息宣传语等,其中被警告多次而仍然添加广告内容的用户会被判定为广告用户,将接受封号处罚。</p>
</li>
</div>
</div>
<div class="padding30 bor-top-greyE">
<p class="mb10 clearfix">
<span class="color-grey-6 font-16 mr10">详情</span>
<a href="javascript:void(0)" class="white-btn edu-blueline-btn fr">编辑</a>
</p>
<div class="df mb20">
<img src="http://img4.duitang.com/uploads/item/201412/01/20141201183854_TRArc.thumb.700_0.png" width="50" height="50" class="radius mr15 mt3"/>
<div class="flex1">
<li class="font-16">胡莎莎</li>
<li class="clearfix">
<span class="fl color-grey-9 mr20">国防科技大学</span>
<span class="fl color-grey-9">教授</span>
<span class="fr">
<span class="fl color-grey-9 mr30">编码:<span class="color-grey-6">2018120409235950611737</span></span>
<span class="fl color-grey-9">上传时间:<span class="color-grey-6">2018-12-04 09:23</span></span>
</span>
</li>
</div>
</div>
<div>
<div class="break_full_word new_li" id="labraries_editorMd_content">
<textarea style="display:none;"><!---内容---></textarea>
</div>
<div class="mt10">
<!--附件-->
</div>
</div>
</div>
</div>
</div>
<script>
function getMore(item) {
var at=$(item).attr("at");
if(at=="0"){
$(item).html('点击收起<i class="iconfont icon-shangjiantou color-blue font-14 ml5"></i>');
$(item).attr("at","1");
$(".private_reason").css({height:"auto"});
}else{
$(item).html('点击展开<i class="iconfont icon-xiajiantou color-blue font-14 ml5"></i>');
$(item).attr("at","0");
$(".private_reason").css({height:"166px"});
}
}
var homeworkDescr = editormd.markdownToHTML("labraries_editorMd_content", {
htmlDecode: "style,script,iframe", // you can filter tags decode
taskList: true,
tex: true, // 默认不解析
flowChart: true, // 默认不解析
sequenceDiagram: true // 默认不解析
});
</script>
<div class="educontent edu-back-white mt20 successPage">
<div>
<img src="/images/educoder/success.png" width="100" class="mb30">
<div class="lineh-30 ed-txt-center font-24 color-grey-3 font-bd mb15">
<p>恭喜!</p>
<p>文档上传成功</p>
</div>
<p class="lineh-30 ed-txt-center font-16 color-grey-9 font-bd mb15">通过平台管理员审核后,即可公开显示</p>
<li class="inline">
<a href="javascript:void(0)" class="white-btn edu-blueline-btn changebtn mr20 fl">查看已上传文档</a>
<a href="javascript:void(0)" class="white-btn edu-blueback-btn changebtn fl">继续上传</a>
</li>
</div>
</div>