Compare commits

...

15 Commits

Author SHA1 Message Date
Dragon
c431b9aabf 修复记录背景异常 2024-03-08 16:45:44 +08:00
Dragon
00c8f39c48 新增疯狂动物园 2024-03-08 15:21:20 +08:00
Dragon
309dc6097a 替换决赛图片 2024-03-05 20:20:39 +08:00
Dragon
ec732f0c75 清除缓存 2024-03-04 20:57:08 +08:00
Dragon
cfab5b8cc9 替换桌球榜单 2024-03-04 20:48:39 +08:00
Dragon
4453a09a92 修复榜单异常 2024-03-04 15:16:02 +08:00
Dragon
a033d971cb 修复bug 2024-03-04 14:44:11 +08:00
Dragon
a378783cdc 新增女神节榜单 2024-03-04 11:46:11 +08:00
Dragon
696286103e 替换页面三图片 2024-03-03 21:14:18 +08:00
Dragon
f4e0dcc71c 替换图片 2024-03-03 17:07:16 +08:00
Dragon
a288347760 替换图片 2024-03-02 13:38:07 +08:00
Dragon
41bb7136ab 替换ui图 2024-02-28 19:57:48 +08:00
Dragon
a57dd223a8 新增争霸赛 2024-02-28 19:57:47 +08:00
Dragon
c83c6e0240 优化许愿之星刷新问题 2024-02-28 18:12:07 +08:00
Dragon
abf5178c62 繁体化 2024-02-27 22:31:33 +08:00
108 changed files with 3433 additions and 179 deletions

View File

