项目简介样式调整,并且输入网页能点击

This commit is contained in:
daiao 2016-11-11 17:35:11 +08:00
parent bb8726479a
commit 1ec0100386
2 changed files with 11 additions and 6 deletions

View File

@ -1,12 +1,14 @@
<!--新版项目头部结束-->
<div class="pro_new_info mb10 break_word">
<div class="pro_new_info mb10 break_word" style="padding-bottom: 5px" >
<div id="project_invite_code"><%= render :partial => 'projects/invite_code' %></div>
<div id="project_description_code" >
<% if @project.description.blank? %>
<p class="break_word"><%= @project.name %></p>
<p class="break_word" style="padding-top:5px"><%= @project.name %></p>
<% else %>
<p class="break_word"><%=h @project.description.html_safe %></p>
<p class="break_word" style="padding-top:5px"><%=h @project.description.html_safe %></p>
<% end %>
</div>
</div>
<input type="hidden" value="<%= @type %>" name="type" id="user_activities_type">
<div class="homepageRight mt0">
@ -35,3 +37,6 @@
<%= render :partial => "project_activities", :locals => {:forge_acts => @events_pages, :page => 0, :type => @type} %>
</div>
<script>
autoUrl('project_description_code');
</script>

View File

@ -887,7 +887,7 @@ a:hover.btn_newpro_grey,a:active.btn_newpro_grey{ background: #eaeaea;}
/*项目简介*/
.pro_new_info{ border:1px solid #ddd; background-color:#fff; width: 998px;}
.pro_new_info h2{ background: #fff; font-size: 14px; color: #333; height: 40px; line-height: 40px; padding-left: 15px; border-bottom:1px solid #e5e5e5;}
.pro_new_info p{ padding-bottom:2px; padding-left: 5px; color: #666; padding-right: 5px}
.pro_new_info p{ padding-bottom:2px; padding-left: 15px; color: #666; padding-right: 5px}
.pro_new_info_weight{ font-size: 16px; font-weight: bold;}
/* 新版项目配置*/
.pro_new_setting_leftnav{ width: 162px; border:1px solid #ddd; background-color:#fff; padding:3px; padding-bottom: 0;}