1 Star 32 Fork 11

xulongchang / 个人简历

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
closetest2.html 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
xulongchang 提交于 2021-03-31 22:34 . 31
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<title>feishu close</title>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="https://s3.bytecdn.cn/ee/lark/js_sdk/h5-js-sdk-1.4.13.js"> </script>
</head>
<body>
<button onclick="closeWindow()">关闭当前页面</button>
<button onclick="closeWindow2()">feishu close</button>
<div id="js-test"></div>
<script type="text/javascript">
function closeWindow (){
try{
$("#js-test").append("<p>success</p>")
window.close();
$("#js-test").append("<p>arter close success</p>")
}catch(e){
$("#js-test").append("<p>close fail</p>")
}
}
function closeWindow2(){
location.href = "feishuclosewindow.html?v=3";
}
</script>
</body>
</html>
1
https://gitee.com/xulongchang/jianli.git
git@gitee.com:xulongchang/jianli.git
xulongchang
jianli
个人简历
master

搜索帮助