-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathpreview.html
127 lines (114 loc) · 3.85 KB
/
preview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="cache-control" content="no-transform">
<meta name="viewport" content="width=device-width,user-scalable=yes,initial-scale=0.3,minimum-scale=0.3">
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="shortcut icon" type="image/x-icon" href="./public/favicon.ico">
<title>3D模型可视化编辑器</title>
<meta name="description" content="基于Three.js开发的3d模型可视化编辑器,包括模型材质,场景背景,灯光,辅助线,模型位置,模型辉光,模型材质边缘发光,模型拆分,外部模型上传等功能">
<meta name="keyword"
content="three.js,three,3d模型编辑器,模型编辑,three.js材质,材质,three.js背景图,three.js全景图,背景图,全景图,发光,辉光,模型拆分,辅助线,灯光,平行光,点光源,聚光灯,环境光,灯光辅助线,three.js材质贴图,,模型拖拽, 材质高亮,局部辉光,three.js模型加载">
<style>
#loading-mask {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
width: 100%;
height: 100%;
overflow: hidden;
user-select: none;
background: #ffffff
}
.loading-wrapper {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -100%)
}
.loading-dot {
position: relative;
box-sizing: border-box;
display: inline-block;
width: 64px;
height: 64px;
font-size: 64px;
transform: rotate(45deg);
animation: antRotate 1.2s infinite linear
}
.loading-dot i {
position: absolute;
display: block;
width: 22px;
height: 22px;
background-color: #1890ff;
border-radius: 100%;
opacity: .3;
transform: scale(.75);
transform-origin: 50% 50%;
animation: antSpinMove 1s infinite linear alternate
}
.loading-dot i:first-child {
top: 0;
left: 0
}
.loading-dot i:nth-child(2) {
top: 0;
right: 0;
animation-delay: .4s;
animation-delay: .4s
}
.loading-dot i:nth-child(3) {
right: 0;
bottom: 0;
animation-delay: .8s;
animation-delay: .8s
}
.loading-dot i:nth-child(4) {
bottom: 0;
left: 0;
animation-delay: 1.2s;
animation-delay: 1.2s
}
@keyframes antRotate {
to {
transform: rotate(405deg);
transform: rotate(405deg)
}
}
@keyframes antRotate {
to {
transform: rotate(405deg);
transform: rotate(405deg)
}
}
@keyframes antSpinMove {
to {
opacity: 1
}
}
@keyframes antSpinMove {
to {
opacity: 1
}
}
</style>
<script>var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?606a102b298cb00317d5a96037729e23";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();</script>
</head><noscript></noscript>
<script type="module" src="/src/main.js"></script>
<div id="app">
<div id="loading-mask">
<div class="loading-wrapper">
<span class="loading-dot loading-dot-spin"><i></i><i></i><i></i><i></i></span>
</div>
</div>
</html>