Explorar o código

调整ai框宽度

wangtao hai 22 horas
pai
achega
0254650ed1
Modificáronse 2 ficheiros con 8 adicións e 6 borrados
  1. 6 6
      src/assets/styles/common/style.css
  2. 2 0
      src/components/layout/feedFix.vue

+ 6 - 6
src/assets/styles/common/style.css

@@ -6645,8 +6645,8 @@
                 width:200px;
                 width:200px;
                 height:40px;
                 height:40px;
                 position: absolute;
                 position: absolute;
-                left:-505px;
-                bottom:-215px;
+                left:-405px;
+                bottom:-170px;
                 background: #fff;
                 background: #fff;
                 /* display: none; */
                 /* display: none; */
             }
             }
@@ -6655,16 +6655,16 @@
                 margin:10px auto;
                 margin:10px auto;
             }
             }
             .feedBackBox .contactAi .content {
             .feedBackBox .contactAi .content {
-                width: 500px;
-                height:500px;
-                padding:10px;
+                width: 400px;
+                height:400px;
+                padding:8px;
                 border-radius: 20px;
                 border-radius: 20px;
                 background: #fff;
                 background: #fff;
                 box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2); 
                 box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2); 
                 /* display: none; */
                 /* display: none; */
                 position: absolute;
                 position: absolute;
                 right: 58px;
                 right: 58px;
-                bottom: -230px
+                bottom: -180px
             }
             }
             /* .feedBackBox .contactAi:hover div {
             /* .feedBackBox .contactAi:hover div {
                 display: block
                 display: block

+ 2 - 0
src/components/layout/feedFix.vue

@@ -70,6 +70,8 @@ function closeAi(){
             style="width: 100%; height: 100%; "
             style="width: 100%; height: 100%; "
             frameborder="0"
             frameborder="0"
             id="aiIframe"
             id="aiIframe"
+            loading="lazy"
+            title="加载中..."
             allow="microphone">
             allow="microphone">
             </iframe>
             </iframe>
         </div>
         </div>