diff --git a/view/molistar/activity/payAr/css/index.css b/view/molistar/activity/payAr/css/index.css new file mode 100644 index 0000000..d7f24d2 --- /dev/null +++ b/view/molistar/activity/payAr/css/index.css @@ -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; +} diff --git a/view/molistar/activity/payAr/css/index.scss b/view/molistar/activity/payAr/css/index.scss new file mode 100644 index 0000000..6f5f258 --- /dev/null +++ b/view/molistar/activity/payAr/css/index.scss @@ -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; + } + } + } +} \ No newline at end of file diff --git a/view/molistar/activity/payAr/images/befoBut.png b/view/molistar/activity/payAr/images/befoBut.png new file mode 100644 index 0000000..df7191b Binary files /dev/null and b/view/molistar/activity/payAr/images/befoBut.png differ diff --git a/view/molistar/activity/payAr/images/bigBefoBut.png b/view/molistar/activity/payAr/images/bigBefoBut.png new file mode 100644 index 0000000..2b0eb0a Binary files /dev/null and b/view/molistar/activity/payAr/images/bigBefoBut.png differ diff --git a/view/molistar/activity/payAr/images/bigBut.png b/view/molistar/activity/payAr/images/bigBut.png new file mode 100644 index 0000000..f887bbb Binary files /dev/null and b/view/molistar/activity/payAr/images/bigBut.png differ diff --git a/view/molistar/activity/payAr/images/bigButAct.png b/view/molistar/activity/payAr/images/bigButAct.png new file mode 100644 index 0000000..3b5ee69 Binary files /dev/null and b/view/molistar/activity/payAr/images/bigButAct.png differ diff --git a/view/molistar/activity/payAr/images/box1.png b/view/molistar/activity/payAr/images/box1.png new file mode 100644 index 0000000..912dd96 Binary files /dev/null and b/view/molistar/activity/payAr/images/box1.png differ diff --git a/view/molistar/activity/payAr/images/box1_gift.png b/view/molistar/activity/payAr/images/box1_gift.png new file mode 100644 index 0000000..c43601a Binary files /dev/null and b/view/molistar/activity/payAr/images/box1_gift.png differ diff --git a/view/molistar/activity/payAr/images/boxBg.png b/view/molistar/activity/payAr/images/boxBg.png new file mode 100644 index 0000000..09dc188 Binary files /dev/null and b/view/molistar/activity/payAr/images/boxBg.png differ diff --git a/view/molistar/activity/payAr/images/but.png b/view/molistar/activity/payAr/images/but.png new file mode 100644 index 0000000..346cfee Binary files /dev/null and b/view/molistar/activity/payAr/images/but.png differ diff --git a/view/molistar/activity/payAr/images/butAct.png b/view/molistar/activity/payAr/images/butAct.png new file mode 100644 index 0000000..b9553c2 Binary files /dev/null and b/view/molistar/activity/payAr/images/butAct.png differ diff --git a/view/molistar/activity/payAr/images/close.png b/view/molistar/activity/payAr/images/close.png new file mode 100644 index 0000000..d593e7f Binary files /dev/null and b/view/molistar/activity/payAr/images/close.png differ diff --git a/view/molistar/activity/payAr/images/content1.png b/view/molistar/activity/payAr/images/content1.png new file mode 100644 index 0000000..40d6ca9 Binary files /dev/null and b/view/molistar/activity/payAr/images/content1.png differ diff --git a/view/molistar/activity/payAr/images/content1_gift.png b/view/molistar/activity/payAr/images/content1_gift.png new file mode 100644 index 0000000..9274587 Binary files /dev/null and b/view/molistar/activity/payAr/images/content1_gift.png differ diff --git a/view/molistar/activity/payAr/images/content2.png b/view/molistar/activity/payAr/images/content2.png new file mode 100644 index 0000000..64746d0 Binary files /dev/null and b/view/molistar/activity/payAr/images/content2.png differ diff --git a/view/molistar/activity/payAr/images/content2_gift.png b/view/molistar/activity/payAr/images/content2_gift.png new file mode 100644 index 0000000..8caaf1c Binary files /dev/null and b/view/molistar/activity/payAr/images/content2_gift.png differ diff --git a/view/molistar/activity/payAr/images/content3.png b/view/molistar/activity/payAr/images/content3.png new file mode 100644 index 0000000..dc04d56 Binary files /dev/null and b/view/molistar/activity/payAr/images/content3.png differ diff --git a/view/molistar/activity/payAr/images/content3_gift.png b/view/molistar/activity/payAr/images/content3_gift.png new file mode 100644 index 0000000..f43a87a Binary files /dev/null and b/view/molistar/activity/payAr/images/content3_gift.png differ diff --git a/view/molistar/activity/payAr/images/content4.png b/view/molistar/activity/payAr/images/content4.png new file mode 100644 index 0000000..2fdf083 Binary files /dev/null and b/view/molistar/activity/payAr/images/content4.png differ diff --git a/view/molistar/activity/payAr/images/content4_gift.png b/view/molistar/activity/payAr/images/content4_gift.png new file mode 100644 index 0000000..ded7c75 Binary files /dev/null and b/view/molistar/activity/payAr/images/content4_gift.png differ diff --git a/view/molistar/activity/payAr/images/content5_gift.png b/view/molistar/activity/payAr/images/content5_gift.png new file mode 100644 index 0000000..f74e6c6 Binary files /dev/null and b/view/molistar/activity/payAr/images/content5_gift.png differ diff --git a/view/molistar/activity/payAr/images/dayPub.png b/view/molistar/activity/payAr/images/dayPub.png new file mode 100644 index 0000000..5b15173 Binary files /dev/null and b/view/molistar/activity/payAr/images/dayPub.png differ diff --git a/view/molistar/activity/payAr/images/header.png b/view/molistar/activity/payAr/images/header.png new file mode 100644 index 0000000..2f9d03a Binary files /dev/null and b/view/molistar/activity/payAr/images/header.png differ diff --git a/view/molistar/activity/payAr/images/not_records.png b/view/molistar/activity/payAr/images/not_records.png new file mode 100644 index 0000000..92d1496 Binary files /dev/null and b/view/molistar/activity/payAr/images/not_records.png differ diff --git a/view/molistar/activity/payAr/images/query_icon.png b/view/molistar/activity/payAr/images/query_icon.png new file mode 100644 index 0000000..509d97c Binary files /dev/null and b/view/molistar/activity/payAr/images/query_icon.png differ diff --git a/view/molistar/activity/payAr/images/records.png b/view/molistar/activity/payAr/images/records.png new file mode 100644 index 0000000..9e07b33 Binary files /dev/null and b/view/molistar/activity/payAr/images/records.png differ diff --git a/view/molistar/activity/payAr/images/records_icon.png b/view/molistar/activity/payAr/images/records_icon.png new file mode 100644 index 0000000..b514519 Binary files /dev/null and b/view/molistar/activity/payAr/images/records_icon.png differ diff --git a/view/molistar/activity/payAr/images/rulePub.png b/view/molistar/activity/payAr/images/rulePub.png new file mode 100644 index 0000000..46ea7f7 Binary files /dev/null and b/view/molistar/activity/payAr/images/rulePub.png differ diff --git a/view/molistar/activity/payAr/images/rule_icon.png b/view/molistar/activity/payAr/images/rule_icon.png new file mode 100644 index 0000000..4e4edb2 Binary files /dev/null and b/view/molistar/activity/payAr/images/rule_icon.png differ diff --git a/view/molistar/activity/payAr/images/timeBg.png b/view/molistar/activity/payAr/images/timeBg.png new file mode 100644 index 0000000..7bbeff3 Binary files /dev/null and b/view/molistar/activity/payAr/images/timeBg.png differ diff --git a/view/molistar/activity/payAr/images/travel/back.png b/view/molistar/activity/payAr/images/travel/back.png new file mode 100644 index 0000000..2b3812d Binary files /dev/null and b/view/molistar/activity/payAr/images/travel/back.png differ diff --git a/view/molistar/activity/payAr/index.html b/view/molistar/activity/payAr/index.html new file mode 100644 index 0000000..d096dce --- /dev/null +++ b/view/molistar/activity/payAr/index.html @@ -0,0 +1,161 @@ + + + + + + + مزايا إعادة الشحن الشهرية + + + + + + +
+ +
+ +
+ + + + +
+ +
+ + +
+
+
+
+ 0/0.99 +
+
+ 0/9.99 +
+
+ 0/49.99 +
+
+ +
+ +
+ + 00 : 00 : 00 العد التنازلي 00 يوم +
+ +
+

