This commit is contained in:
Dragon
2023-10-23 16:01:52 +08:00
parent 276b62cd8e
commit b0bf61e016
7 changed files with 39 additions and 10 deletions

View File

@@ -1565,8 +1565,8 @@ body::-webkit-scrollbar {
}
.gx .gx_in .gxBox {
width: 6.6rem;
height: 4rem;
width: 8rem;
height: 5.4rem;
position: relative;
top: 1.61333rem;
left: 50%;
@@ -1587,13 +1587,24 @@ body::-webkit-scrollbar {
margin-bottom: 0.58667rem;
}
.gx .gx_in .gxBox li .gift,
.gx .gx_in .gxBox li img {
width: 1.32rem;
height: 1.41333rem;
position: absolute;
top: 0.22667rem;
top: 50%;
left: 50%;
transform: translateX(-50%);
transform: translate(-50%, -50%);
}
.gx .gx_in .gxBox li .mp {
width: 1.93333rem;
height: 0.53333rem;
}
.gx .gx_in .gxBox li .qp {
width: 1.33333rem;
height: 1.06667rem;
}
.gx .gx_in .gxBox li p {

View File

@@ -1604,8 +1604,8 @@ body {
overflow: hidden;
.gxBox {
width: px2rem(495);
height: px2rem(300);
width: 8rem;
height: 5.4rem;
position: relative;
top: px2rem(121);
left: 50%;
@@ -1624,15 +1624,32 @@ body {
position: relative;
margin-bottom: px2rem(44);
.gift,
img {
width: px2rem(99);
height: px2rem(106);
position: absolute;
top: px2rem(17);
top: 50%;
left: 50%;
transform: translateX(-50%);
transform: translate(-50%, -50%);
}
.ts {}
.mp {
width: px2rem(145);
height: px2rem(40);
}
.qp {
width: px2rem(100);
height: px2rem(80);
}
.zj {}
.lw {}
p {
color: #FFFFFF;
font-size: px2rem(22);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -70,9 +70,9 @@ $(function () {
disableOnInteraction: false
}
})
getTaskConfig();
getRecommendRoom();
getConfig();
getTaskConfig();
}, 100)
})
// 获取房间Uid接口
@@ -690,9 +690,10 @@ function drawOut (res, time, poolType) {
var str = '';
$('.gx .gx_in .gxBox li').remove();
res.data.rewardList.forEach((res, i) => {
// 1头饰2铭牌3气泡4座驾5礼物
str += `
<li>
<img src="${res.pic}" alt="" class="gift">
<img src="${res.pic}" alt="" class="gift ${res.type == 1 ? 'ts' : res.type == 2 ? 'mp' : res.type == 3 ? 'qp' : res.type == 4 ? 'zj' : 'lw'}">
<p>${res.desc}</p>
</li>
`