lihao 1 år sedan
förälder
incheckning
499b3ee6ad
1 ändrade filer med 4 tillägg och 5 borttagningar
  1. 4 5
      static/screenIos/WXtrialInterface.html

+ 4 - 5
static/screenIos/WXtrialInterface.html

@@ -362,7 +362,7 @@
     if ([1,2,3].includes(userCardType)) {
       $('#dormant').css({ display: 'block' })
     }
-
+    
     /*
     if (mealType === 'VIP') {
       $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
@@ -455,7 +455,9 @@
             height: request.result.height,
             dpi: request.result.dpi,
           };
-
+          if(connectStatus==1) {
+            getResidueTime();
+          }
           doConnectBusiness();
           doConnectDirectives();
         } else {
@@ -1198,9 +1200,6 @@
         sendHeartbeat()
       },5000)
       */
-      if(connectStatus==1) {
-        getResidueTime();
-      }
       webSocketWorker.onmessage = function (event) {
         var input = event.data;
         if (input[0] == 0xff && isAudioPlay) {