Browse Source

fix:连接失败卡加载不展示背景

lihao 1 year ago
parent
commit
0efb3282cc
2 changed files with 8 additions and 4 deletions
  1. 4 2
      static/screenIos/WXtrialInterface.html
  2. 4 2
      static/webRtcYJ/WXtrialInterface.html

+ 4 - 2
static/screenIos/WXtrialInterface.html

@@ -362,6 +362,7 @@
       $('#dormant').css({ display: 'block' })
       $('#dormant').css({ display: 'block' })
     }
     }
 
 
+    /*
     if (mealType === 'VIP') {
     if (mealType === 'VIP') {
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
     } else if (mealType === 'SVIP') {
     } else if (mealType === 'SVIP') {
@@ -371,6 +372,7 @@
     } else if (mealType === 'STARPRO') {
     } else if (mealType === 'STARPRO') {
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
     }
     }
+    */
     $('#wine').css({
     $('#wine').css({
       width: window.screen.width,
       width: window.screen.width,
       height: window.screen.height - topwinHeight - 20,
       height: window.screen.height - topwinHeight - 20,
@@ -1378,7 +1380,7 @@
     // 获取云机剩余时长
     // 获取云机剩余时长
     function getResidueTime() {
     function getResidueTime() {
       clearInterval(residueTimer);
       clearInterval(residueTimer);
-      if (userCardType !== 1) {
+      if (![1,2,3].includes(userCardType)) {
         return
         return
       }
       }
       return $.ajax({
       return $.ajax({
@@ -1410,7 +1412,7 @@
 
 
     // 客户端成功进入云手机后调用
     // 客户端成功进入云手机后调用
     function startTime() {
     function startTime() {
-      if (userCardType !== 1) {
+      if (![1,2,3].includes(userCardType)) {
         return
         return
       }
       }
       return $.ajax({
       return $.ajax({

+ 4 - 2
static/webRtcYJ/WXtrialInterface.html

@@ -471,6 +471,7 @@
         $('#dormant').css({ display: 'block' });
         $('#dormant').css({ display: 'block' });
       }
       }
 
 
+      /*
       if (mealType === 'VIP') {
       if (mealType === 'VIP') {
         $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
         $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
       } else if (mealType === 'SVIP') {
       } else if (mealType === 'SVIP') {
@@ -480,6 +481,7 @@
       } else if (mealType === 'STARPRO') {
       } else if (mealType === 'STARPRO') {
         $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
         $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
       }
       }
+      */
       $('#wine').css({
       $('#wine').css({
         width: window.screen.width,
         width: window.screen.width,
         height: window.screen.height - topwinHeight - 20,
         height: window.screen.height - topwinHeight - 20,
@@ -1574,7 +1576,7 @@
       // 获取云机剩余时长
       // 获取云机剩余时长
       function getResidueTime() {
       function getResidueTime() {
         clearInterval(residueTimer);
         clearInterval(residueTimer);
-        if (userCardType !== 1) {
+        if (![1,2,3].includes(userCardType)) {
           return;
           return;
         }
         }
         return $.ajax({
         return $.ajax({
@@ -1608,7 +1610,7 @@
 
 
       // 客户端成功进入云手机后调用
       // 客户端成功进入云手机后调用
       function startTime() {
       function startTime() {
-        if (userCardType !== 1) {
+        if (![1,2,3].includes(userCardType)) {
           return;
           return;
         }
         }
         return $.ajax({
         return $.ajax({