Files
peko-h5/view/peko/activity/2023-Valentines-Day/css/index.scss
2023-02-09 18:05:45 +08:00

1531 lines
41 KiB
SCSS

@function px2rem($px, $rem: 75) {
@return $px / $rem+rem;
}
@font-face {
font-family: 'pingfang-bold';
src: url('../../../common/fonts/PingFang\ Bold.ttf');
src: url('../../../common/fonts/PingFang\ Bold.ttf') format('woff'),
url('../../../common/fonts/PingFang\ Bold.ttf') format('truetype'),
url('../../../common/fonts/PingFang\ Bold.ttf') format('svg');
}
html,
body {
background: #F4C7F4;
}
.no-in-app {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 99999;
background-color: white;
}
.wrap {
width: 100%;
height: 100%;
// background: linear-gradient(180deg, #FB88A9 0%, #FFBECE 61%);
position: relative;
.banner {
width: 100%;
height: px2rem(773, );
position: absolute;
top: 0;
left: 0;
img {
width: 100%;
height: 100%;
}
}
.mycp {
width: px2rem(70, );
height: px2rem(80, );
position: absolute;
top: px2rem(317, );
left: 0;
}
.unread {
width: px2rem(30, );
height: px2rem(30, );
position: absolute;
top: px2rem(316, );
left: px2rem(45, );
background: url(../images/unread.png) no-repeat;
background-size: 100% 100%;
font-size: px2rem(18, );
color: #fff;
text-align: center;
line-height: px2rem(30, );
}
.rule {
width: px2rem(70, );
height: px2rem(80, );
position: relative;
top: 5.4rem;
left: 0;
}
// 情缘信物
.letter-wrap {
width: px2rem(690, );
height: px2rem(1324, );
background: url(../images/letterBg.png) no-repeat;
background-size: 100% 100%;
// margin: -0.3rem auto px2rem(48, );
position: absolute;
top: px2rem(508, );
left: 50%;
transform: translateX(-50%);
overflow: hidden;
z-index: 2;
.tips {
font-size: px2rem(24, );
color: #EB8CFF;
margin-top: px2rem(135, );
text-align: center;
line-height: 0.4rem;
}
.cp_record {
width: px2rem(150, );
height: px2rem(48, );
background: #FFFFFF;
border-radius: px2rem(24, );
position: absolute;
top: px2rem(40, );
right: px2rem(18, );
line-height: px2rem(48, );
text-align: center;
color: #FE28B0;
font-size: px2rem(22, );
}
.letter {
width: px2rem(690, );
height: px2rem(421, );
background: url(../images/letter.png) no-repeat;
background-size: 100% 100%;
margin-top: px2rem(28, );
overflow: hidden;
.imgbox {
width: px2rem(126, );
height: px2rem(126, );
margin: 0.88rem auto 0.2rem;
}
p {
font-size: px2rem(20, );
color: #EB90FF;
text-align: center;
}
.letter_rule {
font-size: px2rem(24, );
color: #FFF;
text-align: center;
margin-top: 1.1rem;
line-height: 0.4rem;
}
}
.but {
width: px2rem(184, );
height: px2rem(44, );
border-radius: px2rem(22, );
background: #FFE6FF;
margin: 0 auto;
position: relative;
input {
border: 0;
width: 1rem;
height: px2rem(44, );
background: #FFE6FF;
color: #FE28B0;
font-size: px2rem(24, );
outline: none; //隐藏边框
text-align: center;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
img {
width: px2rem(45, );
height: px2rem(45, );
}
.add {
position: absolute;
right: 0;
top: 0;
}
.cut {
position: absolute;
left: 0;
top: 0;
}
}
.get_letter {
width: px2rem(330, );
height: px2rem(104, );
margin: px2rem(20, ) auto px2rem(55, );
}
.award_title {
width: px2rem(690, );
font-size: px2rem(36, );
color: #C394FE;
display: flex;
justify-content: center;
align-items: center;
.line {
width: px2rem(116, );
height: px2rem(21, );
}
span {
padding: 0 px2rem(20, );
}
}
.subheard {
font-size: px2rem(24, );
color: #EB8CFF;
text-align: center;
margin-top: px2rem(20, );
}
.award {
width: px2rem(628, );
height: px2rem(285, );
margin: px2rem(36, ) auto 0;
background-color: #fde2fb;
border-radius: 0.3rem;
display: flex;
justify-content: space-evenly;
align-items: center;
.giftbox {
width: px2rem(120, );
height: px2rem(192, );
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
img {
width: px2rem(120, );
height: px2rem(120, );
}
span {
font-size: px2rem(24, );
color: #FE28B0;
}
p {
font-size: px2rem(18, );
color: #E56AFF;
white-space: nowrap;
}
}
.arrow {
width: px2rem(18, );
height: px2rem(36, );
margin-bottom: 1rem;
}
}
}
.bling0 {
width: 100%;
height: px2rem(550, );
position: absolute;
top: 22rem;
left: 0;
}
.swiper-title {
width: px2rem(450, );
height: px2rem(112, );
background: url(../images/swiper_title.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 25rem;
left: 50%;
transform: translate(-50%);
}
.swiper {
width: px2rem(690, );
height: px2rem(354, );
background: url(../images/giftBg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 26.8rem;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
.swiper-wrapper {
width: 100%;
height: 100%;
.swiper-slide {
img {
width: px2rem(590, );
height: px2rem(230, );
margin: px2rem(65, ) px2rem(50, );
}
}
}
}
.bling1 {
width: 100%;
height: px2rem(550, );
position: absolute;
top: 29.5rem;
left: 0;
}
// 送礼得情签
.petition_title {
width: px2rem(363, );
height: px2rem(112, );
background: url(../images/petition_title.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 32rem;
left: 50%;
transform: translate(-50%);
}
.petition-wrap {
width: px2rem(690, );
height: px2rem(714, );
background: url(../images/petitionBg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 33.8rem;
left: 50%;
transform: translate(-50%);
z-index: 2;
.myticket {
width: px2rem(642, );
height: px2rem(96, );
background: url(../images/recordBg.png) no-repeat;
background-size: 100% 100%;
margin: px2rem(28, ) auto;
display: flex;
justify-content: space-between;
align-items: center;
span {
font-size: px2rem(26, );
color: #ffffff;
margin-left: px2rem(20, );
}
.charge {
width: px2rem(130, );
height: px2rem(48, );
background: url(../images/change_record.png) no-repeat;
background-size: 100% 100%;
font-size: px2rem(22, );
color: #FF1FA6;
line-height: px2rem(48, );
text-align: center;
margin-right: px2rem(20, );
}
}
.subheard {
font-size: px2rem(24, );
color: #EB8CFF;
text-align: center;
line-height: 0.4rem;
}
.chargeTab {
width: px2rem(335, );
height: px2rem(60, );
margin: px2rem(34, ) auto 0;
display: flex;
justify-content: space-between;
align-items: center;
.item {
width: px2rem(155, );
height: px2rem(60, );
line-height: px2rem(60, );
text-align: center;
font-size: px2rem(24, );
color: #FE5EC4;
background: url(../images/btn_noact.png) no-repeat;
background-size: 100% 100%;
}
.itemact {
width: px2rem(155, );
height: px2rem(60, );
line-height: px2rem(60, );
background: url(../images/btn_act.png) no-repeat;
background-size: 100% 100%;
font-size: px2rem(24, );
color: #FFFFFF;
}
}
.gift-wrap,
.number-wrap {
height: px2rem(300, );
margin: px2rem(35, ) auto 0;
display: flex;
justify-content: space-evenly;
li {
width: 1.79rem;
height: px2rem(300, );
.giftbg {
width: px2rem(126, );
height: px2rem(126, );
text-align: center;
margin: 0 auto;
// background: url(../images/circle.png) no-repeat;
// background-size: 100% 100%;
// img {
// width: 1.2rem;
// height: 1.2rem;
// margin-top: 0.25rem;
// }
// .mingpai {
// width: 1.35rem;
// height: 0.42rem;
// margin-top: 0.65rem;
// }
}
span {
width: 100%;
text-align: center;
font-size: px2rem(24, );
color: #FD48B9;
padding-top: px2rem(12, );
display: inline-block;
white-space: nowrap;
}
.but {
width: px2rem(122, );
height: px2rem(30, );
border-radius: px2rem(15, );
background: #FFE1F2;
margin: px2rem(25, ) auto 0;
position: relative;
input {
border: 0;
width: 0.8rem;
height: px2rem(30, );
background: #FFE1F2;
color: #FF5662;
font-size: px2rem(20, );
outline: none; //隐藏边框
text-align: center;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
}
img {
width: px2rem(30, );
height: px2rem(30, );
}
.add {
position: absolute;
right: 0;
top: 0;
}
.cut {
position: absolute;
left: 0;
top: 0;
}
}
.btn {
width: px2rem(132, );
height: px2rem(44, );
background: url(../images/btn_change.png) no-repeat;
background-size: 100% 100%;
font-size: px2rem(22, );
color: #FFFFFF;
line-height: px2rem(44, );
text-align: center;
margin: 0.4rem auto 0;
}
p {
font-size: px2rem(22, );
color: #c28eec;
text-align: center;
padding-top: px2rem(8, );
}
}
}
.number-wrap {
li {
width: 3rem;
.tips {
font-size: px2rem(20, );
color: #E4BDEC;
text-align: center;
white-space: nowrap;
padding-top: px2rem(20, );
}
}
}
}
.bling2 {
width: 100%;
height: px2rem(550, );
position: absolute;
top: 42rem;
left: 0;
}
// 榜单
.rank_title {
width: px2rem(381, );
height: px2rem(112, );
background: url(../images/rank_title.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 44rem;
left: 50%;
transform: translate(-50%);
}
.rank-wrap {
width: px2rem(690, );
height: px2rem(2067, );
background: url(../images/rankBg.png) no-repeat;
background-size: 100% 100%;
position: relative;
top: 44.8rem;
left: 50%;
transform: translate(-50%);
margin-bottom: 2rem;
z-index: 2;
.reward {
width: px2rem(110, );
height: px2rem(48, );
position: absolute;
top: px2rem(44, );
right: 0;
}
.list {
.no1 {
.txbox1,
.txbox2 {
width: px2rem(112, );
height: px2rem(112, );
position: absolute;
top: px2rem(204, );
left: px2rem(195, );
background: url(../images/txBg.png) no-repeat;
background-size: 100% 100%;
.tx {
width: px2rem(105, );
height: px2rem(105, );
border-radius: 50%;
position: absolute;
top: 0.042rem;
left: 0.042rem;
}
}
.txbox2 {
left: px2rem(388, );
}
.nick1,
.nick2 {
width: px2rem(160, );
height: px2rem(44, );
background-color: #fff;
border-radius: px2rem(20, );
position: absolute;
top: px2rem(340, );
left: 3.3rem;
transform: translateX(-50%);
font-size: px2rem(24, );
color: #52B0F9;
text-align: center;
line-height: px2rem(44, );
}
.nick2 {
left: 5.9rem;
color: #FD48B9;
}
.xin {
width: px2rem(36, );
height: px2rem(36, );
position: absolute;
top: px2rem(460, );
left: px2rem(222, );
}
.score {
font-size: px2rem(24, );
color: #FD48B9;
position: absolute;
top: 6.25rem;
left: px2rem(270, );
}
}
ul {
width: px2rem(690, );
// height: px2rem(930, );
position: absolute;
top: px2rem(540, );
bottom: px2rem(80, );
left: 50%;
transform: translateX(-50%);
li {
width: 100%;
height: px2rem(152, );
line-height: px2rem(152, );
background-color: #FFFFFF;
position: relative;
p {
width: 100%;
height: 100%;
font-size: px2rem(24, );
color: #FD48B9;
font-weight: bold;
text-align: center;
align-items: center;
}
&:nth-child(2n) {
background-color: #FFF2FF;
}
.num {
position: absolute;
left: px2rem(40, );
width: px2rem(40, );
font-size: px2rem(36, );
color: #FD48B9;
font-weight: 600;
text-align: center;
}
.txbox1 {
position: absolute;
left: px2rem(138, );
top: px2rem(18, );
width: px2rem(86, );
height: px2rem(86, );
background: url(../images/txBg.png) no-repeat;
background-size: 100% 100%;
.tx {
width: px2rem(82, );
height: px2rem(82, );
border-radius: 50%;
position: absolute;
top: 0.03rem;
left: 0.03rem;
}
}
.txbox2 {
position: absolute;
right: px2rem(77, );
top: px2rem(18, );
width: px2rem(86, );
height: px2rem(86, );
background: url(../images/txBg.png) no-repeat;
background-size: 100% 100%;
.tx {
width: px2rem(82, );
height: px2rem(82, );
border-radius: 50%;
margin-top: 0.03rem;
margin-left: 0.03rem;
}
}
.nick1 {
position: absolute;
left: px2rem(110, );
bottom: 1.35rem;
width: px2rem(165, );
height: 0rem;
text-align: center;
font-size: px2rem(24, );
color: #791E40;
}
.nick2 {
position: absolute;
right: px2rem(35, );
bottom: 1.35rem;
width: px2rem(165, );
height: 0rem;
text-align: center;
font-size: px2rem(24, );
color: #791E40;
}
.xin {
position: absolute;
top: px2rem(35, );
left: px2rem(358, );
width: px2rem(35, );
height: px2rem(35, );
}
span {
position: absolute;
top: 0.1rem;
left: px2rem(320, );
width: px2rem(110, );
height: px2rem(20, );
text-align: center;
font-size: px2rem(20, );
color: #FD48B9;
}
.score {
position: absolute;
top: 0.5rem;
left: px2rem(320, );
width: px2rem(110, );
height: px2rem(20, );
text-align: center;
font-size: px2rem(20, );
color: #FD48B9;
}
}
}
}
.myRank {
width: px2rem(690, );
height: px2rem(152, );
line-height: px2rem(152, );
background: url(../images/myrankBg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 0;
bottom: 0rem;
.num {
position: absolute;
left: px2rem(40, );
font-size: px2rem(20, );
color: #ffffff;
text-align: center;
}
.norank {
font-size: 0.52rem;
}
.txbox1 {
position: absolute;
left: px2rem(138, );
top: px2rem(18, );
width: px2rem(86, );
height: px2rem(86, );
background: url(../images/txBg.png) no-repeat;
background-size: 100% 100%;
.tx {
width: px2rem(82, );
height: px2rem(82, );
border-radius: 50%;
position: absolute;
top: 0.02rem;
left: 0.02rem;
}
}
.txbox2 {
position: absolute;
right: px2rem(77, );
top: px2rem(18, );
width: px2rem(86, );
height: px2rem(86, );
background: url(../images/txBg.png) no-repeat;
background-size: 100% 100%;
.tx {
width: px2rem(82, );
height: px2rem(82, );
border-radius: 50%;
margin-top: 0.02rem;
margin-left: 0.02rem;
}
}
.nick1 {
position: absolute;
left: px2rem(110, );
bottom: 1rem;
width: 2rem;
height: px2rem(24, );
text-align: center;
font-size: px2rem(24, );
color: #ffffff;
}
.nick2 {
position: absolute;
right: px2rem(35, );
bottom: 1rem;
width: 2rem;
height: px2rem(24, );
text-align: center;
font-size: px2rem(24, );
color: #ffffff;
}
.xin {
position: absolute;
top: px2rem(35, );
left: px2rem(358, );
width: px2rem(35, );
height: px2rem(35, );
}
span {
position: absolute;
top: 0.1rem;
left: px2rem(320, );
width: px2rem(110, );
height: px2rem(20, );
text-align: center;
font-size: px2rem(20, );
color: #ffffff;
}
.score {
position: absolute;
top: 0.5rem;
left: px2rem(320, );
width: px2rem(110, );
height: px2rem(20, );
text-align: center;
font-size: px2rem(20, );
color: #ffffff;
}
}
}
}
.gx {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.gx_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(660, );
background: url(../images/gx.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
.box {
width: 100%;
height: 3.5rem;
position: absolute;
top: 2rem;
left: 50%;
transform: translateX(-50%);
li {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
.bg {
width: px2rem(186, );
height: px2rem(186, );
background: url(../images/openGiftBg.png) no-repeat;
background-size: 100% 100%;
margin-bottom: 0.2rem;
position: relative;
img {
width: px2rem(140, );
height: px2rem(140, );
border-radius: px2rem(22, );
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.mingpai {
width: 2rem;
height: 0.55rem;
}
}
span {
color: #FE28B0;
font-size: px2rem(22, );
margin-bottom: 0.2rem;
}
}
}
.sure {
width: px2rem(330, );
height: px2rem(105, );
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
}
.tips {
width: 100%;
color: #AE2B5C;
font-size: px2rem(22, );
text-align: center;
position: absolute;
left: 0;
bottom: 0.8rem;
line-height: 0.4rem;
}
}
}
.mycpBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.mycp_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(610, );
background: url(../images/mycpBg.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
.tishi {
width: 100%;
text-align: center;
color: #EB8CFF;
font-size: px2rem(22, );
position: absolute;
top: px2rem(132, );
left: 0;
}
p {
// width: 6.6rem;
width: 100%;
height: px2rem(24, );
position: absolute;
top: px2rem(195, );
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-around;
align-items: center;
span {
width: 2rem;
height: px2rem(30, );
text-align: center;
color: #791E40;
font-size: px2rem(22, );
font-weight: 600;
&:nth-child(2) {
width: 2.4rem;
}
&:nth-child(3) {
width: 1.2rem;
}
}
}
ul {
width: 100%;
height: 4.4rem;
position: absolute;
top: 3.2rem;
left: 50%;
transform: translateX(-50%);
overflow: scroll;
&::-webkit-scrollbar {
display: none;
width: 0;
}
li {
width: 100%;
display: flex;
justify-content: space-around;
b {
width: 2rem;
height: px2rem(30, );
text-align: center;
color: #AE2B5C;
font-size: px2rem(24, );
margin-bottom: px2rem(20, );
}
.cpValue {
width: 2.4rem;
height: px2rem(30, );
text-align: center;
}
span {
width: 1.2rem;
height: px2rem(30, );
text-align: center;
line-height: px2rem(30, );
color: #AE2B5C;
font-size: px2rem(24, );
margin-bottom: px2rem(20, );
}
.waitpass {
background-color: #FF63D0;
border-radius: px2rem(15, );
color: #ffffff;
}
.pass {
color: #FE28B0;
}
}
}
.tips {
width: 100%;
text-align: center;
color: #E1BAC9;
font-size: px2rem(22, );
position: absolute;
bottom: 0.18rem;
left: 50%;
transform: translateX(-50%);
display: none;
}
}
}
.cpRecordBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.cpRecord_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(610, );
background: url(../images/cpRecordBg.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
p {
// width: 6.5rem;
width: 100%;
height: px2rem(24, );
position: absolute;
top: px2rem(145, );
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-between;
align-items: center;
span {
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;
}
}
}
ul {
// width: px2rem(540, );
width: 100%;
height: 5rem;
position: absolute;
top: 2.6rem;
left: 50%;
transform: translateX(-50%);
overflow: scroll;
&::-webkit-scrollbar {
display: none;
width: 0;
}
li {
width: 100%;
display: flex;
justify-content: space-around;
b {
color: #AE2B5C;
font-size: px2rem(24, );
margin-bottom: px2rem(20, );
}
.jiangli {
width: 2.5rem;
text-align: center;
}
}
}
.tips {
width: 100%;
text-align: center;
color: #E1BAC9;
font-size: px2rem(22, );
position: absolute;
bottom: 0.18rem;
left: 50%;
transform: translateX(-50%);
display: none;
}
}
}
.drawBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.draw_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(610, );
background: url(../images/drawBg.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
p {
// width: 6rem;
width: 100%;
height: px2rem(24, );
position: absolute;
top: px2rem(145, );
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-around;
align-items: center;
span {
color: #791E40;
font-size: px2rem(22, );
font-weight: 600;
width: 1.8rem;
text-align: center;
}
}
ul {
// width: px2rem(540, );
width: 100%;
height: 5rem;
position: absolute;
top: 2.6rem;
left: 50%;
transform: translateX(-50%);
overflow: scroll;
&::-webkit-scrollbar {
display: none;
width: 0;
}
li {
width: 100%;
display: flex;
justify-content: space-around;
b {
color: #AE2B5C;
font-size: px2rem(24, );
margin-bottom: px2rem(20, );
width: 2.5rem;
text-align: center;
white-space: nowrap;
}
}
}
.tips {
width: 100%;
text-align: center;
color: #E1BAC9;
font-size: px2rem(22, );
position: absolute;
bottom: 0.18rem;
left: 50%;
transform: translateX(-50%);
display: none;
}
}
}
.exchangeBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.exchange_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(610, );
background: url(../images/chargeBg.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
p {
// width: 6.5rem;
width: 100%;
height: px2rem(24, );
position: absolute;
top: px2rem(145, );
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: space-around;
align-items: center;
span {
color: #791E40;
font-size: px2rem(22, );
font-weight: 600;
width: 1.8rem;
text-align: center;
}
}
ul {
width: 100%;
height: 5rem;
position: absolute;
top: 2.6rem;
// left: 45%;
// transform: translateX(-50%);
overflow: scroll;
&::-webkit-scrollbar {
display: none;
width: 0;
}
li {
width: 100%;
display: flex;
justify-content: space-around;
b {
width: 1.8rem;
text-align: center;
color: #AE2B5C;
font-size: px2rem(24, );
margin-bottom: px2rem(20, );
white-space: nowrap;
}
}
}
.tips {
width: 100%;
text-align: center;
color: #E1BAC9;
font-size: px2rem(22, );
position: absolute;
bottom: 0.18rem;
left: 50%;
transform: translateX(-50%);
display: none;
}
}
}
.ruleBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.rule_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(1023, );
background: url(../images/ruleBg.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
.box {
width: px2rem(546, );
height: 11.4rem;
position: absolute;
top: px2rem(146, );
left: 50%;
transform: translateX(-50%);
overflow: scroll;
&::-webkit-scrollbar {
display: none;
width: 0;
}
}
}
}
.rewardBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.reward_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(1068, );
background: url(../images/cpAwardBg.png) no-repeat;
background-size: 100% 100%;
.close {
position: absolute;
top: 0.95rem;
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
.box {
width: px2rem(588, );
height: 11.2rem;
position: absolute;
top: px2rem(214, );
left: 50%;
transform: translateX(-50%);
overflow: scroll;
&::-webkit-scrollbar {
display: none;
width: 0;
}
}
}
}
.tishiBox {
position: fixed;
right: 0;
bottom: 0;
left: 0;
top: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 999;
display: none;
.tishi_in {
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(640, );
height: px2rem(390, );
background: url(../images/tishiBg.png) no-repeat;
background-size: 100% 100%;
.title {
width: 100%;
text-align: center;
color: #AE2B5C;
font-size: px2rem(28, );
position: absolute;
top: px2rem(134, );
left: 50%;
transform: translateX(-50%);
}
.recharge {
width: px2rem(328, );
height: px2rem(104, );
position: absolute;
bottom: px2rem(55, );
left: 50%;
transform: translateX(-50%);
}
.close {
position: absolute;
top: px2rem(20, );
right: px2rem(20, );
width: px2rem(50, );
height: px2rem(50, );
}
}
}