行业动态
This commit is contained in:
parent
950f09009c
commit
533170970a
|
@ -2,7 +2,7 @@ module HomesHelper
|
|||
|
||||
def home_cover_tag(home)
|
||||
file_path = home&.cover&.file.nil? ? "/images/introduce/activeBanner.jpg": local_path(home.cover.file)
|
||||
image_tag(file_path, class: 'mb25', height: '226px', width: '592px')
|
||||
image_tag(file_path, class: 'mb30', width: '592px')
|
||||
end
|
||||
|
||||
def home_banner_tag(banner)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="mr35">
|
||||
<%= home_cover_tag(home) %>
|
||||
<p class="f26 lh26 color-grey3 mb15"><%= home.name %></p>
|
||||
<p class="f16 c_grey02 break_full_word">
|
||||
<p class="f26 lh26 color-grey3 mb20"><%= home.name %></p>
|
||||
<p class="f16 c_grey02 break_full_word lh30">
|
||||
<%= truncate(home.content.html_safe, length: Home::SHOW_CONTENT_LENGTH) %>
|
||||
</p>
|
||||
<!-- <a href="<%##= home.more_content? ? homes_path(home) : 'JavaScript:void(0)'%>" class="homepage_activity_more <%#= home.more_content? ? 'visit_color' : 'disabled_color' %>">MORE<span>→</span></a>-->
|
||||
|
|
|
@ -74,6 +74,7 @@ h4{ font-size:14px;}/*color:#3b3b3b;*/
|
|||
.lh24{line-height:24px;}
|
||||
.lh26{line-height:26px;}
|
||||
.lh27{line-height:27px;}
|
||||
.lh30{line-height:30px;}
|
||||
.fmYh{font-family:"微软雅黑";}
|
||||
.font999{ color:#999;}
|
||||
.fontRed{color:#770000;}
|
||||
|
|
Loading…
Reference in New Issue