window close

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

View File

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