修改下拉菜单异常问题
This commit is contained in:
@@ -542,9 +542,7 @@
|
||||
height: 0%;
|
||||
background: #0E0B24;
|
||||
position: fixed;
|
||||
z-index: 4;
|
||||
transition: all .5s;
|
||||
overflow: hidden;
|
||||
transition: all .2s;
|
||||
left: 0;
|
||||
top: 0;
|
||||
overflow: hidden;
|
||||
|
@@ -567,9 +567,8 @@
|
||||
height: 0%;
|
||||
background: #0E0B24;
|
||||
position: fixed;
|
||||
z-index: 4;
|
||||
transition: all .5s;
|
||||
overflow: hidden;
|
||||
// z-index: 4;
|
||||
transition: all .2s;
|
||||
// display: none;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
@@ -181,16 +181,19 @@ $('body .header .diamound, html .header .diamound').click(function () {
|
||||
})
|
||||
// h5展開菜單
|
||||
$('body .header .more, html .header .more').click(function () {
|
||||
$('.menu').css("z-index", "4");
|
||||
$('.menu').css("height", "100%");
|
||||
})
|
||||
// h5收起菜單
|
||||
$('body .h5 .menu .top .close, html .h5 .menu .top .close').click(function () {
|
||||
$('.menu').css("z-index", "1");
|
||||
$('.menu').css("height", "0%");
|
||||
})
|
||||
// 菜單選項按鈕
|
||||
$('body .h5 .menu ul li, html .h5 .menu ul li').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
if (i == 1) {
|
||||
$('.menu').css("z-index", "1");
|
||||
$('.menu').css("height", "0%");
|
||||
$('.pagesBox').css("transform", `translateY(-${0}%)`);
|
||||
index = 0;
|
||||
@@ -237,6 +240,7 @@ $('body .h5 .pagesBox .pages .downioad').click(function () {
|
||||
officialClick(androidSkipType);
|
||||
window.location = url;
|
||||
} else {
|
||||
$('.menu').css("z-index", "1");
|
||||
$('.pagesBox').css("transform", `translateY(-${0}%)`);
|
||||
index = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user