@@ -0,0 +1,498 @@
html,
body {
width: 100%;
background: #FBABAD;
}
.back {
position: fixed;
top: 0.93333rem;
left: 0.45333rem;
z-index: 99;
width: 0.82667rem;
height: 0.82667rem;
}
.back img {
width: 100%;
height: 100%;
}
.back p {
color: #fff;
font-size: 0.42667rem;
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: 0.82667rem;
}
.header {
width: 10rem;
height: 14.56rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0.24rem;
}
.header .rule_icon {
width: 1.14667rem;
height: 3.4rem;
position: absolute;
right: 0rem;
top: 6.25333rem;
}
.tabBox {
width: 7.66667rem;
height: 1.13333rem;
margin: 0 auto 0.22667rem;
display: flex;
justify-content: space-between;
}
.tabBox div {
width: 3.58667rem;
}
.tabBox .tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab2 {
background: url(../images/tab2.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct1 {
background: url(../images/tabAct1.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct2 {
background: url(../images/tabAct2.png) no-repeat;
background-size: 100% 100%;
}
.page1 {
width: 9.44rem;
height: 18.6rem;
margin: 0 auto 0.34667rem;
background: url(../images/page1Bg.png) no-repeat;
background-size: 100% 100%;
}
.page2 {
display: none;
width: 9.44rem;
height: 18.42667rem;
background: url(../images/page2Bg.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 2.06667rem;
overflow: hidden;
}
.page2 .tablist {
width: 4.90667rem;
height: 0.70667rem;
display: flex;
justify-content: space-between;
margin: 0.50667rem auto 0.93333rem;
background: url(../images/tabListBg.png) no-repeat;
background-size: 100% 100%;
}
.page2 .tablist div {
width: 2.45333rem;
height: 0.70667rem;
line-height: 0.70667rem;
color: #FFFFFF;
font-size: 0.38667rem;
font-weight: 500;
text-align: center;
}
.page2 .tablist .act {
background: url(../images/tabListAct.png) no-repeat;
background-size: 100% 100%;
}
.page2 .top3Box {
width: 8.33333rem;
height: 3.13333rem;
position: relative;
margin: 0 auto 0.33333rem;
}
.page2 .top3Box .no1 {
width: 2.73333rem;
height: 3.49333rem;
background: url(../images/no1Bg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
.page2 .top3Box .no1 .ts {
width: 1.56rem;
height: 1.58667rem;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.96rem;
}
.page2 .top3Box .no1 .tx {
width: 1.21333rem;
height: 1.21333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 2.10667rem;
border-radius: 50%;
}
.page2 .top3Box .no1 .name {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: 0.30667rem;
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.38667rem;
text-align: center;
}
.page2 .top3Box .no1 p {
width: 100%;
color: #AE3E4E;
font-size: 0.26667rem;
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.70667rem;
text-align: center;
}
.page2 .top3Box .no1 .score {
width: 100%;
color: #fff;
font-size: 0.26667rem;
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.24rem;
text-align: center;
}
.page2 .top3Box .no2 {
width: 2.73333rem;
height: 3.13333rem;
background: url(../images/no23Bg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 0%;
bottom: 0;
}
.page2 .top3Box .no2 .ts {
width: 1.56rem;
height: 1.58667rem;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.72rem;
}
.page2 .top3Box .no2 .tx {
width: 1.21333rem;
height: 1.21333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.89333rem;
border-radius: 50%;
}
.page2 .top3Box .no2 .name {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: 0.30667rem;
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.26667rem;
text-align: center;
}
.page2 .top3Box .no2 p {
width: 100%;
color: #AE3E4E;
font-size: 0.26667rem;
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.72rem;
text-align: center;
}
.page2 .top3Box .no2 .score {
width: 100%;
color: #fff;
font-size: 0.26667rem;
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.26667rem;
text-align: center;
}
.page2 .top3Box .no3 {
width: 2.73333rem;
height: 3.13333rem;
background: url(../images/no23Bg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
right: 0%;
bottom: 0;
}
.page2 .top3Box .no3 .ts {
width: 1.56rem;
height: 1.58667rem;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.72rem;
}
.page2 .top3Box .no3 .tx {
width: 1.21333rem;
height: 1.21333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.89333rem;
border-radius: 50%;
}
.page2 .top3Box .no3 .name {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: 0.30667rem;
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.26667rem;
text-align: center;
}
.page2 .top3Box .no3 p {
width: 100%;
color: #AE3E4E;
font-size: 0.26667rem;
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.72rem;
text-align: center;
}
.page2 .top3Box .no3 .score {
width: 100%;
color: #fff;
font-size: 0.26667rem;
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.26667rem;
text-align: center;
}
.page2 ul {
width: 9.26667rem;
height: 12.6rem;
overflow-y: scroll;
margin: 0 auto 0;
}
.page2 ul::-webkit-scrollbar {
display: none;
}
.page2 ul li {
width: 100%;
height: 1.53333rem;
background: url(../images/liBg.png) no-repeat;
background-size: 100% 100%;
margin-bottom: 0.02667rem;
}
.page2 ul li .num {
width: 0.46667rem;
height: 1.53333rem;
line-height: 1.53333rem;
color: #AE3E4E;
font-size: 0.4rem;
font-weight: 400;
margin-left: 0.38667rem;
text-align: center;
margin-right: 0.6rem;
float: left;
}
.page2 ul li .tx {
width: 1.16rem;
height: 1.16rem;
border-radius: 50%;
border: 0.02667rem solid #AE3E4E;
margin-top: 0.2rem;
margin-right: 0.37333rem;
display: block;
float: left;
}
.page2 ul li .name {
width: 3rem;
height: 1.53333rem;
line-height: 1.53333rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: 0.36rem;
float: left;
}
.page2 ul li .score {
float: right;
height: 1.53333rem;
line-height: 1.53333rem;
color: #AE3E4E;
font-weight: 400;
margin-right: 0.56rem;
}
.page2 .my {
position: fixed;
width: 10rem;
height: 2.06667rem;
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
margin-bottom: 0.02667rem;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
.page2 .my .num {
width: 1.33333rem;
height: 2.06667rem;
line-height: 2.06667rem;
color: #AE3E4E;
font-size: 0.4rem;
font-weight: 400;
margin-left: 0.38667rem;
text-align: center;
margin-right: 0.25333rem;
float: left;
}
.page2 .my .tx {
width: 1.16rem;
height: 1.16rem;
border-radius: 50%;
border: 0.02667rem solid #AE3E4E;
margin-top: 0.42667rem;
margin-right: 0.37333rem;
display: block;
float: left;
}
.page2 .my .name {
width: 3rem;
height: 2.06667rem;
line-height: 2.06667rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: 0.36rem;
float: left;
}
.page2 .my .score {
float: right;
height: 2.06667rem;
line-height: 2.06667rem;
color: #AE3E4E;
font-weight: 400;
margin-right: 0.56rem;
}
.rule {
display: none;
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 999;
background: rgba(0, 0, 0, 0.6);
}
.rule .rule_in {
width: 8.76rem;
height: 13.13333rem;
background: url(../images/ruleBg.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.rule .rule_in .rulebox {
width: 8.06667rem;
height: 11.5rem;
margin: 1.38667rem auto 0;
overflow-y: scroll;
}
.rule .rule_in .rulebox::-webkit-scrollbar {
display: none;
}
.rule .rule_in .rulebox img {
display: block;
width: 100%;
}

View File

@@ -0,0 +1,507 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: #FBABAD;
}
// 返回按钮
.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(1092);
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto px2rem(18);
.rule_icon {
width: px2rem(86);
height: px2rem(255);
position: absolute;
right: px2rem(0);
top: px2rem(469);
}
}
.tabBox {
width: px2rem(575);
height: px2rem(85);
margin: 0 auto px2rem(17);
display: flex;
justify-content: space-between;
div {
width: px2rem(269);
}
.tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
}
.tab2 {
background: url(../images/tab2.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%;
}
}
.page1 {
// display: none;
width: px2rem(708);
height: px2rem(1395);
margin: 0 auto px2rem(26);
background: url(../images/page1Bg.png) no-repeat;
background-size: 100% 100%;
}
.page2 {
display: none;
width: px2rem(708);
height: px2rem(1382);
background: url(../images/page2Bg.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto px2rem(155);
overflow: hidden;
.tablist {
width: px2rem(368);
height: px2rem(53);
display: flex;
justify-content: space-between;
margin: px2rem(38) auto px2rem(70);
background: url(../images/tabListBg.png) no-repeat;
background-size: 100% 100%;
div {
width: px2rem(184);
height: px2rem(53);
line-height: px2rem(53);
color: #FFFFFF;
font-size: px2rem(29);
font-weight: 500;
text-align: center;
}
.act {
background: url(../images/tabListAct.png) no-repeat;
background-size: 100% 100%;
}
}
.top3Box {
width: px2rem(625);
height: px2rem(235);
position: relative;
margin: 0 auto px2rem(25);
.no1 {
width: px2rem(205);
height: px2rem(262);
background: url(../images/no1Bg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
.ts {
width: px2rem(117);
height: px2rem(119);
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(147);
}
.tx {
width: px2rem(91);
height: px2rem(91);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(158);
border-radius: 50%;
}
.name {
width: 100%;
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: px2rem(23);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(104);
text-align: center;
}
p {
width: 100%;
color: #AE3E4E;
font-size: px2rem(20);
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(53);
text-align: center;
}
.score {
width: 100%;
color: #fff;
font-size: px2rem(20);
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(18);
text-align: center;
}
}
.no2 {
width: px2rem(205);
height: px2rem(235);
background: url(../images/no23Bg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 0%;
bottom: 0;
.ts {
width: px2rem(117);
height: px2rem(119);
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(129);
}
.tx {
width: px2rem(91);
height: px2rem(91);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(142);
border-radius: 50%;
}
.name {
width: 100%;
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: px2rem(23);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(95);
text-align: center;
}
p {
width: 100%;
color: #AE3E4E;
font-size: px2rem(20);
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(54);
text-align: center;
}
.score {
width: 100%;
color: #fff;
font-size: px2rem(20);
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(20);
text-align: center;
}
}
.no3 {
width: px2rem(205);
height: px2rem(235);
background: url(../images/no23Bg.png) no-repeat;
background-size: 100% 100%;
position: absolute;
right: 0%;
bottom: 0;
.ts {
width: px2rem(117);
height: px2rem(119);
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(129);
}
.tx {
width: px2rem(91);
height: px2rem(91);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(142);
border-radius: 50%;
}
.name {
width: 100%;
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: px2rem(23);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(95);
text-align: center;
}
p {
width: 100%;
color: #AE3E4E;
font-size: px2rem(20);
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(54);
text-align: center;
}
.score {
width: 100%;
color: #fff;
font-size: px2rem(20);
font-weight: 400;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(20);
text-align: center;
}
}
}
ul {
width: px2rem(695);
height: 12.6rem;
overflow-y: scroll;
margin: 0 auto 0;
&::-webkit-scrollbar {
display: none;
}
li {
width: 100%;
height: px2rem(115);
background: url(../images/liBg.png) no-repeat;
background-size: 100% 100%;
margin-bottom: px2rem(2);
.num {
width: px2rem(35);
height: px2rem(115);
line-height: px2rem(115);
color: #AE3E4E;
font-size: px2rem(30);
font-weight: 400;
margin-left: px2rem(29);
text-align: center;
margin-right: px2rem(45);
float: left;
}
.tx {
width: px2rem(87);
height: px2rem(87);
border-radius: 50%;
border: px2rem(2) solid #AE3E4E;
margin-top: px2rem(15);
margin-right: px2rem(28);
display: block;
float: left;
}
.name {
width: 3rem;
height: px2rem(115);
line-height: px2rem(115);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: px2rem(27);
float: left;
}
.score {
float: right;
height: px2rem(115);
line-height: px2rem(115);
color: #AE3E4E;
font-weight: 400;
margin-right: px2rem(42);
}
}
}
.my {
position: fixed;
width: px2rem(750);
height: px2rem(155);
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
margin-bottom: px2rem(2);
left: 50%;
transform: translateX(-50%);
bottom: 0;
.num {
width: px2rem(100);
height: px2rem(155);
line-height: px2rem(155);
color: #AE3E4E;
font-size: px2rem(30);
font-weight: 400;
margin-left: px2rem(29);
text-align: center;
margin-right: px2rem(19);
float: left;
}
.tx {
width: px2rem(87);
height: px2rem(87);
border-radius: 50%;
border: px2rem(2) solid #AE3E4E;
margin-top: px2rem(32);
margin-right: px2rem(28);
display: block;
float: left;
}
.name {
width: 3rem;
height: px2rem(155);
line-height: px2rem(155);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #AE3E4E;
font-size: px2rem(27);
float: left;
}
.score {
float: right;
height: px2rem(155);
line-height: px2rem(155);
color: #AE3E4E;
font-weight: 400;
margin-right: px2rem(42);
}
}
}
.rule {
display: none;
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 999;
background: rgba(0, 0, 0, .6);
.rule_in {
width: px2rem(657);
height: px2rem(985);
background: url(../images/ruleBg.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.rulebox {
width: px2rem(605);
height: 11.5rem;
margin: px2rem(104) auto 0;
overflow-y: scroll;
&::-webkit-scrollbar {
display: none;
}
img {
display: block;
width: 100%;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>女神請就位</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/back.png" alt="">
</div>
<!-- header -->
<div class="header">
<img src="./images/rule_icon.png" alt="" class="rule_icon">
</div>
<!-- tab -->
<div class="tabBox">
<div class="tab1 tabAct1"></div>
<div class="tab2"></div>
</div>
<!-- page1 -->
<div class="page1"></div>
<!-- page2 -->
<div class="page2">
<!-- tab -->
<div class="tablist">
<div class="act">守護榜</div>
<div>女神榜</div>
</div>
<!-- 前三 -->
<div class="top3Box">
<div class="no1">
<img src="./images/no1.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<p>守護榜</p>
<div class="score">0</div>
</div>
<div class="no2">
<img src="./images/no2.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<p>守護榜</p>
<div class="score">0</div>
</div>
<div class="no3">
<img src="./images/no3.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<p>守護榜</p>
<div class="score">0</div>
</div>
</div>
<!-- 非前三 -->
<ul>
<li>
<div class="num">04</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">守護榜:0</div>
</li>
</ul>
<!-- 我自己 -->
<div class="my">
<div class="num">未上榜</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">守護榜:0</div>
</div>
</div>
<!-- 活動規則 -->
<div class="rule">
<div class="rule_in">
<div class="rulebox">
<img src="./images/rule.png" alt="">
</div>
</div>
</div>
</body>
<script src="../../common/js/flexible.js"></script>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/index.js"></script>
</html>

View File

@@ -0,0 +1,140 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加載中...') => {
layer.open({
type: 2,
shadeClose: false,
content,
success (e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
layer.open({
content,
time,
skin: 'msg'
})
}
var rankType = 2;
// 初始化函數
$(function () {
getInfoFromClient()
setTimeout(function () {
// 頁面全屏
if (browser.app) {
if (browser.android) {
window.androidJsObj.initShowNav(false)
} else {
window.webkit.messageHandlers.initShowNav.postMessage(0)
}
};
// 頂部返回事件
$('.back').click(() => {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
}, 100)
})
// 獲取榜單接口
function getRank () {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/special/gift/getRank',
data: {
rankType,
pageSize: 30
},
success (res) {
if (res.code === 200) {
// 處理前三
var top3 = res.data.rankList.slice(0, 3);
var notTop3 = res.data.rankList.slice(3);
if (top3.length < 3) {
let arr = new Array(3 - top3.length).fill({
avatar: './images/logo.png',
nick: '虛位以待',
score: "0",
})
top3.push(...arr)
}
top3.forEach((res, i) => {
$(`.page2 .top3Box .no${i + 1} .tx`).attr('src', res.avatar);
$(`.page2 .top3Box .no${i + 1} .name`).text(res.nick);
$(`.page2 .top3Box .no${i + 1} p`).text(`${rankType == 2 ? "守護值" : "女神值"}`);
$(`.page2 .top3Box .no${i + 1} .score`).text(unitProcessing(res.score, 10000, 1, 'w'));
})
// 非前三
$('.page2 ul li').remove();
var str = '';
notTop3.forEach((res, i) => {
str += `
<li>
<div class="num">${res.ranking}</div>
<img src="${res.avatar}" alt="" class="tx">
<div class="name">${res.nick}</div>
<div class="score">${rankType == 2 ? "守護值" : "女神值"}:${unitProcessing(res.score, 10000, 1, 'w')}</div>
</li>
`
})
$('.page2 ul').append(str);
// 處理自己榜單
$('.page2 .my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
$('.page2 .my .tx').attr('src', res.data.meRank.avatar);
$('.page2 .my .name').text(res.data.meRank.nick);
$('.page2 .my .score').text(`${rankType == 2 ? "守護值:" : "女神值:"}${unitProcessing(res.data.meRank.score, 10000, 1, 'w')}`);
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error (err) {
hideLoading(layerIndex)
toastMsg('網路錯誤,請退出重進')
}
})
}
// tab切換
$('.tabBox div').click(function () {
var i = $(this).index() + 1;
$('.tabBox div').removeClass('tabAct1').removeClass('tabAct2');
$(this).addClass(`tabAct${i}`);
$('.page1,.page2').hide();
$(`.page${i}`).show();
if (i == 2) {
getRank();
}
})
$('.page2 .tablist div').click(function () {
var i = $(this).index() + 1;
$(this).addClass('act').siblings().removeClass('act');
rankType = i == 1 ? 2 : 4;
getRank();
})
// 打開規則
$('.header .rule_icon').click(function () {
$('.rule').show();
bodyScroolFun(true);
})
// 關閉規則
$('.rule').click(function () {
$('.rule').hide();
bodyScroolFun(false);
})

View File

@@ -1,7 +1,7 @@
body,
html {
width: 100%;
background: #CE3346;
background: #7BC4C6;
position: relative;
box-sizing: border-box;
padding-bottom: 1.6rem;
@@ -73,40 +73,40 @@ html {
.box {
width: 9.58667rem;
height: 9.90667rem;
height: 10.28rem;
border-radius: 0.53333rem;
border: 0.16rem solid #FBC577;
border: 0.16rem solid #669900;
box-sizing: border-box;
background: #8B4621;
background: #CCCC00;
margin: -2.1rem auto 0;
position: relative;
}
.box .boxTitle {
width: 5.30667rem;
height: 0.92rem;
width: 4.89333rem;
height: 1rem;
background: url(../images/boxTitle.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -1rem;
top: -0.4rem;
text-align: center;
line-height: 0.92rem;
line-height: 1.15rem;
color: #FFFFFF;
font-size: 0.34667rem;
}
.box .boxTitle b {
font-weight: bold;
font-size: 0.53333rem;
font-size: 0.4rem;
line-height: 0.93333rem;
}
.box .tab {
width: 8.8rem;
height: 1.26667rem;
margin: 0.36rem auto 0;
margin: 0.90667rem auto 0;
display: flex;
justify-content: space-between;
}
@@ -169,8 +169,8 @@ html {
}
.box .box_in .sBox .sBox1 img {
width: 1.6rem;
height: 1.6rem;
width: 1.97333rem;
height: 1.97333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
@@ -376,9 +376,9 @@ html {
.resultText {
width: 9.52rem;
height: 1.14667rem;
height: 1.48rem;
position: relative;
margin: -0.2rem auto 0.1rem;
margin: -0.3rem auto 0.1rem;
background: url(../images/resultText.png) no-repeat;
background-size: 100% 100%;
}
@@ -418,7 +418,7 @@ h3 b {
color: #FFFFFF;
font-size: 0.32rem;
box-sizing: border-box;
background: #BD7F38;
background: #336600;
border-radius: 0.74667rem;
margin-top: 0.48rem;
border: 1px solid #FBF6F2;
@@ -800,6 +800,7 @@ h3 b {
.shade-mask .shade-content main div .jietu.t3 {
height: 4.2rem;
margin-bottom: 2rem;
}
.shade-mask-rank {
@@ -932,7 +933,7 @@ h3 b {
height: 7rem;
padding: 0.4rem 0.26667rem 0;
box-sizing: border-box;
margin-top: 0.25rem;
margin-top: 0.35rem;
}
.shade-mask-rank .shade-content-rank .other-rank li {

View File

@@ -5,7 +5,7 @@
body,
html {
width: 100%;
background: #CE3346;
background: #7BC4C6;
position: relative;
box-sizing: border-box;
padding-bottom: px2rem(120);
@@ -77,33 +77,33 @@ html {
.box {
width: px2rem(719);
height: px2rem(743);
height: px2rem(771);
border-radius: px2rem(40);
border: px2rem(12) solid #FBC577;
border: px2rem(12) solid #669900;
box-sizing: border-box;
background: #8B4621;
background: #CCCC00;
margin: -2.1rem auto 0;
position: relative;
// display: none;
// overflow: hidden;
.boxTitle {
width: px2rem(398);
height: px2rem(69);
width: px2rem(367);
height: px2rem(75);
background: url(../images/boxTitle.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -1rem;
top: -0.4rem;
text-align: center;
line-height: px2rem(69);
line-height: 1.15rem;
color: #FFFFFF;
font-size: px2rem(26);
b {
font-weight: bold;
font-size: px2rem(40);
font-size: px2rem(30);
line-height: px2rem(70);
}
}
@@ -111,7 +111,7 @@ html {
.tab {
width: px2rem(660);
height: px2rem(95);
margin: px2rem(27) auto 0;
margin: px2rem(68) auto 0;
display: flex;
justify-content: space-between;
@@ -171,8 +171,8 @@ html {
top: 0.7rem;
img {
width: px2rem(120);
height: px2rem(120);
width: px2rem(148);
height: px2rem(148);
position: absolute;
left: 50%;
transform: translateX(-50%);
@@ -384,9 +384,9 @@ html {
.resultText {
width: px2rem(714);
height: px2rem(86);
height: px2rem(111);
position: relative;
margin: -0.2rem auto 0.1rem;
margin: -0.3rem auto 0.1rem;
background: url(../images/resultText.png) no-repeat;
background-size: 100% 100%;
}
@@ -425,7 +425,7 @@ h3 {
color: #FFFFFF;
font-size: px2rem(24);
box-sizing: border-box;
background: #BD7F38;
background: #336600;
border-radius: px2rem(56);
margin-top: px2rem(36);
border: 1px solid #FBF6F2;
@@ -807,6 +807,7 @@ h3 {
&.t3 {
// height: px2rem(301);
height: 4.2rem;
margin-bottom: 2rem;
}
}
}
@@ -953,7 +954,7 @@ h3 {
// background-color: white;
padding: px2rem(30) px2rem(20) 0;
box-sizing: border-box;
margin-top: 0.25rem;
margin-top: 0.35rem;
li {
width: 90%;

View File

@@ -19,7 +19,8 @@
html,
body {
width: 100%;
background: linear-gradient(0deg, #E6AD6A 0%, #F9CA92 100%);
background: linear-gradient(0deg, #669900 0%, #A1D33E 100%);
height: 100%;
}
.img {
@@ -71,11 +72,10 @@ body {
width: 90%;
height: 0.58667rem;
line-height: 0.58667rem;
background: #F46331;
display: flex;
box-sizing: border-box;
padding: 0 0.26667rem;
margin: 0.2rem auto 0;
margin: 0.35rem auto 0;
}
.record-list li .goldBox p {
@@ -115,10 +115,10 @@ body {
left: 50%;
transform: translateX(-50%);
width: 1.90667rem;
height: 0.6rem;
background: url(../images/record/result.png) no-repeat;
background-size: 100% 100%;
top: 0.2rem;
text-align: center;
top: -0.1rem;
font-weight: bold;
font-size: 0.4rem;
}
.record-list li .result-wrap .award {
@@ -182,13 +182,12 @@ body {
font-weight: 600;
margin-right: 0.9rem;
position: absolute;
width: 1.02667rem;
height: 0.6rem;
left: 50%;
transform: translateX(-50%);
background: url(../images/record/touru.png) no-repeat;
background-size: 100% 100%;
top: -0.6rem;
top: -1rem;
text-align: center;
font-size: 0.4rem;
font-weight: bold;
}
.record-list li .put-wrap .list {

View File

@@ -1,5 +1,5 @@
@function px2rem($px, $rem: 75) {
@return $px / $rem+rem;
@function px2rem($px) {
@return $px / 75+rem;
}
// @function prefixurl() {
@@ -33,7 +33,9 @@
html,
body {
width: 100%;
background: linear-gradient(0deg, #E6AD6A 0%, #F9CA92 100%);
background: linear-gradient(0deg, #669900 0%, #A1D33E 100%);
height: 100%;
// background: #A1D33E;
}
.img {
@@ -85,12 +87,12 @@ body {
width: 90%;
height: px2rem(44 );
line-height: px2rem(44 );
background: #F46331;
// background: #F46331;
display: flex;
// justify-content: space-between;
box-sizing: border-box;
padding: 0 px2rem(20 );
margin: 0.2rem auto 0;
margin: 0.35rem auto 0;
p {
color: #fff;
@@ -133,10 +135,13 @@ body {
left: 50%;
transform: translateX(-50%);
width: px2rem(143 );
height: px2rem(45 );
background: url(../images/record/result.png) no-repeat;
background-size: 100% 100%;
top: 0.2rem;
text-align: center;
// height: px2rem(45 );
// background: url(../images/record/result.png) no-repeat;
// background-size: 100% 100%;
top: -0.1rem;
font-weight: bold;
font-size: px2rem(30);
}
// .bg {
@@ -217,13 +222,16 @@ body {
font-weight: 600;
margin-right: 0.9rem;
position: absolute;
width: px2rem(77 );
height: px2rem(45 );
// width: px2rem(77 );
// height: px2rem(45 );
left: 50%;
transform: translateX(-50%);
background: url(../images/record/touru.png) no-repeat;
background-size: 100% 100%;
top: -0.6rem;
// background: url(../images/record/touru.png) no-repeat;
// background-size: 100% 100%;
top: -1rem;
text-align: center;
font-size: px2rem(30);
font-weight: bold;
}
.list {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 273 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -5,19 +5,19 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>星級廚房</title>
<title>瘋狂動物園</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/index.css?v=1.0">
</head>
<body>
<!-- 頭部 -->
<div class="header">
<img src="./images/headerText.png" alt="" class="headerText">
<!-- <img src="./images/headerText.png" alt="" class="headerText"> -->
<img src="./images/rule_icon.png" alt="" class="rule_icon">
<img src="./images/record_icon.png" alt="" class="record_icon">
<img src="./images/rank_icon.png" alt="" class="rank_icon">
<div class="headerH3">選擇鉆石 > 選擇圖標</div>
<!-- <div class="headerH3">選擇鉆石 > 選擇圖標</div> -->
</div>
<!-- 食材大盒子 -->
<div class="box">
@@ -33,11 +33,11 @@
</div>
<div>
<img src="./images/Bdiamond.png" alt="">
<b>1000</b>
<b>500</b>
</div>
<div>
<img src="./images/Bdiamond.png" alt="">
<b>10000</b>
<b>5000</b>
</div>
</dib>
<!-- 食材列錶 -->
@@ -251,20 +251,20 @@
<main>
<div class="cyfs">
<p class="title">參與方式</p>
用戶可通過花費鉆石參與《星級廚房》遊戲,每次最少消耗100每回合時間30秒
玩家可通過石參與《瘋狂動物園》遊戲,每次最少需花費100石,每回合時間30秒
<p class="jietu"><img src="./images/t1.png" alt=""></p>
</div>
<div class="lwff">
<p class="title">禮物發放</p>
每次參與遊戲後獲得一次禮物開獎;
每次參與遊戲後獲得一次禮物開獎;
<p class="jietu t2"><img src="./images/t2.png" alt=""></p>
每次隨機從8種食材中選取一個或多個作為中獎食材,中獎後獲得(中獎物品所花費的石數*中獎食材對應倍數)的石獎勵,當中獎多個食材時,獲得的鉆石會同時發放。鉆石將直接發放到賬戶中。
每次隨機從8種小動物種選取一個作為中獎食材,中獎後獲得(中獎物品所花費的石數*中獎小動物對應倍數)的石獎勵,石將直接發放到賬戶中。
<p class="jietu t3"><img src="./images/t3.png" alt=""></p>
例如購買1個5倍番茄花費100購買1個蘿蔔花費100鉆,中獎後獲得100*5+100*5=1000鉆
例如購買1個5倍大象花費100中獎後獲得100*5的鑽石
</div>
<div class="qtsm">
<p class="title">其他說明</p>
如果以上說明未能解答您的疑問,請聯客服,會有專人解答疑難
如果以上說明未能解答您的疑問,請聯客服,會有專人解答疑難
<p>本活動以及活動獎勵與Google/蘋果公司無關</p>
</div>
</main>
@@ -321,4 +321,4 @@
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/svga.min.js"></script>
<script src="./js/wow.js"></script>
<script src="./js/index.js"></script>
<script src="./js/index.js?v=1.0"></script>

View File

@@ -125,7 +125,7 @@ function getNewestAct () {
res.data.drawItemList.forEach(res => {
str += `
<li>
<img src="${res.drawName == '洋蔥' ? './images/1.png' : res.drawName == '番茄' ? './images/2.png' : res.drawName == '蘑菇' ? './images/3.png' : res.drawName == '土豆' ? './images/4.png' : res.drawName == '大閘蟹' ? './images/5.png' : res.drawName == '' ? './images/6.png' : res.drawName == '雞肉' ? './images/7.png' : res.drawName == '龍蝦' ? './images/8.png' : res.drawImageUrl}" alt="">
<img src="${res.drawName == '大象' ? './images/1.png' : res.drawName == '斑馬' ? './images/2.png' : res.drawName == '河馬' ? './images/3.png' : res.drawName == '考拉' ? './images/4.png' : res.drawName == '狐貍' ? './images/5.png' : res.drawName == '豹子' ? './images/6.png' : res.drawName == '老虎' ? './images/7.png' : res.drawName == '獅子' ? './images/8.png' : res.drawImageUrl}" alt="">
<div class="name">${res.drawName}</div>
</li>
`
@@ -217,7 +217,7 @@ function listItem (roundId) {
$(`.box .box_in .item${i + 1} .sBox1 `).removeClass('sBox_active');
}
$(`.box .box_in .item${i + 1}`).attr('id', res.id);
$(`.box .box_in .item${i + 1} .sBox1 img`).attr('src', res.name == '洋蔥' ? './images/1.png' : res.name == '番茄' ? './images/2.png' : res.name == '蘑菇' ? './images/3.png' : res.name == '土豆' ? './images/4.png' : res.name == '大閘蟹' ? './images/5.png' : res.name == '' ? './images/6.png' : res.name == '雞肉' ? './images/7.png' : res.name == '龍蝦' ? './images/8.png' : res.imgUrl);
$(`.box .box_in .item${i + 1} .sBox1 img`).attr('src', res.name == '大象' ? './images/1.png' : res.name == '斑馬' ? './images/2.png' : res.name == '河馬' ? './images/3.png' : res.name == '考拉' ? './images/4.png' : res.name == '狐貍' ? './images/5.png' : res.name == '豹子' ? './images/6.png' : res.name == '老虎' ? './images/7.png' : res.name == '獅子' ? './images/8.png' : res.imgUrl);
$(`.box .box_in .item${i + 1} .qp p b`).text(res.costPieceNum == 0 ? '' : res.costPieceNum);
$(`.box .box_in .item${i + 1} .bei`).text('x' + res.multiple);
$(`.box .box_in .item${i + 1} .SboxText`).text(res.name);
@@ -246,14 +246,14 @@ function listLuckySeaActInfo (roundId) {
if (res.code === 200) {
res.data.forEach((res, i) => {
if (res.drawItemList.length > 1) {
if (res.drawName == '葷菜狂歡') {
$(`.resultOut .sqp_in${i + 1} `).attr('src', './images/rou.png');
} else {
if (res.drawName == '素食狂歡') {
$(`.resultOut .sqp_in${i + 1} `).attr('src', './images/su.png');
} else {
$(`.resultOut .sqp_in${i + 1} `).attr('src', './images/rou.png');
}
} else {
// $(`.resultOut .sqp_in${i + 1} `).attr('src', res.drawItemList[0].drawImageUrl);
$(`.resultOut .sqp_in${i + 1} `).attr('src', res.drawItemList[0].drawName == '洋蔥' ? './images/1.png' : res.drawItemList[0].drawName == '番茄' ? './images/2.png' : res.drawItemList[0].drawName == '蘑菇' ? './images/3.png' : res.drawItemList[0].drawName == '土豆' ? './images/4.png' : res.drawItemList[0].drawName == '大閘蟹' ? './images/5.png' : res.drawItemList[0].drawName == '' ? './images/6.png' : res.drawItemList[0].drawName == '雞肉' ? './images/7.png' : res.drawItemList[0].drawName == '龍蝦' ? './images/8.png' : res.drawItemList[0].drawImageUrl);
$(`.resultOut .sqp_in${i + 1} `).attr('src', res.drawItemList[0].drawName == '大象' ? './images/1.png' : res.drawItemList[0].drawName == '斑馬' ? './images/2.png' : res.drawItemList[0].drawName == '河馬' ? './images/3.png' : res.drawItemList[0].drawName == '考拉' ? './images/4.png' : res.drawItemList[0].drawName == '狐貍' ? './images/5.png' : res.drawItemList[0].drawName == '豹子' ? './images/6.png' : res.drawItemList[0].drawName == '老虎' ? './images/7.png' : res.drawItemList[0].drawName == '獅子' ? './images/8.png' : res.drawItemList[0].drawImageUrl);
}
});
$('.resultOut .sqp_in').show();
@@ -272,7 +272,7 @@ function listLuckySeaActInfo (roundId) {
$('.box .tab div').click(function () {
var i = $(this).index() + 1;
$(this).addClass('active').siblings().removeClass('active');
gearPosition = i == 1 ? 100 : i == 2 ? 1000 : 10000;
gearPosition = i == 1 ? 100 : i == 2 ? 500 : 5000;
})
// 抽獎接口
function draw (itemId, tais) {

View File

@@ -92,7 +92,7 @@ $(function () {
</div>
<div class="result-wrap">
<div class="result">
<span></span>
<span>本輪結果</span>
</div>
<div class="award">
<p>獎勵:</p>
@@ -106,7 +106,7 @@ $(function () {
</div>
</div>
<div class="put-wrap">
<div class="put"></div>
<div class="put">投入</div>
<div class="list">
</div>

View File

@@ -1,6 +1,6 @@
var baba = document.querySelector('body');
baba.addEventListener('click', function (e) {
$('body,html').css({ "width": "100%", "position": "relative", "overflow": "hidden" });
// $('body,html').css({ "width": "100%", "position": "relative", "overflow": "hidden" });
tianJia(e);
})
@@ -42,5 +42,5 @@ function move () {
}
window.requestAnimationFrame(move);
$('body,html').css({ "width": "100%", "position": "relative", "overflow": "auto" });
// $('body,html').css({ "width": "100%", "position": "relative", "overflow": "auto" });
}

View File

@@ -8,7 +8,7 @@
<title>游戏记录</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/record.css">
<link rel="stylesheet" href="./css/record.css?v=1.1">
</head>
<body>
@@ -140,7 +140,7 @@
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="./js/record.js"></script>
<script src="./js/record.js?v=1.0"></script>
</body>
</html>

View File

@@ -0,0 +1,768 @@
html,
body {
width: 100%;
background: #05341F;
}
.back {
position: fixed;
top: 0.93333rem;
left: 0.45333rem;
z-index: 99;
width: 0.82667rem;
height: 0.82667rem;
}
.back img {
width: 100%;
height: 100%;
}
.back p {
color: #fff;
font-size: 0.42667rem;
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: 0.82667rem;
}
.header {
width: 10rem;
height: 8.24rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0;
}
.header .rule_icon {
width: 0.72rem;
height: 1.92rem;
position: absolute;
top: 2.61333rem;
right: 0;
}
.header div {
width: 100%;
text-align: center;
font-size: 0.37333rem;
color: #FFFCE6;
position: absolute;
top: 1rem;
left: 0;
font-weight: 500;
}
.tabBox {
width: 9.52rem;
height: 1.66667rem;
background: url(../images/tabBox.png) no-repeat;
background-size: 100% 100%;
margin: -0.53333rem auto 0.18667rem;
position: relative;
display: flex;
justify-content: space-between;
padding: 0 0.37333rem;
box-sizing: border-box;
}
.tabBox div {
width: 2.16rem;
height: 1.12rem;
margin-top: 0.28rem;
}
.tabBox .tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab2 {
background: url(../images/tab2.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab3 {
background: url(../images/tab3.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tab4 {
background: url(../images/tab4.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct1 {
background: url(../images/tabAct1.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct2 {
background: url(../images/tabAct2.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct3 {
background: url(../images/tabAct3.png) no-repeat;
background-size: 100% 100%;
}
.tabBox .tabAct4 {
background: url(../images/tabAct4.png) no-repeat;
background-size: 100% 100%;
}
.page1 .time {
width: 100%;
height: 0.98667rem;
line-height: 0.98667rem;
text-align: center;
color: #FFEDBB;
font-size: 0.32rem;
}
.page1 .time span {
width: 0.98667rem;
margin: 0 0.12rem;
color: #FFF;
font-size: 0.42667rem;
background: url(../images/num.png) no-repeat;
background-size: 100% 100%;
display: inline-block;
}
.page1 .top {
width: 100%;
height: 5.12rem;
margin: 0 auto 0.26667rem;
position: relative;
}
.page1 .top .no1 {
width: 2.98667rem;
height: 5.12rem;
position: absolute;
left: 50%;
top: 0;
transform: translateX(-50%);
}
.page1 .top .no1 .ts {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.page1 .top .no1 .tx {
width: 2.21333rem;
height: 2.21333rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 0.77333rem;
z-index: 2;
}
.page1 .top .no1 p {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.16rem;
z-index: 2;
font-weight: bold;
}
.page1 .top .no1 span {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.29333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.64rem;
z-index: 2;
}
.page1 .top .no1 .score {
width: 2.45333rem;
height: 0.61333rem;
line-height: 0.61333rem;
text-align: center;
color: #FFF1D8;
font-size: 0.29333rem;
background: url(../images/win.png) no-repeat;
background-size: 100% 100%;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4rem;
}
.page1 .top .no1 .score b {
color: #fff;
font-size: 0.32rem;
}
.page1 .top .no2 {
width: 2.98667rem;
height: 5.12rem;
position: absolute;
left: 0.32rem;
top: 0;
}
.page1 .top .no2 .ts {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.page1 .top .no2 .tx {
width: 1.94667rem;
height: 1.94667rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.06667rem;
z-index: 2;
}
.page1 .top .no2 p {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.16rem;
z-index: 2;
font-weight: bold;
}
.page1 .top .no2 span {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.29333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.64rem;
z-index: 2;
}
.page1 .top .no2 .score {
width: 2.45333rem;
height: 0.61333rem;
line-height: 0.61333rem;
text-align: center;
color: #FFF1D8;
font-size: 0.29333rem;
background: url(../images/win2.png) no-repeat;
background-size: 100% 100%;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4rem;
}
.page1 .top .no2 .score b {
color: #fff;
font-size: 0.32rem;
}
.page1 .top .no3 {
width: 2.98667rem;
height: 5.12rem;
position: absolute;
right: 0.32rem;
top: 0;
}
.page1 .top .no3 .ts {
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
}
.page1 .top .no3 .tx {
width: 1.94667rem;
height: 1.94667rem;
border-radius: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.06667rem;
z-index: 2;
}
.page1 .top .no3 p {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.16rem;
z-index: 2;
font-weight: bold;
}
.page1 .top .no3 span {
width: 81%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
color: #663208;
font-size: 0.29333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 3.64rem;
z-index: 2;
}
.page1 .top .no3 .score {
width: 2.45333rem;
height: 0.61333rem;
line-height: 0.61333rem;
text-align: center;
color: #FFF1D8;
font-size: 0.29333rem;
background: url(../images/win3.png) no-repeat;
background-size: 100% 100%;
z-index: 2;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 4rem;
}
.page1 .top .no3 .score b {
color: #fff;
font-size: 0.32rem;
}
.page1 ul {
width: 9.30667rem;
margin: 0 auto 2rem;
}
.page1 ul li {
width: 100%;
height: 1.81333rem;
background: url(../images/li.png) no-repeat;
background-size: 100% 100%;
}
.page1 ul li .num {
width: 1rem;
text-align: center;
color: #fff;
font-size: 0.53333rem;
font-weight: bold;
float: left;
height: 100%;
line-height: 1.81333rem;
margin-right: 0.18667rem;
}
.page1 ul li .tx {
width: 1.30667rem;
height: 1.30667rem;
border-radius: 50%;
float: left;
display: block;
margin-top: 0.25333rem;
margin-right: 0.30667rem;
}
.page1 ul li .user {
width: 3.12rem;
float: left;
}
.page1 ul li .user p {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFFFFF;
font-size: 0.37333rem;
margin-top: 0.50667rem;
margin-bottom: 0.18667rem;
}
.page1 ul li .user span {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #B8BCBB;
font-size: 0.32rem;
}
.page1 ul li .score {
float: right;
height: 100%;
line-height: 1.81333rem;
color: #FFE04E;
font-size: 0.29333rem;
margin-right: 0.48rem;
}
.page1 .my {
width: 100%;
position: fixed;
height: 1.81333rem;
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
left: 0;
bottom: 0;
}
.page1 .my .num {
width: 1rem;
text-align: center;
color: #D7D1CE;
font-size: 0.32rem;
font-weight: bold;
float: left;
height: 100%;
line-height: 1.81333rem;
margin-right: 0.18667rem;
margin-left: 0.44rem;
}
.page1 .my .tx {
width: 1.30667rem;
height: 1.30667rem;
border-radius: 50%;
float: left;
display: block;
margin-top: 0.25333rem;
margin-right: 0.30667rem;
}
.page1 .my .user {
width: 3.12rem;
float: left;
}
.page1 .my .user p {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #FFFFFF;
font-size: 0.37333rem;
line-height: 1.81333rem;
}
.page1 .my .user span {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #B8BCBB;
font-size: 0.32rem;
}
.page1 .my .score {
float: right;
height: 100%;
line-height: 1.81333rem;
color: #FFE04E;
font-size: 0.29333rem;
margin-right: 0.48rem;
}
.page2 {
display: none;
}
.page2 .timeShow {
width: 9.36rem;
height: 1.70667rem;
background: #032417;
margin: 0 auto 0.16rem;
overflow: hidden;
border-radius: 0.10667rem;
}
.page2 .timeShow p {
width: 100%;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
margin-top: 0.37333rem;
margin-bottom: 0.2rem;
}
.page2 .timeShow p b {
color: #fff;
}
.page2 .timeShow span {
width: 100%;
display: block;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
}
.page2 .timeShow span b {
color: #fff;
}
.page2 .page2GoToRoom {
width: 8.58667rem;
height: 0.65333rem;
display: block;
margin: 0 auto 0.61333rem;
}
.page2 .line {
width: 10rem;
height: 0.4rem;
margin: 0 auto 0.41333rem;
display: block;
}
.page2 .page2Bg {
width: 10rem;
display: block;
margin: 0 auto 1.16rem;
}
.page3 {
display: none;
}
.page3 .timeShow {
width: 9.36rem;
height: 1.70667rem;
background: #032417;
margin: 0 auto 0.16rem;
overflow: hidden;
border-radius: 0.10667rem;
}
.page3 .timeShow p {
width: 100%;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
margin-top: 0.37333rem;
margin-bottom: 0.2rem;
}
.page3 .timeShow p b {
color: #fff;
}
.page3 .timeShow span {
width: 100%;
display: block;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
}
.page3 .timeShow span b {
color: #fff;
}
.page3 .page2GoToRoom {
width: 8.58667rem;
height: 0.65333rem;
display: block;
margin: 0 auto 0.61333rem;
}
.page3 .line {
width: 10rem;
height: 0.4rem;
margin: 0 auto 0.41333rem;
display: block;
}
.page3 .page2Bg {
width: 10rem;
display: block;
margin: 0 auto 1.16rem;
}
.page4 {
display: none;
}
.page4 .timeShow {
width: 9.36rem;
height: 1.70667rem;
background: #032417;
margin: 0 auto 0.16rem;
overflow: hidden;
border-radius: 0.10667rem;
}
.page4 .timeShow p {
width: 100%;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
margin-top: 0.37333rem;
margin-bottom: 0.2rem;
}
.page4 .timeShow p b {
color: #fff;
}
.page4 .timeShow span {
width: 100%;
display: block;
text-align: center;
color: #FFEDBB;
font-size: 0.4rem;
}
.page4 .timeShow span b {
color: #fff;
}
.page4 .page2GoToRoom {
width: 8.58667rem;
height: 0.65333rem;
display: block;
margin: 0 auto 0.61333rem;
}
.page4 .line {
width: 10rem;
height: 0.4rem;
margin: 0 auto 0.41333rem;
display: block;
}
.page4 .page2Bg {
width: 10rem;
display: block;
margin-bottom: 1.16rem;
}
.page4 .swiper {
width: 10rem;
height: 7.5rem;
margin-bottom: 1.37333rem;
}
.page4 .swiper .swiper-slide,
.page4 .swiper .img {
display: block;
width: 100%;
}
.page4 .swiper .swiper-pagination-bullet {
background: #507163;
}
.page4 .swiper .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, 0.6);
display: none;
}
.rule .rule_in {
width: 9.25333rem;
height: 14.36rem;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: url(../images/ruleBG.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .tab {
width: 7.22667rem;
height: 0.88rem;
display: flex;
justify-content: space-between;
margin: 0.02667rem auto 0.64rem;
}
.rule .rule_in .tab div {
width: 50%;
height: 100%;
}
.rule .rule_in .tab1 {
background: url(../images/ruleTab1.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .tab2 {
background: url(../images/ruleTab2.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .box {
width: 7.76rem;
height: 12.3rem;
margin: 0 auto;
overflow-y: scroll;
}
.rule .rule_in .box::-webkit-scrollbar {
display: none;
}
.rule .rule_in .box img {
display: block;
width: 100%;
}

View File

@@ -0,0 +1,788 @@
@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%;
}
}
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Some files were not shown because too many files have changed in this diff Show More