askbot-dragon 1.5.21-beta → 1.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -180,6 +180,16 @@ export default {
|
|
|
180
180
|
}
|
|
181
181
|
})
|
|
182
182
|
}
|
|
183
|
+
},
|
|
184
|
+
mounted() {
|
|
185
|
+
setTimeout(() =>{
|
|
186
|
+
let previewIframe = document.getElementsByClassName('preview_iframe')
|
|
187
|
+
Array.from(previewIframe).forEach(item =>{
|
|
188
|
+
item.onload = () =>{
|
|
189
|
+
item.style.backgroundImage = `url('')`
|
|
190
|
+
}
|
|
191
|
+
})
|
|
192
|
+
})
|
|
183
193
|
}
|
|
184
194
|
}
|
|
185
195
|
</script>
|
|
@@ -193,6 +203,10 @@ export default {
|
|
|
193
203
|
width: 100%;
|
|
194
204
|
height: calc(100% - 65px);
|
|
195
205
|
overflow-y: scroll;
|
|
206
|
+
background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
|
|
207
|
+
background-position: center;
|
|
208
|
+
background-size: 50px;
|
|
209
|
+
background-repeat: no-repeat;
|
|
196
210
|
}
|
|
197
211
|
.footer {
|
|
198
212
|
width: calc(100% - 40px);
|
|
@@ -200,6 +200,10 @@ export default {
|
|
|
200
200
|
width: 100%;
|
|
201
201
|
height: calc(100% - 60px);
|
|
202
202
|
box-sizing: border-box;
|
|
203
|
+
background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
|
|
204
|
+
background-position: center;
|
|
205
|
+
background-size: 50px;
|
|
206
|
+
background-repeat: no-repeat;
|
|
203
207
|
}
|
|
204
208
|
.preview_iframe_html{
|
|
205
209
|
width: 100%;
|
|
@@ -278,6 +282,10 @@ export default {
|
|
|
278
282
|
overflow: auto;
|
|
279
283
|
height: calc(100% - 50px);
|
|
280
284
|
background: #FFF;
|
|
285
|
+
background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
|
|
286
|
+
background-position: center;
|
|
287
|
+
background-size: 50px;
|
|
288
|
+
background-repeat: no-repeat;
|
|
281
289
|
}
|
|
282
290
|
}
|
|
283
291
|
@media screen and (min-width: 768px) {
|