شحن 99.99 دولارًا أمريكيًا

+
إطار 30 يومًا
+
VIP1لمدة 30 يوم
+
100عملة ذهبية هدية
+
0/99.99
+ +
+
+ +
+

شحن 299.99 دولارًا أمريكيًا

+
VIP3لمدة 30 يوم
+
إطار 30 يومًا
+
دخلة لمدة 15 يوم
+
3*500 عملة ذهبية هدية
+
0/299.99
+ +
+
+ +
+

شحن 799.99 دولارًا أمريكيًا

+
VIP5لمدة 30 يوم
+
إطار 30 يومًا
+
دخلة لمدة 15 يوم
+
فقاعة دردشة 30 يوم
+
3*1000عملة ذهبية هدية
+
ألف عملة ذهبية
+
0/799.99
+ +
+
+ +
+

شحن 1499.99 دولارًا أمريكيًا

+
VIP7لمدة 30 يوم
+
إطار 30 يومًا
+
فقاعة دردشة 30 يوم
+
دخلة لمدة 15 يوم
+
بطاقة 30 يوم
+
3*3000عملة ذهبية هدية
+
100 ألف عملة ذهبية
+
خلفية الصفحة الشخصية 30 يوم
+
0/1499.99
+ +
+
+ +
+

شحن 2999.99 دولارًا أمريكيًا

+
VIP9لمدة 30 يوم
+
إطار مخصص دائم
+
فقاعة دردشة 30 يوم
+
دخلة لمدة 15 يوم
+
بطاقة 30 يوم
+
3*7000عملة ذهبية هدية
+
200 ألف عملة ذهبية
+
خلفية الصفحة الشخصية 30 يوم
+
0/2999.99
+ +
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+ +
+
المكافآت
+
الوقت
+
+ +
+
+ + + + + + + + + + \ No newline at end of file diff --git a/view/molistar/activity/payAr/js/index.js b/view/molistar/activity/payAr/js/index.js new file mode 100644 index 0000000..6e37201 --- /dev/null +++ b/view/molistar/activity/payAr/js/index.js @@ -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 += ` +
  • +
    ${res.rewardDesc}
    +
    ${dateFormat(res.dateTime, 'yyyy/MM/dd')}
    +
  • ` + }) + $('.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; +} \ No newline at end of file diff --git a/view/molistar/common/js/common2.js b/view/molistar/common/js/common2.js index da6a79d..85e4006 100644 --- a/view/molistar/common/js/common2.js +++ b/view/molistar/common/js/common2.js @@ -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/);