1 Star 6 Fork 5

OWES/触达云屏-Andriod设备大屏展示客户端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 8.98 KB
一键复制 编辑 原始数据 按行查看 历史
e 提交于 2022-04-25 10:40 . 测试版发布
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<script src="js/mui.min.js"></script>
<script src="js/plus.utils.js"></script>
<script src="res/3rd/jquery/jquery-1.x-git.min.js"></script>
<script src="res/conf/cfg.js"></script>
<script src="res/comm/constant.js"></script>
<script src="js/lib.js"></script>
<link rel="stylesheet" href="res/assets/message/css/message.css">
<script src="res/assets/message/js/message.min.js"></script>
<link type="text/css" rel="stylesheet" href="res/assets/treeSelect/css/metroStyle/metroStyle.css">
<link type="text/css" rel="stylesheet" href="res/assets/treeSelect/css/treeSelectStyle.css">
<script type="text/javascript" src="res/assets/treeSelect/js/jquery.ztree.all.js"></script>
<script type="text/javascript" src="res/assets/treeSelect/treeSelect.2.0.js"></script>
<!-- <link href="css/mui.min.css" rel="stylesheet" /> -->
<link href="css/index.v.css" media="screen" rel="stylesheet" type="text/css" />
<script src="res/comm/comm.request.js"></script>
<script src="res/comm/comm.event.js"></script>
<link href="res/utils/loading.css" media="screen" rel="stylesheet" type="text/css" />
<script src="res/utils/loading.js"></script>
<script src="res/comm/index.base.js"></script>
<script src="res/utils/ApplicationUpdateTool.js"></script>
<script type="text/javascript" charset="utf-8">
mui.init();
</script>
<!--start 横屏注册页-->
<script type="text/html" id="index_h_html">
<div class="regDevice">
<div class="regDevice-left">
<div class="regDevice-leftTop">
<img src="./img/logo.png" alt="">
<div class="regDevice-logoName">
<p class="logoName-zh">
触达云屏
</p>
<p class="logoName-en">
Data Visualization
</p>
</div>
</div>
<div class="copyright">
Copyright©2022触达云(上海)
</div>
</div>
<div class="regDevice-border" id="client_location" style="display: none;">
<form id="verify-form">
<div class="regDevice-form">
<div class="form-title">
服务器设置
</div>
<div class="companyCode">
<span>服务器IP</span>
<div>
<input type="text" name="ip" placeholder="请输入服务器IP">
</div>
</div>
<div class="companyPwd">
<span>服务器端口</span>
<div>
<input type="text" name="port" placeholder="请输入端口">
</div>
</div>
<div class="lastFormField">
<span>连接密码</span>
<div>
<input type="text" name="token" placeholder="请输入连接密码">
</div>
</div>
<div class="btnContainer">
<div class="submitBtn1" onclick="submitSetServerInfo()">
保存
</div>
<div class="submitBtn2" onclick="cancelSetServerInfo()">
取消
</div>
</div>
</div>
</form>
<form id="regdevice_form">
<div class="regDevice-form">
<div class="form-title" id="tenantName"></div>
<div class="plocation">
<p id="name_plocation">
部门
</p>
<div>
<input id="depart" class="select_depart" type="text" name="locationName" placeholder="请选择部门" readonly>
</div>
</div>
<div class="remark">
<p id="remark_location">
位置描述
</p>
<div>
<textarea id="input_remark" name="remark" cols="30" rows="10" placeholder="描述如:会议室、大门口等"></textarea>
</div>
</div>
<div class="submitBtn" id="submitDeviceInfo">
保存
</div>
</div>
</form>
</div>
<div class="version-status">
版本
<span class="version" id="sys_version">
0.0.0
</span>
<br>
状态
<span id="sys_status" id="openSetServerInfo" onclick="showSetServerInfo()">
正在检测状态
</span>
</div>
</div>
</script>
<!--end 横屏注册页-->
<!--start 竖屏注册页-->
<script type="text/html" id="index_v_html">
<div class="regDevice">
<div class="regDevice-leftTop">
<img src="./img/logo.png" alt="">
<div class="regDevice-logoName">
<p class="logoName-zh">
触达云屏
</p>
<p class="logoName-en">
Data Visualization
</p>
</div>
</div>
<div class="regBanner"><img src="./img/registerV.png" alt=""></div>
<div id="client_location" style="display: none;">
<form id="verify-form" class="regForm">
<div class="regDevice-form">
<div class="form-title">
服务器设置
</div>
<div class="companyCode">
<span>服务器IP</span>
<div>
<input type="text" name="ip" placeholder="请输入服务器IP">
</div>
</div>
<div class="companyPwd">
<span>服务器端口</span>
<div>
<input type="text" name="port" placeholder="请输入端口">
</div>
</div>
<div class="lastFormField">
<span>连接密码</span>
<div>
<input type="text" name="token" placeholder="请输入连接密码">
</div>
</div>
<div class="btnContainer">
<div class="submitBtn1" onclick="submitSetServerInfo()">
保存
</div>
<div class="submitBtn2" onclick="cancelSetServerInfo()">
取消
</div>
</div>
<!-- <div class="saveBtn" onclick="submitVerifyInfo()">
提交
</div> -->
</div>
</form>
<form class="regForm" id="regdevice_form">
<div class="form-title" id="tenantName"></div>
<div class="plocation">
<p id="name_plocation">部门</p>
<div>
<input id="depart" class="select_depart" type="text" name="locationName" placeholder="请选择部门" readonly>
</div>
</div>
<!-- <div class="clocation">
<span id="name_clocation">工区</span>
<div><select id="select_clocation" name="clocation">
</select></div>
</div> -->
<div class="remark">
<p id="remark_location">位置描述</p>
<div><textarea id="input_remark" name="remark" cols="30" rows="10" placeholder="描述如:会议室、大门口等"></textarea></div>
</div>
<div class="saveBtn" id="submitDeviceInfo">保存</div>
</form>
</div>
<div class="version-status">版本<span class="version" id="sys_version">0.0.0 </span>
<br>状态<span class="status" id="sys_status" onclick="showSetServerInfo()">正在检测状态</span>
</div>
<div class="copyright">Copyright©2022触达云(上海)</div>
</div>
</script>
<!--end 竖屏注册页-->
</head>
<body>
<div id="content_html"></div>
</body>
<script type="text/javascript">
Qmsg.config({
html:true,
position:'right'
})
var dynamicLoading = {
css: function(path){
if(!path || path.length === 0){
throw new Error('argument "path" is required !');
}
var head = document.getElementsByTagName('head')[0];
var link = document.createElement('link');
link.href = path;
link.rel = 'stylesheet';
link.type = 'text/css';
head.appendChild(link);
},
js: function(path){
if(!path || path.length === 0){
throw new Error('argument "path" is required !');
}
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.src = path;
script.type = 'text/javascript';
head.appendChild(script);
}
}
function loadIndexPage(){
//alert(VisualConst.getScreenType());
if ('v'==VisualConst.getScreenType()) {
//竖屏
dynamicLoading.css("index.v.css");
document.getElementById("content_html").innerHTML = document.getElementById("index_v_html").innerHTML;
//document.getElementsByTagName('html').style.fontSize = 16+'px
var bw = (document.documentElement.clientHeight / 9.6) + 'px'
var htmlTag = document.getElementsByTagName('html')[0];
htmlTag.style.fontSize = bw;
}else if ('h'==VisualConst.getScreenType()){
//横屏
dynamicLoading.css("index.h.css");
document.getElementById("content_html").innerHTML = document.getElementById("index_h_html").innerHTML;
var bw = (document.documentElement.clientWidth / 6.4) + 'px'
var htmlTag = document.getElementsByTagName('html')[0]
htmlTag.style.fontSize = bw
}
}
window.addEventListener("orientationchange", function() {
// loadIndexPage();
window.location.reload();
}, false);
</script>
<!-- 组件js,和业务不相关的 -->
<script src="res/3rd/tio/tiows.js"></script>
<!-- 和业务相关的js,业务需要修改 -->
<script src="res/comm/pushInit.js"></script>
<script src="res/comm/index.js"></script>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/h5app/chudy_visual_andriod.git
git@gitee.com:h5app/chudy_visual_andriod.git
h5app
chudy_visual_andriod
触达云屏-Andriod设备大屏展示客户端
master

搜索帮助