开源检索按钮调整

This commit is contained in:
huang 2017-01-20 10:13:30 +08:00
parent 94822a5c95
commit c50266e264
2 changed files with 6 additions and 6 deletions

View File

@ -147,11 +147,11 @@
<%# 课程英雄榜 %>
<%= render :partial => 'courses/course_heroes', :locals => {:course => @course} %>
<div class="sy_class_leftbox" >
<% if @course.try(:os_allow) == 1 %>
<h3 class="fontGrey7"><span>推荐</span>
<a class="c_white db creatPostIcon2 bGreen fr" href="http://ossean.trustie.net?user_id=<%= User.current.id %>" target="_blank">开源检索</a>
</h3>
<% if @course.try(:os_allow) == 1 %>
<a class="c_white db creatPostIcon2 bGreen fr mt3" href="http://ossean.trustie.net?user_id=<%= User.current.id %>" target="_blank">开源检索</a>
<% end %>
</h3>
<%= render :partial => 'courses/recommendation', :locals => {:course => @course} %>
</div>
<%# 更新访问数,刷新的时候更新访问次数 %>

View File

@ -415,7 +415,7 @@ a.sortArrowActiveD {background:url(../images/post_image_list.png) -0px -20px no-
a.sortArrowActiveU {background:url(../images/post_image_list.png) -17px -20px no-repeat; width:7px; height:9px; float:left; margin-left:5px; margin-top:5px;}
.creatPost {width:80px; height:25px; border-radius:3px; color:#ffffff; text-align:center; float:right; line-height:25px; vertical-align:middle; margin-top:2px;}
.creatPostIcon {background:url(../images/post_image_list.png) -40px -54px no-repeat; width:70px; height:25px; padding-left:10px; border-radius:3px;}
.creatPostIcon2 {width:60px; height:30px; padding-left:3px; border-radius:3px;}
.creatPostIcon2 {width:60px; height:24px; padding-left:5px; border-radius:3px;line-height: 24px;}
.postRow {width:970px; border-bottom:1px solid #efefef; padding:15px 0;}
.postPortrait {width:75px; height:75px; float:left; margin-right:15px;}
.postWrap {width:690px; float:left; margin-right:95px;}