发布v2.5.9版本

This commit is contained in:
雨中磐石
2023-07-12 16:27:03 +08:00
parent 17e1d6ed22
commit 983cd0d3ea
29 changed files with 551 additions and 118 deletions

View File

@@ -25,6 +25,15 @@ function initbody(){
var da = ret.data;
$('#msgview').html('跳转中...');
sessionStorage.setItem(kei,'trueabc');
if(apicloud && api.x5Ver && api.x5Ver>0){
api.rockFun('openWinnei',{
url:da.url,
progress:'true',
animtype:'show'
});
api.closeWin({animtype:'hide'});
return;
}
js.location(da.url);
}else{
$('#msgview').html('<font color=red>'+ret.msg+'</font>');

View File

@@ -30,6 +30,27 @@
<script>
DEFAULT_URL = jm.base64decode('<?=$da['filepath']?>');
var openbool = false;
var url = location.href
var lse = url.lastIndexOf('/');
NOWURL = url.substr(0, lse+1);
apiready=function(){
if(openbool || !api.rockFun)return;
var x5ver = api.x5Ver;
if(x5ver && x5ver>0){
var pdfurl = NOWURL+DEFAULT_URL;
api.rockFun('openPdf', {
fileurl:pdfurl,
filename:'<?=$da['filename']?>',
animtype:'show',
opentyle:'x5'
});
api.closeWin({animtype:'hide'});
}
openbool = true;
}
/*
const hammertime = new Hammer(document);
hammertime.get('pinch').set({ enable: true });