调整ui
This commit is contained in:
@@ -1565,8 +1565,8 @@ body::-webkit-scrollbar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gx .gx_in .gxBox {
|
.gx .gx_in .gxBox {
|
||||||
width: 6.6rem;
|
width: 8rem;
|
||||||
height: 4rem;
|
height: 5.4rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 1.61333rem;
|
top: 1.61333rem;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@@ -1587,13 +1587,24 @@ body::-webkit-scrollbar {
|
|||||||
margin-bottom: 0.58667rem;
|
margin-bottom: 0.58667rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gx .gx_in .gxBox li .gift,
|
||||||
.gx .gx_in .gxBox li img {
|
.gx .gx_in .gxBox li img {
|
||||||
width: 1.32rem;
|
width: 1.32rem;
|
||||||
height: 1.41333rem;
|
height: 1.41333rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0.22667rem;
|
top: 50%;
|
||||||
left: 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 {
|
.gx .gx_in .gxBox li p {
|
||||||
|
@@ -1604,8 +1604,8 @@ body {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.gxBox {
|
.gxBox {
|
||||||
width: px2rem(495);
|
width: 8rem;
|
||||||
height: px2rem(300);
|
height: 5.4rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: px2rem(121);
|
top: px2rem(121);
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@@ -1624,15 +1624,32 @@ body {
|
|||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: px2rem(44);
|
margin-bottom: px2rem(44);
|
||||||
|
|
||||||
|
.gift,
|
||||||
img {
|
img {
|
||||||
width: px2rem(99);
|
width: px2rem(99);
|
||||||
height: px2rem(106);
|
height: px2rem(106);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: px2rem(17);
|
top: 50%;
|
||||||
left: 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 {
|
p {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
font-size: px2rem(22);
|
font-size: px2rem(22);
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 48 KiB |
@@ -70,9 +70,9 @@ $(function () {
|
|||||||
disableOnInteraction: false
|
disableOnInteraction: false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
getTaskConfig();
|
||||||
getRecommendRoom();
|
getRecommendRoom();
|
||||||
getConfig();
|
getConfig();
|
||||||
getTaskConfig();
|
|
||||||
}, 100)
|
}, 100)
|
||||||
})
|
})
|
||||||
// 获取房间Uid接口
|
// 获取房间Uid接口
|
||||||
@@ -690,9 +690,10 @@ function drawOut (res, time, poolType) {
|
|||||||
var str = '';
|
var str = '';
|
||||||
$('.gx .gx_in .gxBox li').remove();
|
$('.gx .gx_in .gxBox li').remove();
|
||||||
res.data.rewardList.forEach((res, i) => {
|
res.data.rewardList.forEach((res, i) => {
|
||||||
|
// 1头饰;2铭牌;3气泡;4座驾;5礼物;
|
||||||
str += `
|
str += `
|
||||||
<li>
|
<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>
|
<p>${res.desc}</p>
|
||||||
</li>
|
</li>
|
||||||
`
|
`
|
||||||
|
Reference in New Issue
Block a user