788 lines
18 KiB
SCSS
788 lines
18 KiB
SCSS
@function px2rem($px) {
|
|
@return $px / 75+rem;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
// background: radial-gradient(circle, #32140C 0%, #05040A 100%);
|
|
background: #05341F;
|
|
}
|
|
|
|
.back {
|
|
position: fixed;
|
|
top: px2rem(70);
|
|
left: px2rem(34);
|
|
z-index: 99;
|
|
width: px2rem(62);
|
|
height: px2rem(62);
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
p {
|
|
color: #fff;
|
|
font-size: px2rem(32);
|
|
position: absolute;
|
|
width: 9rem;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
text-align: center;
|
|
line-height: px2rem(62);
|
|
}
|
|
}
|
|
|
|
.header {
|
|
width: px2rem(750);
|
|
height: px2rem(618);
|
|
background: url(../images/header.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
position: relative;
|
|
margin: 0 auto 0;
|
|
|
|
.rule_icon {
|
|
width: px2rem(54);
|
|
height: px2rem(144);
|
|
position: absolute;
|
|
top: px2rem(196);
|
|
right: 0;
|
|
}
|
|
|
|
div {
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: px2rem(28);
|
|
color: #FFFCE6;
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 0;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
|
|
.tabBox {
|
|
width: px2rem(714);
|
|
height: px2rem(125);
|
|
background: url(../images/tabBox.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
margin: px2rem(-40) auto px2rem(14);
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 px2rem(28);
|
|
box-sizing: border-box;
|
|
|
|
div {
|
|
width: px2rem(162);
|
|
height: px2rem(84);
|
|
margin-top: px2rem(21);
|
|
}
|
|
|
|
.tab1 {
|
|
background: url(../images/tab1.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tab2 {
|
|
background: url(../images/tab2.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tab3 {
|
|
background: url(../images/tab3.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tab4 {
|
|
background: url(../images/tab4.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tabAct1 {
|
|
background: url(../images/tabAct1.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tabAct2 {
|
|
background: url(../images/tabAct2.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tabAct3 {
|
|
background: url(../images/tabAct3.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tabAct4 {
|
|
background: url(../images/tabAct4.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
}
|
|
|
|
.page1 {
|
|
// display: none;
|
|
|
|
.time {
|
|
width: 100%;
|
|
height: px2rem(74);
|
|
line-height: px2rem(74);
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(24);
|
|
|
|
span {
|
|
width: px2rem(74);
|
|
margin: 0 px2rem(9);
|
|
color: #FFF;
|
|
font-size: px2rem(32);
|
|
background: url(../images/num.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.top {
|
|
width: 100%;
|
|
height: px2rem(384);
|
|
margin: 0 auto px2rem(20);
|
|
position: relative;
|
|
|
|
.no1 {
|
|
width: px2rem(224);
|
|
height: px2rem(384);
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0;
|
|
transform: translateX(-50%);
|
|
|
|
.ts {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
|
|
.tx {
|
|
width: px2rem(166);
|
|
height: px2rem(166);
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(58);
|
|
z-index: 2;
|
|
}
|
|
|
|
p {
|
|
width: 81%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
color: #663208;
|
|
font-size: px2rem(26);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(237);
|
|
z-index: 2;
|
|
font-weight: bold;
|
|
}
|
|
|
|
span {
|
|
width: 81%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
color: #663208;
|
|
font-size: px2rem(22);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(273);
|
|
z-index: 2;
|
|
}
|
|
|
|
.score {
|
|
width: px2rem(184);
|
|
height: px2rem(46);
|
|
line-height: px2rem(46);
|
|
text-align: center;
|
|
color: #FFF1D8;
|
|
font-size: px2rem(22);
|
|
background: url(../images/win.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
z-index: 2;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(300);
|
|
|
|
b {
|
|
color: #fff;
|
|
font-size: px2rem(24);
|
|
}
|
|
}
|
|
}
|
|
|
|
.no2 {
|
|
width: px2rem(224);
|
|
height: px2rem(384);
|
|
position: absolute;
|
|
left: px2rem(24);
|
|
top: 0;
|
|
|
|
.ts {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
|
|
.tx {
|
|
width: px2rem(146);
|
|
height: px2rem(146);
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(80);
|
|
z-index: 2;
|
|
}
|
|
|
|
p {
|
|
width: 81%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
color: #663208;
|
|
font-size: px2rem(26);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(237);
|
|
z-index: 2;
|
|
font-weight: bold;
|
|
}
|
|
|
|
span {
|
|
width: 81%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
color: #663208;
|
|
font-size: px2rem(22);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(273);
|
|
z-index: 2;
|
|
}
|
|
|
|
.score {
|
|
width: px2rem(184);
|
|
height: px2rem(46);
|
|
line-height: px2rem(46);
|
|
text-align: center;
|
|
color: #FFF1D8;
|
|
font-size: px2rem(22);
|
|
background: url(../images/win2.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
z-index: 2;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(300);
|
|
|
|
b {
|
|
color: #fff;
|
|
font-size: px2rem(24);
|
|
}
|
|
}
|
|
}
|
|
|
|
.no3 {
|
|
width: px2rem(224);
|
|
height: px2rem(384);
|
|
position: absolute;
|
|
right: px2rem(24);
|
|
top: 0;
|
|
|
|
.ts {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
z-index: 2;
|
|
}
|
|
|
|
.tx {
|
|
width: px2rem(146);
|
|
height: px2rem(146);
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(80);
|
|
z-index: 2;
|
|
}
|
|
|
|
p {
|
|
width: 81%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
color: #663208;
|
|
font-size: px2rem(26);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(237);
|
|
z-index: 2;
|
|
font-weight: bold;
|
|
}
|
|
|
|
span {
|
|
width: 81%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: center;
|
|
color: #663208;
|
|
font-size: px2rem(22);
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(273);
|
|
z-index: 2;
|
|
}
|
|
|
|
.score {
|
|
width: px2rem(184);
|
|
height: px2rem(46);
|
|
line-height: px2rem(46);
|
|
text-align: center;
|
|
color: #FFF1D8;
|
|
font-size: px2rem(22);
|
|
background: url(../images/win3.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
z-index: 2;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
top: px2rem(300);
|
|
|
|
b {
|
|
color: #fff;
|
|
font-size: px2rem(24);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
ul {
|
|
width: px2rem(698);
|
|
// height: px2rem(136);
|
|
margin: 0 auto px2rem(150);
|
|
|
|
li {
|
|
width: 100%;
|
|
height: px2rem(136);
|
|
background: url(../images/li.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
|
|
.num {
|
|
width: px2rem(75);
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: px2rem(40);
|
|
font-weight: bold;
|
|
float: left;
|
|
height: 100%;
|
|
line-height: px2rem(136);
|
|
margin-right: px2rem(14);
|
|
}
|
|
|
|
.tx {
|
|
width: px2rem(98);
|
|
height: px2rem(98);
|
|
border-radius: 50%;
|
|
float: left;
|
|
display: block;
|
|
margin-top: px2rem(19);
|
|
margin-right: px2rem(23);
|
|
}
|
|
|
|
.user {
|
|
width: px2rem(234);
|
|
float: left;
|
|
|
|
p {
|
|
width: 100%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #FFFFFF;
|
|
font-size: px2rem(28);
|
|
margin-top: px2rem(38);
|
|
margin-bottom: px2rem(14);
|
|
}
|
|
|
|
span {
|
|
width: 100%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #B8BCBB;
|
|
font-size: px2rem(24);
|
|
}
|
|
}
|
|
|
|
.score {
|
|
float: right;
|
|
height: 100%;
|
|
line-height: px2rem(136);
|
|
color: #FFE04E;
|
|
font-size: px2rem(22);
|
|
margin-right: px2rem(36);
|
|
}
|
|
}
|
|
}
|
|
|
|
.my {
|
|
width: 100%;
|
|
position: fixed;
|
|
height: px2rem(136);
|
|
background: url(../images/my.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
left: 0;
|
|
bottom: 0;
|
|
|
|
.num {
|
|
width: px2rem(75);
|
|
text-align: center;
|
|
color: #D7D1CE;
|
|
font-size: px2rem(24);
|
|
font-weight: bold;
|
|
float: left;
|
|
height: 100%;
|
|
line-height: px2rem(136);
|
|
margin-right: px2rem(14);
|
|
margin-left: px2rem(33);
|
|
}
|
|
|
|
.tx {
|
|
width: px2rem(98);
|
|
height: px2rem(98);
|
|
border-radius: 50%;
|
|
float: left;
|
|
display: block;
|
|
margin-top: px2rem(19);
|
|
margin-right: px2rem(23);
|
|
}
|
|
|
|
.user {
|
|
width: px2rem(234);
|
|
float: left;
|
|
|
|
p {
|
|
width: 100%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #FFFFFF;
|
|
font-size: px2rem(28);
|
|
line-height: px2rem(136);
|
|
}
|
|
|
|
span {
|
|
width: 100%;
|
|
//超出省略号
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #B8BCBB;
|
|
font-size: px2rem(24);
|
|
}
|
|
}
|
|
|
|
.score {
|
|
float: right;
|
|
height: 100%;
|
|
line-height: px2rem(136);
|
|
color: #FFE04E;
|
|
font-size: px2rem(22);
|
|
margin-right: px2rem(36);
|
|
}
|
|
}
|
|
}
|
|
|
|
.page2 {
|
|
display: none;
|
|
|
|
.timeShow {
|
|
width: px2rem(702);
|
|
height: px2rem(128);
|
|
background: #032417;
|
|
margin: 0 auto px2rem(12);
|
|
overflow: hidden;
|
|
border-radius: px2rem(8);
|
|
|
|
p {
|
|
width: 100%;
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(30);
|
|
margin-top: px2rem(28);
|
|
margin-bottom: px2rem(15);
|
|
|
|
b {
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
span {
|
|
width: 100%;
|
|
display: block;
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(30);
|
|
|
|
b {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page2GoToRoom {
|
|
width: px2rem(644);
|
|
height: px2rem(49);
|
|
display: block;
|
|
margin: 0 auto px2rem(46);
|
|
}
|
|
|
|
.line {
|
|
width: px2rem(750);
|
|
height: px2rem(30);
|
|
margin: 0 auto px2rem(31);
|
|
display: block;
|
|
}
|
|
|
|
.page2Bg {
|
|
width: px2rem(750);
|
|
display: block;
|
|
margin: 0 auto px2rem(87);
|
|
}
|
|
}
|
|
|
|
.page3 {
|
|
display: none;
|
|
|
|
.timeShow {
|
|
width: px2rem(702);
|
|
height: px2rem(128);
|
|
background: #032417;
|
|
margin: 0 auto px2rem(12);
|
|
overflow: hidden;
|
|
border-radius: px2rem(8);
|
|
|
|
p {
|
|
width: 100%;
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(30);
|
|
margin-top: px2rem(28);
|
|
margin-bottom: px2rem(15);
|
|
|
|
b {
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
span {
|
|
width: 100%;
|
|
display: block;
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(30);
|
|
|
|
b {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page2GoToRoom {
|
|
width: px2rem(644);
|
|
height: px2rem(49);
|
|
display: block;
|
|
margin: 0 auto px2rem(46);
|
|
}
|
|
|
|
.line {
|
|
width: px2rem(750);
|
|
height: px2rem(30);
|
|
margin: 0 auto px2rem(31);
|
|
display: block;
|
|
}
|
|
|
|
.page2Bg {
|
|
width: px2rem(750);
|
|
display: block;
|
|
margin: 0 auto px2rem(87);
|
|
}
|
|
}
|
|
|
|
.page4 {
|
|
display: none;
|
|
|
|
.timeShow {
|
|
width: px2rem(702);
|
|
height: px2rem(128);
|
|
background: #032417;
|
|
margin: 0 auto px2rem(12);
|
|
overflow: hidden;
|
|
border-radius: px2rem(8);
|
|
|
|
p {
|
|
width: 100%;
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(30);
|
|
margin-top: px2rem(28);
|
|
margin-bottom: px2rem(15);
|
|
|
|
b {
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
span {
|
|
width: 100%;
|
|
display: block;
|
|
text-align: center;
|
|
color: #FFEDBB;
|
|
font-size: px2rem(30);
|
|
|
|
b {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.page2GoToRoom {
|
|
width: px2rem(644);
|
|
height: px2rem(49);
|
|
display: block;
|
|
margin: 0 auto px2rem(46);
|
|
}
|
|
|
|
.line {
|
|
width: px2rem(750);
|
|
height: px2rem(30);
|
|
margin: 0 auto px2rem(31);
|
|
display: block;
|
|
}
|
|
|
|
.page2Bg {
|
|
width: px2rem(750);
|
|
display: block;
|
|
margin-bottom: px2rem(87);
|
|
}
|
|
|
|
.swiper {
|
|
width: px2rem(750);
|
|
height: 7.5rem;
|
|
margin-bottom: px2rem(103);
|
|
|
|
.swiper-slide,
|
|
.img {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.swiper-pagination-bullet {
|
|
background: #507163;
|
|
}
|
|
|
|
.swiper-pagination-bullet-active {
|
|
background: #FFEC4B;
|
|
}
|
|
}
|
|
}
|
|
|
|
.rule {
|
|
position: fixed;
|
|
z-index: 999;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: rgba(0, 0, 0, .6);
|
|
display: none;
|
|
|
|
.rule_in {
|
|
width: px2rem(694);
|
|
height: px2rem(1077);
|
|
position: relative;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: url(../images/ruleBG.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
|
|
.tab {
|
|
width: px2rem(542);
|
|
height: px2rem(66);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: px2rem(2) auto px2rem(48);
|
|
|
|
div {
|
|
width: 50%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.tab1 {
|
|
background: url(../images/ruleTab1.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.tab2 {
|
|
background: url(../images/ruleTab2.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.box {
|
|
width: px2rem(582);
|
|
height: 12.3rem;
|
|
margin: 0 auto;
|
|
overflow-y: scroll;
|
|
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
} |