From de6114ce57eb3c041f2517a495af13af3d559188 Mon Sep 17 00:00:00 2001
From: libai <libai@yazhai.co>
Date: Mon, 16 Jan 2023 15:44:42 +0800
Subject: [PATCH] 测试

---
 mobile/index.html | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/mobile/index.html b/mobile/index.html
index e96cf1c..a950677 100644
--- a/mobile/index.html
+++ b/mobile/index.html
@@ -408,6 +408,7 @@
 
 <script>
 $(function(){
+ 
     var browserLang = navigator.language
     if(browserLang.indexOf("zh")==-1){
         $(".bottom-p-name1").text('Popular')
@@ -528,27 +529,30 @@ $(function(){
     var ua = window.navigator.userAgent.toLowerCase();
     if(sessionStorage.oneLogin==1){
         if (/iphone|ipad|ipod/.test(ua)) {
-            if(sessionStorage.type=="pwa")return;
-            sessionStorage.oneLogin=0
-            layer.open({
-                type: 1,
-                title: false,
-                shadeClose: true,
-                skin: "yourclass5",
-                area: ["7.3rem", "12.24rem"],
-                content: $(".layer-ios"),
-                end: function () {
-                    $(".layui-layer-shade").hide()
-                    layer.closeAll()
-                }
-            })
+            if(sessionStorage.type!="pwa"){
+                sessionStorage.oneLogin=0
+                layer.open({
+                    type: 1,
+                    title: false,
+                    shadeClose: true,
+                    skin: "yourclass5",
+                    area: ["7.3rem", "12.24rem"],
+                    content: $(".layer-ios"),
+                    end: function () {
+                        $(".layui-layer-shade").hide()
+                        layer.closeAll()
+                    }
+                })
+            }
+
         }
     }
-
+ 
     //ios中PWA隱藏約會
     if(sessionStorage.type=="pwa"){
         var ua = window.navigator.userAgent.toLowerCase();
         if (/iphone|ipad|ipod/.test(ua)) {
+          
             $(".bottom-nav >div").eq(2).hide()
             $(".bottom-nav >div").css("width","33.3%")
             $(".bottom-nav p").css("width","3.33rem")
--
libgit2 0.25.0