问吧位置加链接

This commit is contained in:
huang 2016-12-29 17:07:34 +08:00
parent 6cd4e9e71d
commit 3bdf26c63e
3 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<%= content_for(:header_tags) do %>
<%= import_ke(enable_at: false, prettify: false, init_activity: false) %>
<% end %>
<div class="banner-big f16 fontGrey3 mb10">问吧 > <%= @forum.name %></div>
<div class="banner-big f16 fontGrey3 mb10"><%= link_to "问吧", forums_path, :class => "c_blue" %> > <%= @forum.name %></div>
<div class="postRightContainer mr10">
<div id="create_memo_div" style="display: none">

View File

@ -3,6 +3,9 @@
<%= javascript_include_tag 'forum' %>
<% end %>
<div class="banner-big f16 fontGrey3 mb10">
<%= link_to "问吧", forums_path, :class => "c_blue" %> > <%= link_to @forum.name, forum_path(@forum), :class => "c_blue" %> > <%= l@memo.subject %></div>
<script>
$(function() {
sd_create_editor_from_data(<%= @memo.id%>,null,"100%", "<%=@memo.class.to_s%>");
@ -139,7 +142,7 @@
</div>
<div class="f1">
<%= link_to "<span class='btn-big-blue mt10'>我要提问+</span>".html_safe, new_forum_memo_path(:forum_id => @forum) %>
<%= link_to "<span class='btn-big-blue mt10'>我要提问</span>".html_safe, new_forum_memo_path(:forum_id => @forum) %>
</div>
</div>

View File

@ -23,7 +23,7 @@ a:hover.wenba-tiwen-tag,a.wenba-tiwen-tag-active{ background: #3b94d6; color: #f
.btn-blue{background: #3b94d6; color: #fff;}
.btn-blue:hover{background: #2788d0; color: #fff;}
/*大提交按钮*/
.btn-big-blue{display: block; width: 240px; height: 60px; line-height: 60px; text-align: center; color: white; font-weight: bold; background: #3b94d6;font-size: 14px;}
.btn-big-blue:hover{display: block; width: 240px; height: 60px; line-height: 60px; text-align: center; color: white; font-weight: bold; background: #2788d0;font-size: 14px;}
.btn-big-blue{display: block; width: 240px; height: 55px; line-height: 55px; text-align: center; color: white; font-weight: bold; background: #3b94d6;font-size: 14px;}
.btn-big-blue:hover{display: block; width: 240px; height: 55px; line-height: 55px; text-align: center; color: white; font-weight: bold; background: #2788d0;font-size: 14px;}
.banner-big {width:968px; background-color: #ffffff; padding:10px 15px; border:1px solid #dddddd;}