-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
133 lines (113 loc) · 3.11 KB
/
index.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
128
129
130
131
132
133
<html>
<head> </head>
<body>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
#dad {
display: flex;
height: calc(100% - 250px);
width: 100%;
margin: 0;
padding: 0;
}
#left {
display: flex;
height: 100%;
background: brown;
width: 20%;
flex-direction: column;
}
#middle {
display: flex;
height: calc(100% - 360px);
width: 100%;
}
#right {
display: flex;
height: 100%;
background: cornsilk;
width: 100%;
margin-left: auto;
}
.toolbar {
width: calc(100% - 6px);
height: 30px;
background: #252526;
box-shadow: #111111 0px 2px 0px 0px;
border: 1px solid black;
color: aliceblue;
align-items: center;
display: flex;
padding-left: 4px;
}
</style>
<!-- <div id="toolbar" style="width: 100%;height: 30px;background: #252526;box-shadow:darkgrey 2px 2px 2px 2px;border-bottom:1px solid black"></div>
<div id="dad">
<div id="left">
<div class="toolbar">控件</div>
</div>
<div style="display: flex;height: 100%;width: calc(80% - 100px); flex-direction: column">
<div class="toolbar" style="">拖放区</div>
<div id="middle" ondragover="allowDrop(event)" style="position:relative;left: 0%;top: 0%"></div>
<div class="toolbar">即时渲染</div>
<div id="runTime" style="width:100%;height:300px;background:#1e1e1e;overflow:scroll"></div>
</div>
<div style="width: 25%;height: 100%;">
<div class="toolbar">属性</div>
<div id="right">
</div>
</div>
</div>
<div style="width:100%;height:200px;display: flex;background:#252526">
<div style="width:30%;height: 100%">
<div class="toolbar">文件夹</div>
<div id="File" style="width:100%;height: calc( 100% - 32px);background: 1e1e1e;overflow-y: scroll;">
</div>
</div>
<div style="width:40%;height: 100%;">
<div class="toolbar">文件</div>
<div id="file2" style="width:100%;height: calc( 100% - 32px);overflow-y: scroll;background: 1e1e1e">
</div>
</div>
<div style=" width:30%;height: 100%;">
<div class="toolbar">输出</div>
<div style="width:100%;height: calc( 100% - 32px);overflow-y: scroll;display: flex;flex-direction: column;color: aliceblue"
id="log">
</div>
</div>
</div>
<div style="height:20px;width:100%;background:#007acc "></div> -->
<div id="middle" style="padding:0;margin: 0;height: 100%;width:100%"></div>
<script>
function allowDrop(ev) {
ev.preventDefault();
}
function drop(ev) {
ev.preventDefault();
var data = ev.dataTransfer.getData("Text");
ev.target.appendChild(document.getElementById(data));
}
</script>
<script>
document.write(
'<script type="text/javascript" src="./build/dist/webpack.assets.js?v=' +
Math.random() +
'"><\/script>'
);
</script>
<script>
document.write(
'<script src="./build/dist/' +
window.WEBPACK_ASSETS["index"].js +
'"><\/script>'
);
</script>
<script type="text/javascript" src="./colorPicker-master/color.all.min.js"></script>
<script type="text/javascript" src="./colorPicker-master/javascript_implementation/jsColor.js"></script>
</body>
<!DOCTYPE html>
</html>