You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
V3D-nodejs/views/share.html

120 lines
3.9 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>3D MODELS SYSTEM - SHARE</title>
<!-- jquery -->
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<!-- three.js -->
<script src="/js/three/three.js"></script>
<script src="/js/three/OrbitControls.js"></script>
<!-- 加载器 -->
<script src="/js/three/OBJLoader.js"></script>
<script src="/js/three/FBXLoader.js"></script>
<script src="/js/three/TGALoader.js"></script>
<script src='/js/three/inflate.min.js'></script>
<!-- ZUI -->
<link rel="stylesheet" href="https://cdn.bootcss.com/zui/1.8.1/css/zui.min.css">
<script src="https://cdn.bootcss.com/zui/1.8.1/js/zui.min.js"></script>
<!-- Swiper -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.0/css/swiper.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.0/js/swiper.js"></script>
<style>
* {
margin: 0px;
padding: 0px;
}
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
}
#viewField {
z-index: 0;
position: absolute;
width: 100%;
height: 100%;
}
#ui {
z-index: 1;
position: absolute;
width: 100%;
height: 100%;
pointer-events:none;
}
</style>
</head>
<body>
<!-- ui -->
<div id="ui" style="display:none;">
<div style="width: 100%; position: absolute; top: 0px;" class="row">
<div class="col-xs-4 col-md-2" style="pointer-events:auto;">
<div class="card" style="background-color: beige; height:60px; margin:5px; padding:5px;">
<div class="swiper-container" id="swiperComponent">
<div class="swiper-wrapper" id="componentList">
</div>
</div>
</div>
</div>
</div>
<div style="width: 100%; height: 20%; position: absolute; bottom: 0px;pointer-events:auto;" class="row">
<div class="col-xs-12 col-md-6">
<div style="margin:5px; padding:5px;height: 100px;">
<div class="swiper-container" id="swiperModel">
<div class="swiper-wrapper">
</div>
</div>
<hr />
<div class="swiper-container" id="swiperTexture">
<div class="swiper-wrapper">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- threejs容器 -->
<div id="viewField">
</div>
<!-- 模态框:访问密码 -->
<div class="modal fade" id="visitPasswordModal">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
class="sr-only">关闭</span></button>
<h4 class="modal-title">访问密码</h4>
</div>
<div class="modal-body">
<input type="password" class="form-control" id="visitPassword" placeholder="请输入访问密码">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
<button type="button" class="btn btn-primary" id="visitBtn">确定</button>
</div>
</div>
</div>
</div>
<script src="/js/share.js"></script>
</body>
</html>