lxr 1 săptămână în urmă
părinte
comite
d278c6a96e
1 a modificat fișierele cu 11 adăugiri și 13 ștergeri
  1. 11 13
      HBuilderProjects/shareAiConsult.html

+ 11 - 13
HBuilderProjects/shareAiConsult.html

@@ -136,6 +136,7 @@
     .footer__dock {
     .footer__dock {
       position: relative;
       position: relative;
       width: 100%;
       width: 100%;
+      min-height: 44px;
       pointer-events: auto;
       pointer-events: auto;
     }
     }
 
 
@@ -158,6 +159,7 @@
       left: 0;
       left: 0;
       right: 0;
       right: 0;
       top: 0;
       top: 0;
+      z-index: 2;
       width: 100%;
       width: 100%;
       height: 44px;
       height: 44px;
       min-height: 44px;
       min-height: 44px;
@@ -170,7 +172,6 @@
     }
     }
 
 
     body.is-wechat.wx-jssdk-ready #btnContinue {
     body.is-wechat.wx-jssdk-ready #btnContinue {
-      visibility: hidden;
       pointer-events: none;
       pointer-events: none;
     }
     }
 
 
@@ -214,18 +215,16 @@
               padding: 0;
               padding: 0;
               border: none;
               border: none;
               border-radius: 999px;
               border-radius: 999px;
-              background: linear-gradient(90deg, #ffb347 0%, #f47d1f 55%, #ff7849 100%);
-              box-shadow: 0 4px 12px rgba(244, 125, 31, 0.28);
-              color: #fff;
+              background: transparent;
+              color: transparent;
               font-size: 16px;
               font-size: 16px;
-              font-weight: 600;
               line-height: 44px;
               line-height: 44px;
               text-align: center;
               text-align: center;
               cursor: pointer;
               cursor: pointer;
               -webkit-tap-highlight-color: transparent;
               -webkit-tap-highlight-color: transparent;
             }
             }
           </style>
           </style>
-          <button class="wx-open-app-btn">和U宝继续聊 →</button>
+          <button class="wx-open-app-btn" aria-label="和U宝继续聊">打开 App</button>
         </script>
         </script>
       </wx-open-launch-app>
       </wx-open-launch-app>
     </div>
     </div>
@@ -894,13 +893,12 @@
 
 
       function tryOpenApp() {
       function tryOpenApp() {
         if (isWeChatInAppBrowser()) {
         if (isWeChatInAppBrowser()) {
-          if (!weChatJssdkConfigured) {
-            initWeChatOpenLaunchApp(true).then(function (ok) {
-              if (!ok) {
-                showAppOpenFailTip(wxInitLastError || "微信唤起 App 初始化失败");
-              }
-            });
-          }
+          if (weChatJssdkConfigured) return;
+          initWeChatOpenLaunchApp(true).then(function (ok) {
+            if (!ok) {
+              showAppOpenFailTip(wxInitLastError || "微信唤起 App 初始化失败");
+            }
+          });
           return;
           return;
         }
         }
         tryOpenHBuilderAppViaScheme();
         tryOpenHBuilderAppViaScheme();