新增阿拉伯充值活动

This commit is contained in:
dragon
2024-06-13 10:00:40 +08:00
parent 2c4c459d26
commit 1f3c872153
34 changed files with 2119 additions and 0 deletions

View File

@@ -0,0 +1,847 @@
html,
body {
width: 100%;
background: #33004B;
}
.back {
width: 100%;
height: 0.58667rem;
line-height: 0.58667rem;
position: fixed;
left: 0;
top: 0.93333rem;
text-align: center;
color: #FFFFFF;
font-size: 0.50667rem;
font-weight: bold;
z-index: 10;
}
.back img {
width: 0.58667rem;
height: 0.58667rem;
position: absolute;
left: 0.24rem;
top: 0rem;
}
.header {
width: 10rem;
height: 11.97333rem;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0;
}
.header .records_icon {
width: 1.96rem;
height: 0.74667rem;
position: absolute;
right: 0;
top: 7.89333rem;
}
.header .rule_icon {
width: 1.96rem;
height: 0.74667rem;
position: absolute;
right: 0;
top: 8.77333rem;
}
.box1 {
position: relative;
width: 10rem;
height: 7.42667rem;
margin: -2rem auto 0;
background: url(../images/box1.png) no-repeat;
background-size: 100% 100%;
}
.box1 .box1_gift {
width: 7.85333rem;
height: 2.34667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 2.61333rem;
}
.box1 .but {
width: 2.16rem;
height: 0.69333rem;
position: absolute;
top: 5.38667rem;
background: url(../images/befoBut.png) no-repeat;
background-size: 100% 100%;
}
.box1 .but1 {
left: 1.22667rem;
}
.box1 .but2 {
left: 3.90667rem;
}
.box1 .but3 {
left: 6.69333rem;
}
.box1 .act {
background: url(../images/butAct.png) no-repeat;
background-size: 100% 100%;
}
.box1 .actOut {
background: url(../images/but.png) no-repeat;
background-size: 100% 100%;
}
.box1 .query_icon {
width: 0.61333rem;
height: 0.61333rem;
position: absolute;
top: 0.89333rem;
right: 2.92rem;
}
.box1 .text {
width: 2.16rem;
height: 0.4rem;
line-height: 0.4rem;
text-align: center;
position: absolute;
top: 4.9rem;
color: #fff;
font-size: 0.24rem;
white-space: nowrap;
}
.box1 .text b {
color: #FEFD6E;
}
.box1 .text1 {
left: 1.22667rem;
}
.box1 .text2 {
left: 3.90667rem;
}
.box1 .text3 {
left: 6.69333rem;
}
.content {
width: 10rem;
height: 57.04rem;
background: url(../images/boxBg.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0.26667rem;
overflow: hidden;
}
.content .time {
height: 0.94667rem;
line-height: 0.94667rem;
width: 100%;
text-align: center;
color: #FBF13A;
font-size: 0.32rem;
margin: 1.98667rem auto 0.54667rem;
}
.content .time span {
display: inline-block;
width: 0.72rem;
text-align: center;
height: 0.94667rem;
line-height: 0.94667rem;
background: url(../images/timeBg.png) no-repeat;
background-size: 100% 100%;
}
.content .content1 {
width: 8.46667rem;
height: 7.41333rem;
background: url(../images/content1.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content1 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content1 .content1_gift {
width: 7.62667rem;
height: 2.4rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.56rem;
}
.content .content1 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 5.89333rem;
}
.content .content1 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content1 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content1 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 4.08rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content1 .text1 {
left: 0.50667rem;
}
.content .content1 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content1 .text3 {
right: 0.6rem;
}
.content .content1 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 4.93333rem;
text-align: center;
width: 100%;
}
.content .content1 .schedule b {
color: #FEFD6E;
}
.content .content2 {
width: 8.46667rem;
height: 9.77333rem;
background: url(../images/content2.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content2 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content2 .content2_gift {
width: 5.53333rem;
height: 5.48rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content2 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.content .content2 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content2 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content2 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content2 .text1 {
left: 1.48rem;
}
.content .content2 .text2 {
right: 1.48rem;
}
.content .content2 .text3 {
top: 7.05333rem;
left: 1.48rem;
}
.content .content2 .text4 {
top: 7.05333rem;
right: 1.9rem;
}
.content .content2 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 7.69333rem;
text-align: center;
width: 100%;
}
.content .content2 .schedule b {
color: #FEFD6E;
}
.content .content3 {
width: 8.46667rem;
height: 9.77333rem;
background: url(../images/content3.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content3 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content3 .content3_gift {
width: 7.52rem;
height: 5.48rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content3 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.content .content3 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content3 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content3 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content3 .text1 {
left: 0.65333rem;
}
.content .content3 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content3 .text3 {
right: 0.65333rem;
}
.content .content3 .text4 {
top: 7.05333rem;
left: 0.4rem;
}
.content .content3 .text5 {
top: 7.05333rem;
left: 48%;
transform: translateX(-50%);
}
.content .content3 .text6 {
top: 7.05333rem;
right: 0.4rem;
}
.content .content3 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 7.8rem;
text-align: center;
width: 100%;
}
.content .content3 .schedule b {
color: #FEFD6E;
}
.content .content4 {
width: 8.46667rem;
height: 12.78667rem;
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content4 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content4 .content4_gift {
width: 7.66667rem;
height: 8.85333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content4 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.content .content4 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content4 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content4 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content4 .text1 {
left: 0.65333rem;
}
.content .content4 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content4 .text3 {
right: 0.65333rem;
}
.content .content4 .text4 {
top: 7.2rem;
left: 0.65333rem;
}
.content .content4 .text5 {
top: 7.2rem;
left: 50%;
transform: translateX(-50%);
}
.content .content4 .text6 {
top: 7.2rem;
right: 0.93333rem;
white-space: nowrap;
}
.content .content4 .text7 {
top: 10.4rem;
left: 1.4rem;
text-align: left;
}
.content .content4 .text7 b {
text-align: right;
position: absolute;
right: -0.15rem;
}
.content .content4 .text8 {
top: 10.4rem;
right: 2rem;
}
.content .content4 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 10.93333rem;
text-align: center;
width: 100%;
}
.content .content4 .schedule b {
color: #FEFD6E;
}
.content .content5 {
width: 8.46667rem;
height: 12.78667rem;
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
}
.content .content5 h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: 0.37333rem;
position: absolute;
left: 0;
top: 0.58667rem;
}
.content .content5 .content5_gift {
width: 7.66667rem;
height: 8.85333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.42667rem;
}
.content .content5 .but {
width: 2.97333rem;
height: 0.89333rem;
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.content .content5 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content5 .actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.content .content5 .act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.content .content5 .text {
width: 2.16rem;
text-align: center;
position: absolute;
top: 3.98667rem;
color: #FEFD6E;
font-size: 0.26667rem;
white-space: nowrap;
}
.content .content5 .text1 {
left: 0.65333rem;
}
.content .content5 .text2 {
left: 50%;
transform: translateX(-50%);
}
.content .content5 .text3 {
right: 0.65333rem;
}
.content .content5 .text4 {
top: 7.2rem;
left: 0.65333rem;
}
.content .content5 .text5 {
top: 7.2rem;
left: 50%;
transform: translateX(-50%);
}
.content .content5 .text6 {
top: 7.2rem;
right: 0.93333rem;
white-space: nowrap;
}
.content .content5 .text7 {
top: 10.4rem;
left: 1.4rem;
text-align: left;
}
.content .content5 .text7 b {
text-align: right;
position: absolute;
right: -0.15rem;
}
.content .content5 .text8 {
top: 10.4rem;
right: 2rem;
}
.content .content5 .schedule {
color: #fff;
font-size: 0.26667rem;
position: absolute;
left: 0;
top: 10.93333rem;
text-align: center;
width: 100%;
}
.content .content5 .schedule b {
color: #FEFD6E;
}
.dayPub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.dayPub .dayPub_in {
width: 7.65333rem;
height: 9.16rem;
background: url(../images/dayPub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.dayPub .dayPub_in .close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
.rulePub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.rulePub .rulePub_in {
width: 7.65333rem;
height: 9.16rem;
background: url(../images/rulePub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.rulePub .rulePub_in .close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
.not_records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.not_records .not_records_in {
width: 7.65333rem;
height: 7.97333rem;
background: url(../images/not_records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.not_records .not_records_in .close {
width: 0.6rem;
height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0rem;
}
.records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.records .records_in {
width: 7.65333rem;
height: 7.97333rem;
background: url(../images/records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
}
.records .records_in .close {
width: 0.53333rem;
height: 0.53333rem;
position: absolute;
top: 0rem;
right: 0rem;
}
.records .records_in .title {
width: 5.06667rem;
text-align: center;
display: flex;
justify-content: space-between;
color: #fff;
font-size: 0.38667rem;
margin: 1.88rem auto 0.52rem;
font-weight: bold;
}
.records .records_in .title div {
width: 1.6rem;
}
.records .records_in ul {
width: 5.06667rem;
height: 4.5rem;
overflow-y: scroll;
margin: 0 auto;
}
.records .records_in ul::-webkit-scrollbar {
display: none;
}
.records .records_in ul li {
display: flex;
justify-content: space-between;
margin-bottom: 0.30667rem;
color: #fff;
font-size: 0.32rem;
font-weight: bold;
}

View File

@@ -0,0 +1,852 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: #33004B;
}
.back {
width: 100%;
height: px2rem(44);
line-height: px2rem(44);
position: fixed;
left: 0;
top: px2rem(70);
text-align: center;
color: #FFFFFF;
font-size: px2rem(38);
font-weight: bold;
z-index: 10;
img {
width: px2rem(44);
height: px2rem(44);
position: absolute;
left: px2rem(18);
top: px2rem(0);
}
}
.header {
width: px2rem(750);
height: px2rem(898);
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto 0;
.records_icon {
width: px2rem(147);
height: px2rem(56);
position: absolute;
right: 0;
top: px2rem(592);
}
.rule_icon {
width: px2rem(147);
height: px2rem(56);
position: absolute;
right: 0;
top: px2rem(658);
}
}
.box1 {
position: relative;
width: px2rem(750);
height: px2rem(557);
margin: -2rem auto 0;
background: url(../images/box1.png) no-repeat;
background-size: 100% 100%;
.box1_gift {
width: px2rem(589);
height: px2rem(176);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(196);
}
.but {
width: px2rem(162);
height: px2rem(52);
position: absolute;
top: px2rem(404);
background: url(../images/befoBut.png) no-repeat;
background-size: 100% 100%;
}
.but1 {
left: px2rem(92);
}
.but2 {
left: px2rem(293);
}
.but3 {
left: px2rem(502);
}
.act {
background: url(../images/butAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/but.png) no-repeat;
background-size: 100% 100%;
}
.query_icon {
width: px2rem(46);
height: px2rem(46);
position: absolute;
top: px2rem(67);
right: px2rem(219);
}
.text {
width: px2rem(162);
height: px2rem(30);
line-height: px2rem(30);
text-align: center;
position: absolute;
top: 4.9rem;
color: #fff;
font-size: px2rem(18);
white-space: nowrap;
b {
color: #FEFD6E;
}
}
.text1 {
left: px2rem(92);
}
.text2 {
left: px2rem(293);
}
.text3 {
left: px2rem(502);
}
}
.content {
width: px2rem(750);
height: px2rem(4278);
background: url(../images/boxBg.png) no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto px2rem(20);
overflow: hidden;
.time {
height: px2rem(71);
line-height: px2rem(71);
width: 100%;
text-align: center;
color: #FBF13A;
font-size: px2rem(24);
margin: px2rem(149) auto px2rem(41);
span {
display: inline-block;
width: px2rem(54);
text-align: center;
height: px2rem(71);
line-height: px2rem(71);
background: url(../images/timeBg.png) no-repeat;
background-size: 100% 100%;
}
}
.content1 {
width: px2rem(635);
height: px2rem(556);
background: url(../images/content1.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content1_gift {
width: px2rem(572);
height: px2rem(180);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(117);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(442);
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(306);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(38);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: 0.6rem;
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(370);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content2 {
width: px2rem(635);
height: px2rem(733);
background: url(../images/content2.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content2_gift {
width: px2rem(415);
height: px2rem(411);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(111);
}
.text2 {
right: px2rem(111);
}
.text3 {
top: px2rem(529);
left: px2rem(111);
}
.text4 {
top: px2rem(529);
right: 1.9rem;
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(577);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content3 {
width: px2rem(635);
height: px2rem(733);
background: url(../images/content3.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content3_gift {
width: px2rem(564);
height: px2rem(411);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 8.3rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(49);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: px2rem(49);
}
.text4 {
top: px2rem(529);
left: px2rem(30);
}
.text5 {
top: px2rem(529);
left: 48%;
transform: translateX(-50%);
}
.text6 {
top: px2rem(529);
right: px2rem(30);
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(585);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content4 {
width: px2rem(635);
height: px2rem(959);
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content4_gift {
width: px2rem(575);
height: px2rem(664);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(49);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: px2rem(49);
}
.text4 {
top: px2rem(540);
left: px2rem(49);
}
.text5 {
top: px2rem(540);
left: 50%;
transform: translateX(-50%);
}
.text6 {
top: px2rem(540);
right: px2rem(70);
white-space: nowrap;
}
.text7 {
top: px2rem(780);
left: px2rem(105);
text-align: left;
b {
text-align: right;
position: absolute;
right: -0.15rem;
}
}
.text8 {
top: px2rem(780);
right: px2rem(150);
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(820);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
.content5 {
width: px2rem(635);
height: px2rem(959);
background: url(../images/content4.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0;
position: relative;
h3 {
width: 100%;
text-align: center;
color: #FEFD6E;
font-size: px2rem(28);
position: absolute;
left: 0;
top: px2rem(44);
}
.content5_gift {
width: px2rem(575);
height: px2rem(664);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(107);
}
.but {
width: px2rem(223);
height: px2rem(67);
background: url(../images/bigBefoBut.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 11.4rem;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.actOut {
background: url(../images/bigBut.png) no-repeat;
background-size: 100% 100%;
}
.act {
background: url(../images/bigButAct.png) no-repeat;
background-size: 100% 100%;
}
.text {
width: px2rem(162);
text-align: center;
position: absolute;
top: px2rem(299);
color: #FEFD6E;
font-size: px2rem(20);
white-space: nowrap;
}
.text1 {
left: px2rem(49);
}
.text2 {
left: 50%;
transform: translateX(-50%);
}
.text3 {
right: px2rem(49);
}
.text4 {
top: px2rem(540);
left: px2rem(49);
}
.text5 {
top: px2rem(540);
left: 50%;
transform: translateX(-50%);
}
.text6 {
top: px2rem(540);
right: px2rem(70);
white-space: nowrap;
}
.text7 {
top: px2rem(780);
left: px2rem(105);
text-align: left;
b {
text-align: right;
position: absolute;
right: -0.15rem;
}
}
.text8 {
top: px2rem(780);
right: px2rem(150);
}
.schedule {
color: #fff;
font-size: px2rem(20);
position: absolute;
left: 0;
top: px2rem(820);
text-align: center;
width: 100%;
b {
color: #FEFD6E;
}
}
}
}
.dayPub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.dayPub_in {
width: px2rem(574);
height: px2rem(687);
background: url(../images/dayPub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
}
}
.rulePub {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.rulePub_in {
width: px2rem(574);
height: px2rem(687);
background: url(../images/rulePub.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.close {
width: 0.5rem;
height: 0.5rem;
position: absolute;
top: 0.1rem;
right: 0.1rem;
}
}
}
.not_records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.not_records_in {
width: px2rem(574);
height: px2rem(598);
background: url(../images/not_records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.close {
width: 0.6rem;
height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0rem;
}
}
}
.records {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.records_in {
width: px2rem(574);
height: px2rem(598);
background: url(../images/records.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
.close {
width: px2rem(40);
height: px2rem(40);
position: absolute;
top: 0rem;
right: 0rem;
}
.title {
width: px2rem(380);
text-align: center;
display: flex;
justify-content: space-between;
color: #fff;
font-size: px2rem(29);
margin: px2rem(141) auto px2rem(39);
font-weight: bold;
div {
width: px2rem(120);
}
}
ul {
width: px2rem(380);
height: 4.5rem;
overflow-y: scroll;
margin: 0 auto;
&::-webkit-scrollbar {
display: none;
}
li {
display: flex;
justify-content: space-between;
margin-bottom: px2rem(23);
color: #fff;
font-size: px2rem(24);
font-weight: bold;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 923 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,161 @@
<!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>
<!-- 主视觉 -->
<div class="header">
<!-- 记录 -->
<img src="./images/records_icon.png" alt="" class="records_icon">
<!-- 规则 -->
<img src="./images/rule_icon.png" alt="" class="rule_icon">
</div>
<!-- 盒子1 -->
<div class="box1">
<img src="./images/box1_gift.png" alt="" class="box1_gift">
<img src="./images/query_icon.png" alt="" class="query_icon">
<div class="but but1"></div>
<div class="but but2"></div>
<div class="but but3"></div>
<div class="text text1">
<b>0</b><span>/0.99</span>
</div>
<div class="text text2">
<b>0</b><span>/9.99</span>
</div>
<div class="text text3">
<b>0</b><span>/49.99</span>
</div>
</div>
<!-- 内容 -->
<div class="content">
<!-- 时间 -->
<div class="time">
<!-- يوم <span>00</span> العد التنازلي <span>00</span> : <span>00</span> : <span>00</span> -->
<span class="sp4">00</span> : <span class="sp3">00</span> : <span class="sp2">00</span> العد التنازلي <span
class="sp1">00</span> يوم
</div>
<!-- 内容1 -->
<div class="content1 contentss">
<h3>شحن 99.99 دولارًا أمريكيًا</h3>
<div class="text text1">إطار 30 يومًا</div>
<div class="text text2">VIP1لمدة 30 يوم</div>
<div class="text text3"> 100عملة ذهبية هدية </div>
<div class="schedule"><b>0</b><span>/99.99</span></div>
<img src="./images/content1_gift.png" alt="" class="content1_gift">
<div class="but"></div>
</div>
<!-- 内容2 -->
<div class="content2 contentss">
<h3>شحن 299.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP3لمدة 30 يوم</div>
<div class="text text2">إطار 30 يومًا</div>
<div class="text text3">دخلة لمدة 15 يوم</div>
<div class="text text4">3*500 عملة ذهبية هدية</div>
<div class="schedule"><b>0</b><span>/299.99</span></div>
<img src="./images/content2_gift.png" alt="" class="content2_gift">
<div class="but"></div>
</div>
<!-- 内容3 -->
<div class="content3 contentss">
<h3>شحن 799.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP5لمدة 30 يوم</div>
<div class="text text2">إطار 30 يومًا</div>
<div class="text text3">دخلة لمدة 15 يوم</div>
<div class="text text4">فقاعة دردشة 30 يوم</div>
<div class="text text5">3*1000عملة ذهبية هدية </div>
<div class="text text6">ألف عملة ذهبية </div>
<div class="schedule"><b>0</b><span>/799.99</span></div>
<img src="./images/content3_gift.png" alt="" class="content3_gift">
<div class="but"></div>
</div>
<!-- 内容4 -->
<div class="content4 contentss">
<h3>شحن 1499.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP7لمدة 30 يوم</div>
<div class="text text2">إطار 30 يومًا</div>
<div class="text text3">فقاعة دردشة 30 يوم</div>
<div class="text text4">دخلة لمدة 15 يوم</div>
<div class="text text5">بطاقة 30 يوم</div>
<div class="text text6">3*3000عملة ذهبية هدية</div>
<div class="text text7"><b>100</b> ألف عملة ذهبية</div>
<div class="text text8">خلفية الصفحة الشخصية 30 يوم</div>
<div class="schedule"><b>0</b><span>/1499.99</span></div>
<img src="./images/content4_gift.png" alt="" class="content4_gift">
<div class="but"></div>
</div>
<!-- 内容5 -->
<div class="content5 contentss">
<h3>شحن 2999.99 دولارًا أمريكيًا</h3>
<div class="text text1">VIP9لمدة 30 يوم</div>
<div class="text text2">إطار مخصص دائم</div>
<div class="text text3">فقاعة دردشة 30 يوم</div>
<div class="text text4">دخلة لمدة 15 يوم</div>
<div class="text text5">بطاقة 30 يوم</div>
<div class="text text6">3*7000عملة ذهبية هدية </div>
<div class="text text7"><b>200</b> ألف عملة ذهبية</div>
<div class="text text8">خلفية الصفحة الشخصية 30 يوم</div>
<div class="schedule"><b>0</b><span>/2999.99</span></div>
<img src="./images/content5_gift.png" alt="" class="content5_gift">
<div class="but"></div>
</div>
</div>
<!-- 每日福利弹窗 -->
<div class="dayPub">
<div class="dayPub_in">
<div class="close"></div>
</div>
</div>
<!-- 规则弹窗 -->
<div class="rulePub">
<div class="rulePub_in">
<div class="close"></div>
</div>
</div>
<!-- 没记录弹窗 -->
<div class="not_records">
<div class="not_records_in">
<div class="close"></div>
</div>
</div>
<!-- 记录弹窗 -->
<div class="records">
<div class="records_in">
<img src="./images/close.png" alt="" class="close">
<div class="title">
<div>المكافآت</div>
<div>الوقت</div>
</div>
<ul>
<li>
<div>奖品15天</div>
<div>2024/00/00</div>
</li>
<li>
<div>奖品15天</div>
<div>2024/00/00</div>
</li>
</ul>
</div>
</div>
</body>
</html>
<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>

View File

@@ -0,0 +1,256 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
let layerIndex
var langReplace;
var localLang;
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 countupTime;//倒计时容器
var isLock = true;
var page = 1;
// 初始化函數
$(function () {
getInfoFromClient();
setTimeout(function () {
// 頁面全屏
if (browser.app) {
if (browser.android) {
window.androidJsObj.initShowNav(false)
} else {
window.webkit.messageHandlers.initShowNav.postMessage(0)
}
};
// 頂部返回事件
$('.back img').click(() => {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
getConfig();
}, 100)
})
// 配置接口
function getConfig() {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/rechargeBenefit/getConfig',
success(res) {
if (res.code === 200) {
// 每日活动
res.data.dailyTaskList.forEach((res, i) => {
$(`.box1 .text${i + 1} b`).text(res.process);
$(`.box1 .text${i + 1} span`).text(`/${res.condition}`);
$(`.box1 .but${i + 1}`).attr('key', res.key)
$(`.box1 .but${i + 1}`).attr('click', res.status)
$(`.box1 .but${i + 1}`).removeClass('act').removeClass('actOut');
if (res.status == 1) {
$(`.box1 .but${i + 1}`).addClass('act');
} else if (res.status == 2) {
$(`.box1 .but${i + 1}`).addClass('actOut');
}
})
// 处理月任务倒计时
countup(res.data.endTime - res.timestamp);
// 月任务
res.data.monthTaskList.forEach((res, i) => {
$(`.content .content${i + 1} .schedule b`).text(res.process);
$(`.content .content${i + 1} .schedule span`).text(`/${res.condition}`);
$(`.content .content${i + 1} .but`).attr('key', res.key)
$(`.content .content${i + 1} .but`).attr('click', res.status)
$(`.content .content${i + 1} .but`).removeClass('act').removeClass('actOut');
if (res.status == 1) {
$(`.content .content${i + 1} .but`).addClass('act');
} else if (res.status == 2) {
$(`.content .content${i + 1} .but`).addClass('actOut');
}
})
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
}
})
}
// 倒計時
function countup(leftTime) {
clearTimeout(countupTime)
//獲取當前時間
// var now = nowTime;
var d = 0;
var h = 0;
var m = 0;
var s = 0;
//定義變數 d,h,m,s保存倒計時的時間
var d, h, m, s;
//遞歸每秒調⽤countTime⽅法顯⽰動態時間效果
if (leftTime > 0) {
d = getzf(Math.floor(leftTime / 1000 / 60 / 60 / 24));
h = getzf(Math.floor(leftTime / 1000 / 60 / 60 % 24));
m = getzf(Math.floor(leftTime / 1000 / 60 % 60));
s = getzf(Math.floor(leftTime / 1000 % 60));
//將倒計時賦值到div中
$('.content .time .sp1').text(d);
$('.content .time .sp2').text(h);
$('.content .time .sp3').text(m);
$('.content .time .sp4').text(s);
} else {
// getConfig();
}
if (leftTime > 0) {
leftTime = leftTime - 1000;
}
countupTime = setTimeout(function () {
countup(leftTime);
}, 1000);
}
// 领取接口
function draw(key) {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/rechargeBenefit/draw',
data: { key },
success(res) {
if (res.code === 200) {
getConfig();
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
}
})
}
// 日任务领取按钮|月任务领取按钮
$('.box1 .but,.content .contentss .but').click(function () {
var status = $(this).attr('status');
var key = $(this).attr('key');
if (status == 1) {
draw(key);
}
})
// 记录接口
function pageRecord(page) {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/rechargeBenefit/pageRecord',
data: { page, pageSize: 10 },
success(res) {
if (res.code === 200) {
if (res.data.rows.length == 0 && page == 1) {
$('.not_records').show();
isLock = false;
} else {
var str = '';
res.data.rows.forEache(res => {
str += `
<li>
<div>${res.rewardDesc}</div>
<div>${dateFormat(res.dateTime, 'yyyy/MM/dd')}</div>
</li>`
})
$('.records .records_in ul').append(str);
$('.records').show();
isLock = true;
}
bodyScroolFun(true);
} else {
isLock = true;
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error(err) {
isLock = true;
hideLoading(layerIndex)
toastMsg("خطأ في الشبكة")
}
})
}
// 打开领取记录按钮
$('.header .records_icon').click(function () {
$('.records .records_in ul li').remove();
isLock = true;
page = 1;
pageRecord(page);
})
$('.records .records_in ul').scroll(function () {
let scrollTop = $(this).scrollTop()
let scrollHeight = $('.records .records_in ul')[0].scrollHeight
let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (isLock) {
// 請求下一頁
page++;
pageRecord(page)
isLock = false;
}
}
})
// 关闭每日福利弹窗
$('.dayPub .dayPub_in .close').click(function () {
$('.dayPub').hide();
bodyScroolFun(false);
})
// 关闭规则弹窗
$('.rulePub .rulePub_in .close').click(function () {
$('.rulePub').hide();
bodyScroolFun(false);
})
// 打开规则弹窗
$('.header .rule_icon').click(function () {
$('.rulePub').show();
bodyScroolFun(true);
})
// 关闭无记录弹窗
$('.not_records .not_records_in .close').click(function () {
$('.not_records').hide();
bodyScroolFun(false);
})
// 关闭记录弹窗
$('.records .records_in .close').click(function () {
$('.records').hide();
bodyScroolFun(false);
})
//補0操作
function getzf(num) {
if (parseInt(num) < 10) {
num = '0' + num;
}
return num;
}

View File

@@ -261,6 +261,9 @@ function convert(_url) {
// 根据域名适配环境
function EnvCheck() {
if (window.location.href) {
if(window.location.pathname.match(/payAr/)){
pubInfo['Accept-Language'] = "ar";
}
var _url = window.location.host;
var res = _url.match(/uat/);
var res1 = _url.match(/120.79.211.243/);