window close

This commit is contained in:
guange 2016-05-27 22:22:09 +08:00
parent be94d445a9
commit 63b9aaefe2
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
<% if @wechat_user %>
<script type="text/javascript">
function close(){
window.close();
}
</script>
<div class="page">
<div class="weui_msg">
<div class="weui_icon_area"><i class="weui_icon_success weui_icon_msg"></i></div>
@ -9,7 +15,7 @@
</div>
<div class="weui_opr_area">
<p class="weui_btn_area">
<a href="javascript:window.close();" class="weui_btn weui_btn_primary">确定</a>
<a href="javascript:close();" class="weui_btn weui_btn_primary">确定</a>
</p>
</div>