优化加载速度
This commit is contained in:
@@ -4,11 +4,12 @@ html {
|
||||
background: #CE3346;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 2.4rem;
|
||||
padding-bottom: 1.6rem;
|
||||
}
|
||||
|
||||
.rabbit {
|
||||
position: absolute;
|
||||
z-index: 99;
|
||||
width: 1.33333rem;
|
||||
height: 1.33333rem;
|
||||
}
|
||||
@@ -79,7 +80,6 @@ html {
|
||||
background: #8B4621;
|
||||
margin: -2.1rem auto 0;
|
||||
position: relative;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.box .boxTitle {
|
||||
@@ -154,6 +154,7 @@ html {
|
||||
width: 2.24rem;
|
||||
height: 3.42667rem;
|
||||
position: relative;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.box .box_in .sBox .sBox1 {
|
||||
@@ -330,6 +331,7 @@ html {
|
||||
height: 0.42667rem;
|
||||
position: absolute;
|
||||
top: 0.44rem;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.resultOut .sqp_in1 {
|
||||
|
@@ -8,12 +8,12 @@ html {
|
||||
background: #CE3346;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: px2rem(180);
|
||||
padding-bottom: px2rem(120);
|
||||
}
|
||||
|
||||
.rabbit {
|
||||
position: absolute;
|
||||
// z-index: 99;
|
||||
z-index: 99;
|
||||
width: px2rem(100);
|
||||
height: px2rem(100);
|
||||
}
|
||||
@@ -84,7 +84,7 @@ html {
|
||||
background: #8B4621;
|
||||
margin: -2.1rem auto 0;
|
||||
position: relative;
|
||||
display: none;
|
||||
// display: none;
|
||||
// overflow: hidden;
|
||||
|
||||
.boxTitle {
|
||||
@@ -158,6 +158,7 @@ html {
|
||||
width: px2rem(168);
|
||||
height: px2rem(257);
|
||||
position: relative;
|
||||
display: none;
|
||||
|
||||
.sBox1 {
|
||||
width: px2rem(168);
|
||||
@@ -337,6 +338,7 @@ html {
|
||||
height: px2rem(32);
|
||||
position: absolute;
|
||||
top: px2rem(33);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sqp_in1 {
|
||||
|
@@ -235,7 +235,7 @@ function listItem (roundId) {
|
||||
$(`.box .box_in .item${i + 1} .sBox1 `).removeClass('sBox_active');
|
||||
}
|
||||
})
|
||||
$('.box').show();
|
||||
$('.box .box_in .sBox').show();
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -268,6 +268,7 @@ function listLuckySeaActInfo (roundId) {
|
||||
$(`.resultOut .sqp_in${i + 1} `).attr('src', res.drawItemList[0].drawName == '洋蔥' ? './images/1.png' : res.drawItemList[0].drawName == '番茄' ? './images/2.png' : res.drawItemList[0].drawName == '蘑菇' ? './images/3.png' : res.drawItemList[0].drawName == '土豆' ? './images/4.png' : res.drawItemList[0].drawName == '大閘蟹' ? './images/5.png' : res.drawItemList[0].drawName == '魚' ? './images/6.png' : res.drawItemList[0].drawName == '雞肉' ? './images/7.png' : res.drawItemList[0].drawName == '龍蝦' ? './images/8.png' : res.drawItemList[0].drawImageUrl);
|
||||
}
|
||||
});
|
||||
$('.resultOut .sqp_in').show();
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
|
Reference in New Issue
Block a user