|
@@ -48,7 +48,8 @@
|
|
|
</section>
|
|
|
<section>
|
|
|
<a href="https://m.hhh.com.tw/users">
|
|
|
- <img src="./hhh_index/images/icon/material-people.svg" alt="會員" style="filter: invert(67%) sepia(0%) saturate(0%) hue-rotate(242deg) brightness(91%) contrast(93%);">
|
|
|
+ <img src="./hhh_index/images/icon/material-people.svg" alt="會員"
|
|
|
+ style="filter: invert(67%) sepia(0%) saturate(0%) hue-rotate(242deg) brightness(91%) contrast(93%);">
|
|
|
<h4>會員</h4>
|
|
|
</a>
|
|
|
</section>
|
|
@@ -65,12 +66,12 @@
|
|
|
let footerHeight = $("#footer").height();
|
|
|
let bodyHeight = $("body").height()
|
|
|
// 滑到 footer 區塊隱藏下方選單
|
|
|
- $(window).scroll(function() {
|
|
|
- let height = (bodyHeight - footerHeight)-500;
|
|
|
- if ($(window).scrollTop() >height) {
|
|
|
- $('.mb-menu').css("opacity","0");
|
|
|
+ $(window).scroll(function () {
|
|
|
+ let height = (bodyHeight - footerHeight) - 600;
|
|
|
+ if ($(window).scrollTop() > height) {
|
|
|
+ $('.mb-menu').css("opacity", "0");
|
|
|
} else {
|
|
|
- $('.mb-menu').css("opacity","1");
|
|
|
+ $('.mb-menu').css("opacity", "1");
|
|
|
}
|
|
|
-});
|
|
|
+ });
|
|
|
</script>
|