禁赛弹框

dev_aliyun
daiao 5 years ago
parent 217eb50590
commit 6e93456f7d

@ -8,7 +8,6 @@
bottom: 0px; bottom: 0px;
right: 0px; right: 0px;
} }
ddd
</style> </style>
<div class="educontent newLogipopup" id="backImg" > <div class="educontent newLogipopup" id="backImg" >
<div class="pr edu-txt-center height-100 pt110"> <div class="pr edu-txt-center height-100 pt110">
@ -30,5 +29,7 @@ ddd
</div> </div>
</div> </div>
</div> </div>
<script>
console.log("############");
</script>

@ -128,7 +128,15 @@
$("#all_status_show_value").text("用户"); $("#all_status_show_value").text("用户");
<% end %> <% end %>
<% end %> <% end %>
if (window.localStorage) {
var uid = localStorage.getItem('competition_uid');
} else {
var uid = false
}
if(!uid){
var htmlvalue = "<%= escape_javascript(render :partial => 'competitions/competitions_name')%>";
pop_box_new(htmlvalue, 500, 380);
}
<% notice = SystemUpdateNotice.last %> <% notice = SystemUpdateNotice.last %>
<% if @noticed_update || ((User.current.certification == 1 || params[:controller] != "welcome") && notice.present? && notice.end_time > Time.now && notice.start_time >= (Time.now - 21600) && User.current.user_system_notices.where(:notice_type => notice.notice_type).count == 0) %> <% if @noticed_update || ((User.current.certification == 1 || params[:controller] != "welcome") && notice.present? && notice.end_time > Time.now && notice.start_time >= (Time.now - 21600) && User.current.user_system_notices.where(:notice_type => notice.notice_type).count == 0) %>

Loading…
Cancel
Save