深圳全飞鸿
标题:
关于Beacon框架WINPOP实现加载Android小界面
[打印本页]
作者:
syant
时间:
2024-11-22 13:29
标题:
关于Beacon框架WINPOP实现加载Android小界面
关于Beacon框架WINPOP实现加载Android小界面
对参数做了特别的设计,参数不加密在base64中,这样方便解析:
var wo = $("#ed_wo").val();
window.parent.location.href = "/a=ewogICAgImFjdGlvbiI6ICJQT1BXSU4iLAogICAgInVybCI6ICJMLnBocC9zZmN3by9rcHF1ZXJ5IiwKICAgICJkYXRhMSI6ICIwLjkiLAogICAgImRhdGEyIjogIjAuOSIKfQ==/" + wo;
复制代码
对应的JSON:
{
"action": "POPWIN",
"url": "L.php/sfcwo/kpquery",
"data1": "0.9",
"data2": "0.9"
}
复制代码
作者:
syant
时间:
2024-11-23 21:06
小界面显示webview的问题:
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
function a2(){
var iframe = document.getElementById('sy');
iframe.style.height = '20%';
}
function a3(){
var iframe = document.getElementById('sy');
iframe.style.height = '30%';
}
function a4(){
var iframe = document.getElementById('sy');
iframe.style.height = '40%';
}
function aa(){
var iframe = document.getElementById('sy');
iframe.style.height = '50%';
}
function bb(){
var iframe = document.getElementById('sy');
iframe.style.height = '60%';
}
function cc(){
var iframe = document.getElementById('sy');
iframe.style.height = '70%';
}
function ee(){
var iframe = document.getElementById('sy');
iframe.style.height = '80%';
}
</script>
<table style="cellspacing:10px;cellpadding:10px"><tr><td>
<input id="bt1" onclick="a2()" value="20%" type='button' /></td><td>
<input id="bt1" onclick="a3()" value="30%" type='button' /></td><td>
<input id="bt1" onclick="a4()" value="40%" type='button' /></td><td>
<input id="bt1" onclick="aa()" value="50%" type='button' /></td><td>
<input id="bt2" onclick="bb()" value="60%" type='button' /></td><td>
<input id="bt1" onclick="cc()" value="70%" type='button' /></td><td>
<input id="bt1" onclick="ee()" value="80%" type='button' /></td></tr></table>
<style>
/* 设置 body 和 html 的高度为 100% */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
/* 设置 iframe 的宽度和高度为 100%,并移除边框 */
iframe {
width: 98.5%;
height: 10%;
border: 2px solid #FF5733; /* 设置边框宽度和颜色 */
}
</style>
<iframe id="sy" src='http://192.168.1.8/pdajp/A.php/scansfc/scanroute'>
</iframe>
复制代码
作者:
syant
时间:
2025-6-9 23:26
关于192.168.1.253/htdocs/pdajp目录
由于捷邦的PDA是模切行业的
所以单独成一个pdajp的目录
模切客户的代码比对该目录
.PHP.
C:\Apache24\htdocs\pdajp\modules\scan
复制代码
欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/)
Powered by Discuz! X3.2