优化许愿之星刷新问题
This commit is contained in:
@@ -108,11 +108,11 @@ body {
|
||||
}
|
||||
|
||||
.page1 .update {
|
||||
width: 0.86667rem;
|
||||
height: 0.86667rem;
|
||||
position: fixed;
|
||||
right: 0.45rem;
|
||||
bottom: 0.45rem;
|
||||
width: 1.06667rem;
|
||||
height: 1.06667rem;
|
||||
position: absolute;
|
||||
right: 0.7rem;
|
||||
bottom: 10rem;
|
||||
}
|
||||
|
||||
.page1 .top {
|
||||
|
@@ -115,11 +115,14 @@ body {
|
||||
overflow: hidden;
|
||||
|
||||
.update {
|
||||
width: px2rem(65);
|
||||
height: px2rem(65);
|
||||
position: fixed;
|
||||
right: 0.45rem;
|
||||
bottom: 0.45rem;
|
||||
width: px2rem(80);
|
||||
height: px2rem(80);
|
||||
position: absolute;
|
||||
right: 0.7rem;
|
||||
bottom: 10rem;
|
||||
// border: px2rem(3) solid rgb(230, 101, 16);
|
||||
// border-radius: px2rem(25);
|
||||
// box-sizing: border-box;
|
||||
}
|
||||
|
||||
.top {
|
||||
|
@@ -49,6 +49,7 @@ $(function () {
|
||||
}
|
||||
})
|
||||
getConfig();
|
||||
$(window).scrollTop(275)
|
||||
}, 100)
|
||||
})
|
||||
// 配置接口
|
||||
@@ -152,7 +153,11 @@ $('.header .tabBox').on('click', ' div', function () {
|
||||
$(this).addClass(`act${i}`);
|
||||
$('.page1,.page2').hide();
|
||||
$(`.page${i}`).show();
|
||||
if (i == 1) {
|
||||
$(window).scrollTop(275)
|
||||
}
|
||||
if (i == 2) {
|
||||
$(window).scrollTop(275)
|
||||
getRank(getRankType);
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user