|
@@ -1,6 +1,7 @@
|
|
|
<style src="../../styles/main.css"></style>
|
|
|
<template>
|
|
|
<div>
|
|
|
+ <div class="bg"></div>
|
|
|
<div v-if="!isLoaded" ref="loading_a1" id="loading_a1"></div>
|
|
|
<div v-if="!isLoaded" ref="loading" id="loading">正在进入系统中...</div>
|
|
|
<div v-if="reconnect" class="reconnect">网络连接中断,正在进行重连...</div>
|
|
@@ -240,7 +241,8 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
//模型加载中监听处理
|
|
|
- Native.Model.EventProgress.connect(function(v,hander,name){
|
|
|
+ Native.Model.EventProgress.connect(function(v,hander,name){
|
|
|
+ console.log(new Date().getTime()," ",name,":",v)
|
|
|
//当进度大于0.99时,交由EventProgressEnd监听处理
|
|
|
if(window.CurrentTargetType!=name || v>0.99 ||v<1) return;
|
|
|
loadProgressValue.value = (v*100).toFixed(0);
|
|
@@ -476,4 +478,13 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
+.bg{
|
|
|
+ z-index: -1; pointer-events: none;position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border: 0px solid #17666e;
|
|
|
+ background:url('../../assets/image/bg.png');
|
|
|
+}
|
|
|
</style>
|