askbot-dragon 1.5.28-beta → 1.5.30-beta

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.5.28-beta",
3
+ "version": "1.5.30-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -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);