项目动态宽度调整

This commit is contained in:
Tim 2016-10-18 11:30:42 +08:00
parent f91bdc7d14
commit fb9e1a02df
3 changed files with 16 additions and 13 deletions

View File

@ -1,12 +1,12 @@
<% unless activity.author.nil? %>
<div class="resources mt10" id="user_activity_<%= user_activity_id%>">
<div class="homepagePostBrief">
<div class="container-big mt10" id="user_activity_<%= user_activity_id%>">
<div class="pr">
<div class="homepagePostPortrait">
<%= link_to image_tag(url_to_avatar(activity.author), :width => "50", :height => "50"), user_path(activity.author_id), :alt => "用户头像" %>
<%= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %>
</div>
<div class="homepagePostDes">
<div class="homepagePostTo break_word" style="width:620px">
<div class="content-big">
<div class="homepagePostTo break_word" style="width:880px">
<% if activity.try(:author).try(:realname) == ' ' %>
<%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %>
<% else %>

View File

@ -8,16 +8,9 @@
<% end %>
</div>
<%#= stylesheet_link_tag 'courses' %>
<script type="text/javascript">
$(function () {
$("#RSide").removeAttr("id");
$("#Container").css("width", "1000px");
});
</script>
<input type="hidden" value="<%= @type %>" name="type" id="user_activities_type">
<div class="homepageRight mt0 ml10">
<div class="homepageRightBanner">
<div class="homepageRight mt0">
<div class="banner-big">
<div class="NewsBannerName">项目动态</div>
<ul class="resourcesSelect" class="resourcesSelect">
<li class="resourcesSelected"><a href="javascript:void(0);" class="resourcesIcon"></a>
@ -36,6 +29,7 @@
</ul>
</li>
</ul>
<div class="cl"></div>
<!--CONTENT LIST-->
</div>

View File

@ -916,3 +916,12 @@ a:hover.btn_newpro_grey,a:active.btn_newpro_grey{ background: #eaeaea;}
.w650{ width: 650px;}
.pro_new_prompt{ border:1px solid #f6d0b1; padding:10px; background: #fff9e9; color: #ee4a20; text-align: center;}
p.pro_new_grey{ line-height: 1.9; }
/*20161018项目宽度扩展*/
.banner-big {width:968px; background-color: #ffffff; padding:10px 15px; border:1px solid #dddddd;}
.container-big {width:968px; background-color:#ffffff; padding:15px; border:1px solid #dddddd;}
.content-big {float:left; width:902px; margin-left:15px;}
.container-big-grey {width:970px; background-color:#f1f1f1;}
.reply-banner {width:968px; height:33px; border:1px solid #e4e4e4; line-height:33px; vertical-align:middle; font-size:12px; color:#888888; position: relative;}
.reply-container {border-bottom:1px solid #e3e3e3; width:940px; margin-top:15px; min-height:50px;}
.reply-content {float:left; width:892px;}