forked from xinglie/printer-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-debug.html
More file actions
30 lines (30 loc) · 1.3 KB
/
Copy pathindex-debug.html
File metadata and controls
30 lines (30 loc) · 1.3 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link type="image/x-icon" href="
//img.alicdn.com/tfs/TB1c0Z1q8jTBKNjSZFuXXb0HFXa-200-200.png" rel="shortcut icon">
<title>Loading</title>
<style>@keyframes load{0%{width:0}100%{width:98%}}.outer{background:#e6e6e6;position:fixed;left:50%;top:50%;width:300px;margin:-20px 0 0 -150px;height:2px;}.inner{width:0%;background:#4d7fff;height:100%;animation:load 3s forwards;margin-bottom:-2px;}</style>
</head>
<body>
<div id="app"><div class="outer"><div class="inner"></div></div></div>
<script id="boot" type="text/javascript" src="src/editor.js"></script>
<script>
Designer.init({
getImagesUrl:'apis/images.json',
delImageUrl:'apis/del-image.json',
uploadImagesUrl:'apis/images.json',
getComponentsUrl:'apis/components.json',
getTemplatesUrl:'apis/templates.json',
getContentUrl:'apis/content.json',
saveContentUrl:'apis/content.json',
uploadThumbImageUrl:'apis/images.json',
thumbImageKey:'thumb',
uploadImagesKey:'files[]',
mock:true
});
</script>
</body>
</html>