You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
3.6 KiB
HTML
147 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>PRPS播放工具</title>
|
|
<script src="./public/js/FileSaver.min.js"></script>
|
|
<script src="./public/js/jquery.min.js"></script>
|
|
<script type="module" src="./public/js/Long.js"></script>
|
|
<script type="module" src="./public/js/byteConvert.js"></script>
|
|
<script src="./public/js/lodash.js"></script>
|
|
<script type="text/javascript" src="./public/js/three/three.min.js"></script>
|
|
<script type="text/javascript" src="./public/js/three/BufferGeometryUtils.js"></script>
|
|
<script type="text/javascript" src="./public/js/three/OrbitControls.js"></script>
|
|
<script type="text/javascript" src="./public/js/three/Lut.js"></script>
|
|
<style>
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
html {
|
|
|
|
|
|
|
|
background-color: #000d13;
|
|
color: #fff;
|
|
}
|
|
|
|
.h30 {
|
|
height: 30px;
|
|
}
|
|
|
|
.box {
|
|
width: 600px;
|
|
height: 400px;
|
|
display: inline-block
|
|
}
|
|
|
|
.check {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 3px;
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 1px solid #c1c1c1;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.active {
|
|
background-color: rgb(64, 158, 255);
|
|
border: none;
|
|
}
|
|
|
|
.parent-box {
|
|
width: 600px;
|
|
height: 400px;
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
#all_chart {
|
|
height: 100vh;
|
|
}
|
|
|
|
#box3D {
|
|
display: inline-block;
|
|
width: 49vw;
|
|
height: calc(100% - 23px);
|
|
}
|
|
|
|
#box2D {
|
|
display: inline-block;
|
|
width: 49vw;
|
|
height: calc(100% - 23px);
|
|
}
|
|
|
|
#fileModal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
padding: 20px;
|
|
background-color: #fff;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
background-color: #000d13;
|
|
max-height: 80vh;
|
|
/* 设置最大高度为80%视窗高度 */
|
|
overflow-y: auto;
|
|
/* 启用垂直滚动条 */
|
|
|
|
}
|
|
|
|
#fileList {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#fileList li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* 滚动条样式定制 */
|
|
#fileModal::-webkit-scrollbar {
|
|
width: 12px;
|
|
}
|
|
|
|
#fileModal::-webkit-scrollbar-thumb {
|
|
background-color: #000d13;
|
|
border-radius: 6px;
|
|
border: 1px solid #888;
|
|
}
|
|
|
|
#fileModal::-webkit-scrollbar-track {
|
|
background-color: #000d13;
|
|
border-radius: 6px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div>
|
|
<label for="phase">周期:</label>
|
|
<select id="phase">
|
|
<option value="128" selected>128</option>
|
|
<option value="100">100</option>
|
|
</select>
|
|
<input type="file" id="folderInput" webkitdirectory directory multiple />
|
|
<button id="openModal">显示/隐藏文件列表</button>
|
|
|
|
<div id="fileModal">
|
|
<!-- <button id="closeModal">关闭</button> -->
|
|
<ul id="fileList"></ul>
|
|
</div>
|
|
<div id="all_chart">
|
|
<div id="box3D"></div>
|
|
<div id="box2D"></div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="./public/js/index.js">
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html> |