2 Star 1 Fork 2

反转旋木/LZM2_demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 5.49 KB
一键复制 编辑 原始数据 按行查看 历史
玩雨 提交于 2023-06-26 16:04 . 更新
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name='full-screen' content='true' />
<meta name='x5-fullscreen' content='true' />
<meta name='360-fullscreen' content='true' />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv='expires' content='0' />
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<style>
#content {
position: absolute;
z-index: -99;
}
#myiframe{
position: absolute;
border: none;
z-index: -99;
}
#btn_close{
position: absolute;
width: 40px;
height: 40px;
z-index: 999;
background: url("gameres/png/chongzhi_close.png");
border-style: none;
}
</style>
</head>
<body bgcolor="#000000" >
<script type="text/javascript" src="js/Base64.min.js"></script>
<script type="text/javascript" src = "https://staticjs.quickapi.net/static/lib/libQuickSDK_v2.js" ></script>
<script type="text/javascript" src="https://file.qsyyx.com/sdk/BRSdk_V5.3.6_20201225.js" ></script>
<script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=1279819144&web_id=1279819144"></script>
<script type="text/javascript"> client_version = null; gm_timefor_socket = -1 </script>
<script type="text/javascript" src="libs/laya.core.js"></script>
<script type="text/javascript" src="libs/laya.webgl.js" ></script>
<script type="text/javascript" src="libs/laya.ani.js" ></script>
<script type="text/javascript" src="libs/laya.filter.js" ></script>
<script type="text/javascript" src="libs/laya.html.js"></script>
<script type="text/javascript" src="libs/laya.particle.js" ></script>
<script type="text/javascript" src="libs/laya.ui.js" ></script>
<script type="text/javascript" src = "libs/laya.pathfinding.js" ></script>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script>
<script src="js/orientation.js"></script>
<script type="text/javascript">
document.write('<script src="js/ui/forapp/layaUI.max.all.js?v='+Math.random()+'"><\/script>');
document.write('<script src="js/Main.js?v='+Math.random()+'"><\/script>');
document.write('<script src="js/jszip.min.js?v=' + Math.random() + '"><\/script>');
document.write('<script src="js/zlib.min.js?v=' + Math.random() + '"><\/script>');
</script>
<!--jsfile--endTag-->
<!-- <div >
<button id="js-fullScreen" style="position: absolute;top:0; left: 0;z-index: 999; opacity: 0.3"> 全屏</button>
<button id="js-cancelFullScreen" style="position: absolute;top:0; left: 50px;z-index: 999; opacity:0.3"> 取消</button>
</div> -->
<div id ="div_cz" style="position: absolute; margin: 0px;height: 344px; width:498px; z-index: 999;">
<iframe width="498" height="344" src="" id="chongzhi" frameborder="0" ></iframe>
<button id="js-closeifr" style=" background: url('gameres/ui/but_close.png'); position: absolute;top:0; left: 452px; height:40px; width:40px;border: none"></button>
</div>
<script type="text/javascript">
window.addEventListener('message',(e)=>{
if(e.data.operation && e.data.operation=='changeRisze'){
changescreen()
}
})
var $div_cz = Laya.Browser.document.getElementById("div_cz");
if( $div_cz ) $div_cz.style.display = "none";
//关闭iframe
var $closeifr = Laya.Browser.document.getElementById("js-closeifr");
if( $closeifr && $div_cz ){
$closeifr.addEventListener("click", function () {
$div_cz.style.display = "none";
}, false);
}
//全屏JS
var $fullScreen = Laya.Browser.document.getElementById("js-fullScreen");
if ($fullScreen)
{
$fullScreen.style.display = "none";
$fullScreen.addEventListener("click", function ()
{
window.addEventListener("resize", changescreen, false);
var docElm = document.documentElement
if (docElm.requestFullscreen){
docElm.requestFullscreen();
}
else if (docElm.msRequestFullscreen) {
docElm.msRequestFullscreen();
}
else if (docElm.mozRequestFullScreen) {
docElm.mozRequestFullScreen();
}
else if (docElm.webkitRequestFullScreen) {
docElm.webkitRequestFullScreen();
}
else{
changescreen();
}
// setTimeout(function(){
// window.removeEventListener("resize", changescreen, false);
// }, 500);
}, false);
}
//退出全屏JS
var $cancelFullScreen = document.getElementById("js-cancelFullScreen");
if ($cancelFullScreen)
{
$cancelFullScreen.style.display = "none";
$cancelFullScreen.addEventListener("click", function ()
{
window.addEventListener("resize", changescreen, false);
var full = document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement;
if (document.exitFullscreen && full) {
document.exitFullscreen();
}
else if (document.msExitFullscreen && full) {
document.msExitFullscreen();
}
else if (document.mozCancelFullScreen && full) {
document.mozCancelFullScreen();
}
else if (document.webkitCancelFullScreen && full) {
document.webkitCancelFullScreen();
}
else{
changescreen();
}
// setTimeout(function(){
// window.removeEventListener("resize", changescreen, false);
// }, 500);
}, false);
}
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/reverse_rotation/LZM2_demo.git
git@gitee.com:reverse_rotation/LZM2_demo.git
reverse_rotation
LZM2_demo
LZM2_demo
main

搜索帮助