图片变大的问题
This commit is contained in:
parent
3469d928d8
commit
967a76af67
|
@ -138,13 +138,7 @@
|
|||
</div>
|
||||
<div class="sn-row">
|
||||
<div class="sn-banner">
|
||||
<% if @org_banner_attchment.blank? %>
|
||||
<img width="1200" height="210" src="/images/sn_banner.jpg" alt=""/>
|
||||
<% else %>
|
||||
<img src="/attachments/<%= @org_banner_attchment.id %>/<%= @org_banner_attchment.filename %>" width="1200" height="210" alt="banner image" />
|
||||
<% end %>
|
||||
<a href="#" class="sn-banner-add" title="点击替换图片" onclick="org_new_files_banner_upload();"></a>
|
||||
<!--<img src="/images/sn_banner.jpg" width="1200" height="210" alt="banner image" />-->
|
||||
<img src="/images/sn_banner.jpg" width="1200" height="210" alt="banner image" />
|
||||
<!--<a href="#" class="sn-banner-add" title="点击替换图片" ></a>-->
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue