Bläddra i källkod

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

lihao 1 år sedan
förälder
incheckning
0efb3282cc
2 ändrade filer med 8 tillägg och 4 borttagningar
  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' })
     }
 
+    /*
     if (mealType === 'VIP') {
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
     } else if (mealType === 'SVIP') {
@@ -371,6 +372,7 @@
     } else if (mealType === 'STARPRO') {
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
     }
+    */
     $('#wine').css({
       width: window.screen.width,
       height: window.screen.height - topwinHeight - 20,
@@ -1378,7 +1380,7 @@
     // 获取云机剩余时长
     function getResidueTime() {
       clearInterval(residueTimer);
-      if (userCardType !== 1) {
+      if (![1,2,3].includes(userCardType)) {
         return
       }
       return $.ajax({
@@ -1410,7 +1412,7 @@
 
     // 客户端成功进入云手机后调用
     function startTime() {
-      if (userCardType !== 1) {
+      if (![1,2,3].includes(userCardType)) {
         return
       }
       return $.ajax({

+ 4 - 2
static/webRtcYJ/WXtrialInterface.html

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