uweb/searchurl/homescreen.html
2021-08-06 15:06:31 +08:00

27 lines
1.1 KiB
HTML

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" />
<script>function g(){
let d=document;
let f=d.forms[0];
d.location.href="i:19"; setTimeout(function(){ document.location.href="i:0i/sdcard/uweb/home.css:"+f.b.value+":http://jamesfengcao.gitee.io/uwebzh/searchurl/template/home.css";
},100);
return false;
}
function g2(){
let d=document;
let f=d.forms[1];
d.location.href="i:0i/sdcard/uweb/home6.html:"+f.b.value+":http://jamesfengcao.gitee.io/uwebzh/searchurl/template/refresh.html";
}
</script><style>
input{height:40px;width:100%;border-radius:50px;}
</style>
<title>主屏设置</title></head><body>
<form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
<input name=b placeholder="背景图片网址, 可为配置目录下图像文件名"/><br>
<input type="submit" value="设置主屏">
</form>
<form onsubmit="return g2();" style="margin:5px 0 5px 0;padding:0px">
<input name=b placeholder="第二主屏网址"/><br>
<input type="submit" value="设置第二主屏">
</form>
</body></html>