-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.html
207 lines (193 loc) · 4.86 KB
/
error.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache" content="no-cache">
<title>首页</title>
<link href="css/mui.css" rel="stylesheet" />
<style>
.mui-bar-tab .mui-tab-item{
opacity: 0.6;
-webkit-touch-callout:none;/*系统默认菜单被禁用*/
-webkit-user-select:none;/*webkit浏览器*/
-khtml-user-select:none;/*早期浏览器*/
-moz-user-select:none;/*火狐浏览器*/
-ms-user-select:none;/*IE浏览器*/
user-select:none;/*用户是否能够选中文本*/
}
.mui-bar-tab .mui-tab-item.mui-active {
color: #1b8ae0 !important;
opacity: 1;
}
.dui-tab-bar {
z-index: 9999;
background: white;
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.2);
bottom: 0px;
transition: bottom 618ms;
}
.dui-tab-bar.loaded{
bottom: 0px;
}
.message-unread {
display: none;
}
.has-unread .message-unread {
display: block;
}
.mui-tab-item img{
position: relative;
top: 6px;
width: 24px;
height: 24px;
padding-top: 0;
padding-bottom: 0;
}
.mui-tab-item .on-active{
display: none;
}
.mui-tab-item.mui-active .on-active{
display: initial;
}
.mui-tab-item.mui-active .on-un-active{
display: none;
}
.mui-tab-label {
font-size: 12px;
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
.loading-indicator.light .loader-dot {
background-color: #fff
}
.loading-indicator .loader-dot:nth-child(1) {
-webkit-animation-delay: -.32s;
-moz-animation-delay: -.32s;
-ms-animation-delay: -.32s;
-o-animation-delay: -.32s;
animation-delay: -.32s
}
.loading-indicator .loader-dot:nth-child(2) {
-webkit-animation-delay: -.16s;
-moz-animation-delay: -.16s;
-ms-animation-delay: -.16s;
-o-animation-delay: -.16s;
animation-delay: -.16s
}
@-webkit-keyframes bouncedelay {
0%,
100%,
80% {
-webkit-transform: scale(0)
}
40% {
-webkit-transform: scale(1)
}
}
@-moz-keyframes bouncedelay {
0%,
100%,
80% {
-moz-transform: scale(0)
}
40% {
-moz-transform: scale(1)
}
}
@-ms-keyframes bouncedelay {
0%,
100%,
80% {
-ms-transform: scale(0)
}
40% {
-ms-transform: scale(1)
}
}
@-o-keyframes bouncedelay {
0%,
100%,
80% {
-o-transform: scale(0)
}
40% {
-o-transform: scale(1)
}
}
@keyframes bouncedelay {
0%,
100%,
80% {
transform: scale(0)
}
40% {
transform: scale(1)
}
}
.loading-indicator {
margin: 10px auto;
width: 70px;
text-align: center;
z-index: 9999
}
.loading-indicator .loader-dot {
display: inline-block;
width: 16px;
height: 16px;
background-color: #1b8ae0;
-webkit-border-radius: 100%;
-moz-border-radius: 100%;
border-radius: 100%;
-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
-moz-animation: bouncedelay 1.4s infinite ease-in-out;
-ms-animation: bouncedelay 1.4s infinite ease-in-out;
-o-animation: bouncedelay 1.4s infinite ease-in-out;
animation: bouncedelay 1.4s infinite ease-in-out;
-webkit-animation-fill-mode: both;
-moz-animation-fill-mode: both;
-ms-animation-fill-mode: both;
-o-animation-fill-mode: both;
animation-fill-mode: both
}
.hide {
display: none;
}
.tip {
text-align: center;
font-size: 14px;
}
.error {
font-size: 9px;
color: #2c5a7d9c;
}
</style>
</head>
<body>
<div class="ui-loading-view">
<div class="loading-tip" style="padding-top:200px">
<div class="normal-loading" id="loading-tip">
<div class="loading-indicator" style="margin-top: 10%;"><span class="loader-dot"></span><span class="loader-dot"></span><span class="loader-dot"></span></div>
</div>
<div class="tip">出错啦</div>
<div class="error tip hide" id="url-tip"></div>
<div class="error tip">如长时间无法显示,请手动重启App</div>
<div class="error tip hide" id="local-tip">
当前模式为开发/测试模式,点击按钮可重置
<br />
<button onclick="restart()">重启</button>
<button onclick="resetDefault()">重置</button>
</div>
<div id="downloading" class="download-loading hide">
<div class="tip" id="tip">正在更新数据 <span id="download-percent" class="update-state">0.0%</span></div>
</div>
</div>
</div>
</body>
<script src="js/build/vendor.bundle.js?v=home"></script>
<script src="js/build/error.js"></script>
</html>