Procházet zdrojové kódy

固定sport top 栏

zhejiushizhuce před 2 roky
rodič
revize
b6106603ee

+ 1 - 1
src/layout/Navbar/index.jsx

@@ -571,7 +571,7 @@ const PageHeader = () => {
     const renderDesktop=()=>{
         return (
             <>
-                {renderDesktopInstall()}
+                {/*{renderDesktopInstall()}*/}
                 <DesktopNav/>
             </>
         );

+ 1 - 1
src/styles/_reset.scss

@@ -16,7 +16,7 @@
 }
 
 html, body {
-    overflow-x: hidden;
+    //overflow-x: hidden;
     min-height: 100vh;
 }
 

+ 2 - 1
src/widgets/WSport/index.jsx

@@ -62,6 +62,7 @@ const WSport=({})=>{
         // token=null;
         let token=btToken;
         let betSlipOffsetBottom=isMobile()?70:0;
+        let stickyTop=isMobile()?55:60;
         var bt = new window.BTRenderer().initialize({
             brand_id: brand_id,
             token: token,
@@ -74,7 +75,7 @@ const WSport=({})=>{
             betSlipOffsetRight: 0,
             betSlipOffsetTop: 130,
             betslipZIndex: 100,
-            stickyTop: 0,
+            stickyTop: stickyTop,
             url:sportPath,
             onRouteChange: function() {},
             onLogin: function() {