未激留言默认收起

This commit is contained in:
daiao 2017-04-01 15:15:41 +08:00
parent 03553fb2eb
commit cecca1a67a
1 changed files with 5 additions and 2 deletions

View File

@ -8,8 +8,8 @@
<li>检查邮箱的“订阅邮件”、“垃圾邮件”,可能会发现激活邮件。 </li>
<li>如果激活邮件已无效,请点击重新发送激活邮件按钮。</li>
<li>如果重发注册验证邮箱邮件仍然没有收到,请<a href="javascript:void(0);" class="link-blue" id="change_email">更换邮箱地址</a>,重新发送激活邮件</li>
<li>如果您始终无法收到激活邮件,请直接给我们留言:</li>
<div class="mt10">
<li>如果您始终无法收到激活邮件,请直接给我们<a href="javascript:void(0);" class="link-blue" id="leave_message">留言</a></li>
<div class="mt10 undis" id="message_box">
<textarea style="resize: none;width: 570px;" class="email_prompt_mes" placeholder="<%= l(:label_email_feedback_tips) %>"></textarea>
<div class="c1"></div>
<button class="email_sub_btn fr" onclick="leave_email_activation_message('<%= leave_email_activation_message_path(1)%>','<%= @user.id %>');">确定</button>
@ -25,6 +25,9 @@
url: "<%= change_user_email_user_path(@user) %>"
});
});
$("#leave_message").click(function(){
$("#message_box").toggle();
})
});
function resendMail(url,id)