还原以前的页面

dev_library
caishi 6 years ago
parent 4105c7a9e8
commit fbd7cb6b52

@ -1,4 +1,3 @@
<% if false %>
<div class="qg-1" style="background: url(<%= named_attachment_path(@images.first, @images.first.try(:filename)) %>) no-repeat top center;"></div> <div class="qg-1" style="background: url(<%= named_attachment_path(@images.first, @images.first.try(:filename)) %>) no-repeat top center;"></div>
<div style="min-height: 588px; background: url(<%= named_attachment_path(@images[1], @images[1].try(:filename)) %>) no-repeat top center;"></div> <div style="min-height: 588px; background: url(<%= named_attachment_path(@images[1], @images[1].try(:filename)) %>) no-repeat top center;"></div>
<div class="pr qg-2" style="background: url(<%= named_attachment_path(@images[2], @images[2].try(:filename)) %>) no-repeat top center;"> <div class="pr qg-2" style="background: url(<%= named_attachment_path(@images[2], @images[2].try(:filename)) %>) no-repeat top center;">
@ -70,6 +69,4 @@
var h=parseInt($(".top-com").height())+385; var h=parseInt($(".top-com").height())+385;
$(".qg-2").css({"minHeight":h+"px"}); $(".qg-2").css({"minHeight":h+"px"});
}) })
</script> </script>
<% end %>
<%= render :partial => 'competitions/qg_second_competition' %>
Loading…
Cancel
Save