Ver Fonte

修修改bug

lxr há 1 semana atrás
pai
commit
186ff04396
1 ficheiros alterados com 9 adições e 16 exclusões
  1. 9 16
      HBuilderProjects/shareAiConsult.html

+ 9 - 16
HBuilderProjects/shareAiConsult.html

@@ -171,6 +171,7 @@
     }
 
     .footer__btn-slot {
+      position: relative;
       width: 50%;
       height: 48px;
       margin: 0 auto;
@@ -203,11 +204,15 @@
 
     #launch-btn {
       display: none;
+      position: absolute;
+      left: 0;
+      top: 0;
       width: 100%;
       height: 48px;
       min-height: 48px;
       border-radius: 999px;
       overflow: hidden;
+      z-index: 2;
     }
 
     body.is-wechat.wx-jssdk-ready #launch-btn {
@@ -216,7 +221,7 @@
     }
 
     body.is-wechat.wx-jssdk-ready #btnContinue {
-      display: none !important;
+      pointer-events: none;
     }
 
     #openAppToast {
@@ -255,31 +260,19 @@
           <script type="text/wxtag-template">
             <style>
               .wx-open-app-btn {
-                display: flex;
-                align-items: center;
-                justify-content: center;
+                display: block;
                 width: 100%;
                 height: 48px;
                 margin: 0;
                 padding: 0;
                 border: none;
                 border-radius: 999px;
-                background: linear-gradient(90deg, #ffb84c 0%, #ff6b3e 100%);
-                box-shadow: 0 4px 16px rgba(255, 107, 62, 0.32);
+                background: transparent;
                 cursor: pointer;
                 -webkit-tap-highlight-color: transparent;
               }
-              .continue-btn__label {
-                display: block;
-                height: 20px;
-                width: auto;
-                max-width: 90%;
-                pointer-events: none;
-              }
             </style>
-            <button class="wx-open-app-btn" aria-label="和U宝继续聊">
-              <img class="continue-btn__label" src="https://test.ailien.shop/h5/HBuilderProjects/images/uCharts.png" alt="和U宝继续聊" decoding="async">
-            </button>
+            <button class="wx-open-app-btn" aria-label="和U宝继续聊"></button>
           </script>
         </wx-open-launch-app>
       </div>