23情人节:购买后值不刷新修改,cp奖励记录弹窗修改
This commit is contained in:
@@ -983,7 +983,7 @@ body {
|
||||
height: 0.6666666667rem;
|
||||
}
|
||||
.cpRecordBox .cpRecord_in p {
|
||||
width: 6.5rem;
|
||||
width: 100%;
|
||||
height: 0.32rem;
|
||||
position: absolute;
|
||||
top: 1.9333333333rem;
|
||||
@@ -998,6 +998,14 @@ body {
|
||||
font-size: 0.2933333333rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.cpRecordBox .cpRecord_in p span:nth-child(1) {
|
||||
width: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
.cpRecordBox .cpRecord_in p span:nth-child(4) {
|
||||
width: 2.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
.cpRecordBox .cpRecord_in ul {
|
||||
width: 100%;
|
||||
height: 5rem;
|
||||
@@ -1021,6 +1029,9 @@ body {
|
||||
font-size: 0.32rem;
|
||||
margin-bottom: 0.2666666667rem;
|
||||
}
|
||||
.cpRecordBox .cpRecord_in ul li .jiangli {
|
||||
width: 2.5rem;
|
||||
}
|
||||
.cpRecordBox .cpRecord_in .tips {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
@@ -1128,8 +1128,8 @@ body {
|
||||
}
|
||||
|
||||
p {
|
||||
width: 6.5rem;
|
||||
// width: 60%;
|
||||
// width: 6.5rem;
|
||||
width: 100%;
|
||||
height: px2rem(24, );
|
||||
position: absolute;
|
||||
top: px2rem(145, );
|
||||
@@ -1143,6 +1143,14 @@ body {
|
||||
color: #791E40;
|
||||
font-size: px2rem(22, );
|
||||
font-weight: 600;
|
||||
&:nth-child(1){
|
||||
width: 2rem;
|
||||
text-align: center;
|
||||
}
|
||||
&:nth-child(4){
|
||||
width: 2.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1171,6 +1179,10 @@ body {
|
||||
font-size: px2rem(24, );
|
||||
margin-bottom: px2rem(20, );
|
||||
}
|
||||
.jiangli {
|
||||
width: 2.5rem;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -281,15 +281,15 @@
|
||||
<p>
|
||||
<span>时间</span>
|
||||
<span>我的CP</span>
|
||||
<span>情缘奖励</span>
|
||||
<span>等级</span>
|
||||
<span>情缘等级</span>
|
||||
<span>奖励</span>
|
||||
</p>
|
||||
<ul class="box">
|
||||
<li>
|
||||
<b>08.31 <e>23:23</e></b>
|
||||
<b>CP1的昵称...</b>
|
||||
<b>缘定今生</b>
|
||||
<b>XXX座驾1天*1组</b>
|
||||
<b class="jiangli">XXX座驾1天*1组</b>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tips">暫無更多記錄~</div>
|
||||
|
@@ -254,7 +254,7 @@ function cpRewardRecord(cpRecordPage) {
|
||||
<b>${res.dateTime}</b>
|
||||
<b>${res.nick.length > 5 ? res.nick.slice(0, 5) + '...' : res.nick}</b>
|
||||
<b>${res.levelDesc}</b>
|
||||
<b>${res.rewardDesc}</b>
|
||||
<b class="jiangli">${res.rewardDesc}</b>
|
||||
</li>
|
||||
`
|
||||
});
|
||||
@@ -388,7 +388,11 @@ function buy(id, num, type) {
|
||||
} else {
|
||||
if (type == 6) {
|
||||
toastMsg('很遺憾沒有抽到,距離靚號就差一點啦~')
|
||||
} else {
|
||||
$('.petition-wrap .myticket span e').html(res.data.prop.remain)
|
||||
} else if(type == 1,type == 3,type == 4,type == 5){
|
||||
$('.petition-wrap .myticket span e').html(res.data.prop.remain)
|
||||
}else{
|
||||
$('.letter-wrap .letter p e').html(res.data.remain)
|
||||
toastMsg(res.message)
|
||||
}
|
||||
|
||||
@@ -714,9 +718,9 @@ $('.cpRecordBox .close').click(function () {
|
||||
$('.cpRecordBox').hide();
|
||||
})
|
||||
// cp奖励记录监听滚动
|
||||
$('.letter-wrap .cp_record .box').scroll(function () {
|
||||
$('.cpRecordBox .cpRecord_in .box').scroll(function () {
|
||||
let scrollTop = $(this).scrollTop()
|
||||
let scrollHeight = $('.letter-wrap .cp_record .box')[0].scrollHeight
|
||||
let scrollHeight = $('.cpRecordBox .cpRecord_in .box')[0].scrollHeight
|
||||
let ulHeight = $(this).innerHeight()
|
||||
if (scrollTop + ulHeight + 100 >= scrollHeight) {
|
||||
if (cpRecordScroll) {
|
||||
|
Reference in New Issue
Block a user