SyuanYu 2 роки тому
батько
коміт
a3b73341d9

+ 1 - 1
hhh_index/css/style.css

@@ -886,7 +886,7 @@ body {
 }
 @media (max-width: 991px) {
   .footer h2 {
-    margin: 80px auto 30px;
+    margin: 70px auto 50px;
     font-size: 14px;
   }
 }

+ 1 - 1
hhh_index/css/style.scss

@@ -1081,7 +1081,7 @@ body {
     letter-spacing: 0.05rem;
 
     @media (max-width: 991px) {
-      margin: 80px auto 30px;
+      margin: 70px auto 50px;
       font-size: 14px;
     }
   }

+ 1 - 1
hhh_index/js/index.js

@@ -48,7 +48,7 @@ function hhh_user_api() {
   $.ajax({
     method: "post",
     url: "https://hhh.com.tw/adapter/index?http_method=GET&api_url=/base/v1/member/index",
-    //async: false,
+    // async: false,
     dataType: "json",
   }).done(function (msg) {
     user_data = msg;

+ 10 - 10
hhh_index/template/button.html

@@ -63,15 +63,15 @@
     );
   });
 
-  let footerHeight = $("#footer").height();
-  let bodyHeight = $("body").height()
   // 滑到 footer 區塊隱藏下方選單
-  $(window).scroll(function () {
-    let height = (bodyHeight - footerHeight) - 600;
-    if ($(window).scrollTop() > height) {
-      $('.mb-menu').css("opacity", "0");
-    } else {
-      $('.mb-menu').css("opacity", "1");
-    }
-  });
+  // let footerHeight = $("#footer").height();
+  // let bodyHeight = $("body").height()
+  // $(window).scroll(function () {
+  //   let height = (bodyHeight - footerHeight) - 600;
+  //   if ($(window).scrollTop() > height) {
+  //     $('.mb-menu').css("opacity", "0");
+  //   } else {
+  //     $('.mb-menu').css("opacity", "1");
+  //   }
+  // });
 </script>