查看详情弹框

dev_aliyun
caishi 5 years ago
parent 274bfd795f
commit 6fa0ae62a4

@ -23,13 +23,22 @@
</div> </div>
<li class="inline"> <li class="inline">
<a href="<%= is_start ? first_section.competition_entries[2].url : 'javascript:void(0)'%>" <a href="<%= is_start ? first_section.competition_entries[2].url : 'javascript:void(0)'%>"
class="ex_submit"><%= first_section.competition_entries[2].name %></a> class="ex_submit">报名参赛</a>
<a href="<%= is_start ? first_section.competition_entries[2].url : 'javascript:void(0)'%>" <a href="javascript:void(0)" onclick="toEnrollDetail();" class="ex_submit">查看报名详情</a>
class="ex_submit"><%= first_section.competition_entries[2].name %></a>
</li> </li>
</div> </div>
</div> </div>
<% index += 1 %> <% index += 1 %>
<p class="second_course_6" style="background: url('<%= named_attachment_path(@images[index], @images[index].try(:filename)) %>') no-repeat top center;"></p> <p class="second_course_6" style="background: url('<%= named_attachment_path(@images[index], @images[index].try(:filename)) %>') no-repeat top center;"></p>
<script>
function toEnrollDetail(){
var htmlvalue = '<div class="task-popup" style="width:500px;"><div class="task-popup-title clearfix">提示</div>'+
'<div class="task-popup-content"><p class="task-popup-text-center font-16">完成报名后即可查看</p></div>' +
'<div class="task-popup-submit clearfix"><a href="javascript:void(0);" onclick="hideModal();" class="task-btn fl">取消</a>'+
'<a href="javascript:void(0)" class="task-btn task-btn-orange fr">立即报名</a></div></div>';
pop_box_new(htmlvalue, 500, 205);
}
</script>

Loading…
Cancel
Save