-
Notifications
You must be signed in to change notification settings - Fork 21
/
update.html
61 lines (61 loc) · 1.3 KB
/
update.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>更新</title>
<script src="./js/vue.js"></script>
<script src="./js/index.js"></script>
<link rel="stylesheet" href="./css/index.css">
<style type="text/css">
*{
margin: 0;
padding: 0;
}
.el-progress-bar{
margin: 0 auto;
}
#content-app{
padding-left: 40px;
padding-top: 10px;
padding-right: 40px;
}
.msg-text{
margin: 0 auto;
padding:30px 100px 20px 120px;
}
.load-img{
margin: 0 auto;
}
</style>
</head>
<body onload="onloading();">
<div id="app" style="-webkit-app-region: drag">
<div id="load-img">
<img src="image/loading.gif" v-on:contextmenu="UserImageRight" width="400" height="150" />
</div>
<div id="content-app">
<el-progress :text-inside="true" :stroke-width="20" :percentage="progress"></el-progress>
<p class="msg-text">{{msgText}}</p>
</div>
</div>
<script type="text/javascript">
document.body.parentNode.style.overflow = "hidden";
var app = new Vue({
el:'#app',
data:function(){
return{
/*进度条进度*/
progress:0,
/*提示信息*/
msgText:"正在下载"
}
},
methods:{
UserImageRight:function(event){
event.preventDefault();
}
}
})
</script>
</body>
</html>