详情页面格式调整

This commit is contained in:
Tim 2016-05-04 09:40:20 +08:00
parent 399f757811
commit 765d52a2ce
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
<div class="sn-innner-content">
<div class="sn-row sn-bg-white">
<div class="sn-content-position"> 您的位置:<%= link_to "首页", organization_path(@organization) %> &gt;
<div class="sn-content-position sn-hidden"> 您的位置:<%= link_to "首页", organization_path(@organization), :class => "sn-link-grey2" %> &gt;
<%= @org_subfield.name %> &gt;
<%= link_to @subdomain.name, org_subfield_sub_domain_path(@subdomain) %> &gt;
<%= link_to @document.title, org_subfield_sub_domain_sub_document_comment_path(@document) %> </div>
<%= link_to @subdomain.name, org_subfield_sub_domain_path(@subdomain), :class => "sn-link-grey2" %> &gt;
<%= link_to @document.title, org_subfield_sub_domain_sub_document_comment_path(@document), :class => "sn-link-grey2" %> </div>
</div>
<div class="sn-inner-newslist">
<h2 class="sn-inner-newsh2"><%= @document.title %></h2>
<h2 class="sn-inner-newsh2 sn-hidden"><%= @document.title %></h2>
<div class="sn-inner-newscon">
<p class=" sn-inner-psmall">来源:卫星导航仿真与测试开放实验室 发布时间:2016-04-08 浏览200次</p>
<p class=" sn-inner-pcon"><%= @document.content.html_safe %></p>
@ -30,14 +30,14 @@
<a href="javascript:void(0)" class="sn-reply-userpic fl"><img src="images/img-news-con.jpg" width="824" height="522" alt="" /></a>
<a href="javascript:void(0)" class="sn-reply-username fl">与再有</a><span class="fl">10分钟</span>
<p class="fl sn-reply-usertxt ">北斗真棒,北斗加油</p>
<a href="javascript:void()" target="_blank" class="sn-reply-zan fl">100</a>
<a href="javascript:void(0);" target="_blank" class="sn-reply-zan fl">100</a>
<div class="cl"></div>
</div>
<div class="sn-comment-listbox">
<a href="javascript:void(0)" class="sn-reply-userpic fl"><img src="images/img-news-con.jpg" width="824" height="522" alt="" /></a>
<a href="javascript:void(0)" class="sn-reply-username fl">与再有</a><span class="fl">10分钟</span>
<p class="fl sn-reply-usertxt ">北斗真棒,北斗加油</p>
<a href="javascript:void()" target="_blank" class="sn-reply-zan fl">100</a>
<a href="javascript:void(0);" target="_blank" class="sn-reply-zan fl">100</a>
<div class="cl"></div>
</div>
<div class="sn-reply-more">