二维码处文字样式处理

This commit is contained in:
Tim 2016-05-05 09:08:01 +08:00
parent 06e90c83e4
commit 787dbaaffc
2 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "104", :height => "104"), board_message_url_in_org(message.board.id,message.id), :target => "_blank", :class => "fl sn-index-wximg" %>
<% end %>
<p class="fl sn-index-txt"><%=link_to message.content.to_s.html_safe, board_message_url_in_org(message.board.id, message.id), :target => "_blank" %></p>
<p class="fl sn-index-txt sn-w229"><%=link_to message.content.to_s.html_safe, board_message_url_in_org(message.board.id, message.id), :target => "_blank" %></p>
<div class="cl"></div>
</div>
<% else %>
@ -50,7 +50,7 @@
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "104", :height => "104"), board_message_path(message.board, activity), :target => "_blank", :class => "fl sn-index-wximg" %>
<% end %>
<p class="fl sn-index-txt"><%=link_to message.content.to_s.html_safe, board_message_path(message.board, activity), :target => "_blank" %></p>
<p class="fl sn-index-txt sn-w229"><%=link_to message.content.to_s.html_safe, board_message_path(message.board, activity), :target => "_blank" %></p>
<div class="cl"></div>
</div>
<% end %>
@ -65,7 +65,7 @@
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "104", :height => "104"), news_path(news), :target => "_blank", :class => "fl sn-index-wximg" %>
<% end %>
<p class="fl sn-index-txt"><%=link_to news.description.to_s.html_safe, news_path(news), :target => "_blank" %></p>
<p class="fl sn-index-txt sn-w229"><%=link_to news.description.to_s.html_safe, news_path(news), :target => "_blank" %></p>
<div class="cl"></div>
</div>
<% end %>
@ -76,7 +76,7 @@
<h2 class="h2-title "><%= field.name %></h2>
<div class="sn-index-wx">
<img class="fl sn-index-wximg" src="/images/default_blank/right-02.jpg" width="104" height="104" alt=""/>
<p class="fl sn-index-txt">暂无内容!</p>
<p class="fl sn-index-txt sn-w229">暂无内容!</p>
<div class="cl"></div>
</div>
</div>

View File

@ -157,7 +157,7 @@ a.more-btn{ display:block; width:185px; height:30px; text-align:center; backgrou
/* index-wx*/
.sn-index-wxbox{margin-bottom:20px; background:#fff;}
.sn-index-wximg{ margin:15px; margin-right:5px;}
.sn-index-txt{ font-size:16px; line-height:2.0; margin-top:30px;}
.sn-index-txt{ font-size:16px; line-height:2.0; margin-top:30px; max-height:64px; overflow:hidden;}
.sn-index-smallbanner img{ display:block; width:369px; height:169px; }
/* 内页新闻列表 */