代码拉取完成,页面将自动刷新
同步操作将从 九条米法/H5:换装游戏-DIY属于你的长安印象 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>DIY属于你的长安印象</title>
<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="full-screen" content="true" />
<meta name="screen-orientation" content="portrait" />
<meta name="x5-fullscreen" content="true" />
<meta name="360-fullscreen" content="true" />
<style>
html, body {
-ms-touch-action: none;
background: #E2BC89;
padding: 0;
border: 0;
margin: 0;
height: 100%;
/*background-image: url(./resource/assets/Image/body_bg.png)*/
}
.miva{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border: 15px solid #fff;
background: #fff;
color: #ffffff;
display: block;
text-align: center;
width: 95%;
}
.tip-save {
position: absolute;
top: 480px;
width: 190px;
left: 25%;
pointer-events: none;
}
.over-btn-group{
width: 80px;
position: absolute;
bottom: 30px;
left: 25px;
}
.over-btn-group img{
width: 100%;
margin: 5px 0;
}
</style>
</head>
<body>
<div id="bgColor" style="display: none">0xE2BC89</div>
<div id="divImage" class="miva" style="display:none;z-index:99">
<img src="" alt="" id="shareImage" style="width: 100%;" onclick="isHidden('divImage')">
<img class="tip-save" src="./resource/assets/Image/tip_save.png" alt="">
<div class="over-btn-group">
<img id="miva-replay" src="./resource/assets/Image/btn_replay.png" alt="">
<img id="miva-fenxiang" src="./resource/assets/Image/btn_fenxiang.png" alt="">
</div>
</div>
<script>
function isHidden(doc) {
document.getElementById('#divImage').style.display="none"
}
</script>
<div style="margin: auto;width: 100%;height: 100%;" class="egret-player"
data-entry-class="Main"
data-orientation="portrait"
data-scale-mode="showAll"
data-frame-rate="60"
data-content-width="640"
data-content-height="1136"
data-multi-fingered="2"
data-show-fps="false" data-show-log="false"
data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<script>
var loadScript = function (list, callback) {
var loaded = 0;
var loadNext = function () {
loadSingleScript(list[loaded], function () {
loaded++;
if (loaded >= list.length) {
callback();
}
else {
loadNext();
}
})
};
loadNext();
};
var loadSingleScript = function (src, callback) {
var s = document.createElement('script');
s.async = false;
s.src = src;
s.addEventListener('load', function () {
s.parentNode.removeChild(s);
s.removeEventListener('load', arguments.callee, false);
callback();
}, false);
document.body.appendChild(s);
};
var xhr = new XMLHttpRequest();
xhr.open('GET', './manifest.json?v=' + Math.random(), true);
xhr.addEventListener("load", function () {
var manifest = JSON.parse(xhr.response);
var list = manifest.initial.concat(manifest.game);
loadScript(list, function () {
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret.runEgret({ renderMode: "webgl", audioType: 0, calculateCanvasScaleFactor:function(context) {
var backingStore = context.backingStorePixelRatio ||
context.webkitBackingStorePixelRatio ||
context.mozBackingStorePixelRatio ||
context.msBackingStorePixelRatio ||
context.oBackingStorePixelRatio ||
context.backingStorePixelRatio || 1;
return (window.devicePixelRatio || 1) / backingStore;
}});
});
});
xhr.send(null);
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。