Ver código fonte

fix: 客服缺陷修复

zhangyuhan 4 anos atrás
pai
commit
f2647a492a

+ 3 - 0
src/jfw/modules/app/src/web/templates/me/customer.html

@@ -17,6 +17,9 @@
         .j-header.jy-app-header {
             z-index: 9999999;
         }
+        #zc__sdk__container {
+            padding-top: 21.33333vw !important;
+        }
     </style>
 </head>
 <body>

+ 12 - 8
src/web/templates/big-member/pc/page_index.html

@@ -639,14 +639,18 @@
                 })
             }
 
-            zc('config', {
-                top_bar_flag: 0,
-                auto_expand: true,
-                show_face: 1,
-                async: 1,
-                partnerid: ajaxUserInfo.userId,
-                uname: ajaxUserInfo.nickName,
-                face: ajaxUserInfo.headImage
+            zc("frame_manual", function (res) {
+                console.log("初始化成功")
+                zc('config', {
+                    // custom:true,
+                    auto_expand: false,
+                    show_face: 1,
+                    async: 1,
+                    partnerid: ajaxUserInfo.userId,
+                    uname: ajaxUserInfo.nickName,
+                    face: ajaxUserInfo.headImage
+                })
+                zc("dynamic_ready")
             })
         }).fail(function () {
             console.log('xxx')