首页调整

This commit is contained in:
yanxd 2014-03-26 08:24:12 +08:00
parent d64615e604
commit dba674dfec
3 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,4 @@
<%= stylesheet_link_tag 'welcome' %>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function clearInfo(id, content) { function clearInfo(id, content) {
var text = $('#' + id); var text = $('#' + id);
@ -104,7 +105,6 @@
<div style="clear:both"></div> <div style="clear:both"></div>
<%= stylesheet_link_tag 'welcome' %>
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject"> <div id="J_Slide" class="d-p-index-box d-p-index-hotproject">
<h3 style="margin-left: 5px; color: #e8770d;"><strong>新开课程</strong></h3> <h3 style="margin-left: 5px; color: #e8770d;"><strong>新开课程</strong></h3>
<span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", {:controller => 'projects', :action => 'course', :project_type => 1}, :target => "_blank" %></span> <span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", {:controller => 'projects', :action => 'course', :project_type => 1}, :target => "_blank" %></span>

View File

@ -1,3 +1,4 @@
<%= stylesheet_link_tag 'welcome' %>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function clearInfo(id, content) { function clearInfo(id, content) {
var text = $('#' + id); var text = $('#' + id);
@ -103,9 +104,6 @@
<div style="clear:both"></div> <div style="clear:both"></div>
<%= stylesheet_link_tag 'welcome' %>
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject"> <div id="J_Slide" class="d-p-index-box d-p-index-hotproject">
<h3 style="margin-left: 5px; color: #e8770d;"><strong>热门项目</strong></h3> <h3 style="margin-left: 5px; color: #e8770d;"><strong>热门项目</strong></h3>
<span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", { :controller => 'projects', :action => 'index', :project_type => 0, :host => Setting.project_domain}, :target => "_blank" %></span> <span style="margin-top: -20px;float: right; display: block;"><%= link_to "更多>>", { :controller => 'projects', :action => 'index', :project_type => 0, :host => Setting.project_domain}, :target => "_blank" %></span>

View File

@ -142,7 +142,7 @@ ul.welcome-message-list{
} }
.d-p-index-hotproject{ .d-p-index-hotproject{
width: 48%; width: 48%;
margin-top: 40px; margin-top: 10px;
float: left; float: left;
} }
ul.d-p-index-hdright{ ul.d-p-index-hdright{
@ -338,7 +338,7 @@ a.attachments_list_color {
margin: 0; margin: 0;
margin-top: 35px; margin-top: 35px;
padding: 0; padding: 0;
margin-bottom: 30px; margin-bottom: 35px;
width: 100%; width: 100%;
height: auto; height: auto;
} }