修改下拉菜单异常问题
This commit is contained in:
@@ -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