diff --git a/view/peko/activity/2024-whiteLove/css/index.css b/view/peko/activity/2024-whiteLove/css/index.css index 52d9374..8896576 100644 --- a/view/peko/activity/2024-whiteLove/css/index.css +++ b/view/peko/activity/2024-whiteLove/css/index.css @@ -37,6 +37,7 @@ body { background-size: 100% 100%; position: relative; margin: 0 auto 0rem; + z-index: 2; } .header .rule_icon { @@ -45,6 +46,8 @@ body { position: absolute; top: 2.4rem; right: 0; + background: url(../images/rule_icon.png) no-repeat; + background-size: 100% 100%; } .tab { @@ -53,6 +56,7 @@ body { margin: 0 auto 0rem; display: flex; justify-content: space-between; + position: relative; } .tab div { @@ -75,254 +79,13 @@ body { color: #663803; } -.page1 .bg1 { +.page1 .page1Bg { width: 10rem; - height: 15.14667rem; - background: url(../images/page1_bg1.png) no-repeat; + height: 33.76rem; + display: block; + margin: -9.98667rem auto 0; + background: url(../images/page1Bg.png) no-repeat; background-size: 100% 100%; - margin: 0 auto 0; - position: relative; -} - -.page1 .bg1 .title { - width: 3.73333rem; - height: 0.66667rem; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 1.38667rem; -} - -.page1 .bg1 .loveBox { - width: 3.38667rem; - height: 3.33333rem; - left: 50%; - transform: translateX(-50%); - top: 5.86rem; - position: absolute; -} - -.page1 .bg1 .mp { - width: 1.93333rem; - height: 0.53333rem; - position: absolute; - left: 50%; - transform: translateX(-58%); - top: 7.09333rem; -} - -.page1 .bg1 p { - position: absolute; - width: 100%; - left: 50%; - transform: translateX(-50%); - text-align: center; - font-size: 0.32rem; - font-weight: 500; - color: #521C98; -} - -.page1 .bg1 .p1 { - top: 2.37333rem; -} - -.page1 .bg1 .p2 { - top: 2.8rem; -} - -.page1 .bg1 .p3 { - top: 8.74667rem; -} - -.page1 .bg1 .p4 { - width: 6.61333rem; - top: 13.44rem; - color: #fff; - font-size: 0.32rem; - font-weight: 500; - line-height: 0.45rem; -} - -.page1 .bg1 .giftList { - width: 2.08rem; - height: 2.08rem; - position: absolute; -} - -.page1 .bg1 .giftList .qp { - width: 2.08rem; - height: 2.08rem; - position: absolute; - left: 0; - top: 0; - background: url(../images/qp.png) no-repeat; - background-size: 100% 100%; - z-index: 2; -} - -.page1 .bg1 .giftList .gift { - width: 1.6rem; - height: 1.6rem; - border-radius: 50%; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 0.24rem; -} - -.page1 .bg1 .giftList .giftName { - width: 100%; - height: 0.45333rem; - line-height: 0.45333rem; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 1.65333rem; - color: #fff; - font-size: 0.32rem; - font-weight: 500; - background: url(../images/giftNameBg.png) no-repeat; - background-size: 100% 100%; - z-index: 3; -} - -.page1 .bg1 .giftList .giftVAlue { - width: 100%; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - bottom: -0.45rem; - color: #521C98; - font-size: 0.32rem; - font-weight: 500; -} - -.page1 .bg1 .filter { - filter: grayscale(100%); -} - -.page1 .bg1 .filter .giftName { - color: #E2E2E2; -} - -.page1 .bg1 .filter .giftVAlue { - color: #99999A; -} - -.page1 .bg1 .giftList1 { - left: 2.32rem; - top: 3.78667rem; -} - -.page1 .bg1 .giftList2 { - left: 6.41333rem; - top: 3.78667rem; -} - -.page1 .bg1 .giftList3 { - left: 6.82667rem; - top: 6.69333rem; -} - -.page1 .bg1 .giftList4 { - left: 5.57333rem; - top: 9.6rem; -} - -.page1 .bg1 .giftList5 { - left: 2.34667rem; - top: 9.6rem; -} - -.page1 .bg1 .giftList6 { - left: 1.09333rem; - top: 6.8rem; -} - -.page1 .bg2 { - width: 10rem; - height: 13.86667rem; - background: url(../images/page1_bg2.png) no-repeat; - background-size: 100% 100%; - position: relative; - margin: 0 auto 0.48rem; -} - -.page1 .bg2 .title { - width: 3.73333rem; - height: 0.66667rem; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 1.44rem; -} - -.page1 .bg2 ul { - width: 9.14667rem; - height: 9.5rem; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 2.2rem; - overflow-y: scroll; -} - -.page1 .bg2 ul::-webkit-scrollbar { - width: 0; - display: none; -} - -.page1 .bg2 ul li { - width: 100%; - height: 0.96rem; - line-height: 0.94667rem; - display: flex; - justify-content: space-between; -} - -.page1 .bg2 ul li div { - width: 50%; - text-align: center; - color: #521C98; - font-weight: 400; -} - -.page1 .bg2 ul li .left { - line-height: normal; -} - -.page1 .bg2 ul li .left p { - color: #521C98; - font-size: 0.32rem; - margin-bottom: 0.02667rem; -} - -.page1 .bg2 ul li .left span { - font-size: 0.26667rem; -} - -.page1 .bg2 ul .liTitle div { - font-size: 0.37333rem; - font-weight: 500; - color: #521C98; -} - -.page1 .bg2 ul .null { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - font-size: 0.37333rem; - font-weight: 500; - color: #521C98; - text-align: center; - width: 100%; -} - -.page1 .bg2 ul .null div { - width: 100%; } .page2 { @@ -689,344 +452,6 @@ body { display: none; } -.page3 .box { - width: 10rem; - height: 10.66667rem; - margin: 0 auto 0rem; - background: url(../images/page3boxBg.png) no-repeat; - background-size: 100% 100%; - position: relative; -} - -.page3 .box .page2Buy_icon { - width: 2.10667rem; - height: 0.96rem; - position: absolute; - right: 0; - top: 3.89333rem; - z-index: 2; -} - -.page3 .box i { - font-style: normal; - position: absolute; - left: 50%; - transform: translateX(-50%); -} - -.page3 .box .i2 { - width: 6.61333rem; - height: 0.90667rem; - text-align: center; - color: #521C98; - font-size: 0.32rem; - line-height: 0.46667rem; - top: 1.26667rem; - font-weight: 500; -} - -.page3 .box .tasks { - width: 8.72rem; - height: 3.36rem; - position: absolute; - top: 2.77333rem; - left: 50%; - transform: translateX(-50%); - background: #F1F1FF; - border-radius: 0.21333rem; -} - -.page3 .box .tasks .giftBox { - width: 2.08rem; - height: 2.08rem; - position: absolute; - left: 0.37333rem; - top: 0.32rem; -} - -.page3 .box .tasks .giftBox .qp { - width: 2.08rem; - height: 2.08rem; - position: absolute; - left: 0; - top: 0; - background: url(../images/page3ts.png) no-repeat; - background-size: 100% 100%; - z-index: 2; -} - -.page3 .box .tasks .giftBox .gift { - width: 1.6rem; - height: 1.6rem; - border-radius: 50%; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 0.24rem; -} - -.page3 .box .tasks .giftBox .giftName { - width: 100%; - height: 0.45333rem; - line-height: 0.45333rem; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 1.65333rem; - color: #fff; - font-size: 0.32rem; - font-weight: 500; - background: url(../images/giftNameBg.png) no-repeat; - background-size: 100% 100%; - z-index: 3; -} - -.page3 .box .tasks .giftBox .giftVAlue { - width: 100%; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - bottom: -0.45rem; - color: #521C98; - font-size: 0.32rem; - font-weight: 500; -} - -.page3 .box .tasks p { - position: absolute; - color: #521C98; - font-size: 0.32rem; - font-weight: 500; - left: 2.82667rem; -} - -.page3 .box .tasks .p1 { - top: 0.45333rem; -} - -.page3 .box .tasks .p2 { - top: 1.22667rem; - color: #7347AD; -} - -.page3 .box .tasks .p3 { - top: 2.34667rem; -} - -.page3 .box .tasks .line { - width: 4.42667rem; - height: 0.32rem; - line-height: 0.32rem; - border-radius: 0.32rem; - position: absolute; - left: 4rem; - top: 1.2rem; - background: #7466c4; -} - -.page3 .box .tasks .line span { - width: 10%; - height: 0.26667rem; - border-radius: 0.26667rem; - position: absolute; - left: 0.02667rem; - top: 50%; - transform: translateY(-50%); - background: linear-gradient(90deg, #B4A8FE 0%, #DBF4FA 100%); -} - -.page3 .box .tasks .line .i { - color: #c4a8a8; - z-index: 2; - position: absolute; - right: -1.8rem; - height: 100%; - line-height: 0.32rem; - width: auto; - text-align: right; -} - -.page3 .box .tasks .buy { - width: 2.13333rem; - height: 0.74667rem; - line-height: 0.74667rem; - vertical-align: middle; - text-align: center; - color: #663803; - font-size: 0.37333rem; - font-weight: 500; - position: absolute; - top: 2.18667rem; - left: 6.26667rem; - background: url(../images/page2But.png) no-repeat; - background-size: 100% 100%; -} - -.page3 .box .tasks .buy img { - display: inline-block; - width: 0.64rem; - height: 0.64rem; -} - -.page3 .box .tasks .act { - background: url(../images/buy_z.png) no-repeat; - background-size: 100% 100%; - color: #fff; -} - -.page3 .box .tasks2 { - width: 8.72rem; - height: 3.36rem; - position: absolute; - top: 6.45333rem; - left: 50%; - transform: translateX(-50%); - background: #F1F1FF; - border-radius: 0.21333rem; -} - -.page3 .box .tasks2 .giftBox { - width: 2.08rem; - height: 2.08rem; - position: absolute; - left: 0.37333rem; - top: 0.32rem; -} - -.page3 .box .tasks2 .giftBox .qp { - width: 2.08rem; - height: 2.08rem; - position: absolute; - left: 0; - top: 0; - background: url(../images/page3qp.png) no-repeat; - background-size: 100% 100%; - z-index: 2; -} - -.page3 .box .tasks2 .giftBox .gift { - width: 1.6rem; - height: 1.6rem; - border-radius: 50%; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 0.24rem; -} - -.page3 .box .tasks2 .giftBox .giftName { - width: 100%; - height: 0.45333rem; - line-height: 0.45333rem; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 1.65333rem; - color: #fff; - font-size: 0.32rem; - font-weight: 500; - background: url(../images/giftNameBg.png) no-repeat; - background-size: 100% 100%; - z-index: 3; -} - -.page3 .box .tasks2 .giftBox .giftVAlue { - width: 100%; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - bottom: -0.45rem; - color: #521C98; - font-size: 0.32rem; - font-weight: 500; -} - -.page3 .box .tasks2 p { - position: absolute; - color: #521C98; - font-size: 0.32rem; - font-weight: 500; - left: 2.82667rem; -} - -.page3 .box .tasks2 .p1 { - top: 0.45333rem; -} - -.page3 .box .tasks2 .p2 { - top: 1.22667rem; - color: #7347AD; -} - -.page3 .box .tasks2 .p3 { - top: 2.34667rem; -} - -.page3 .box .tasks2 .line { - width: 4.42667rem; - height: 0.32rem; - line-height: 0.32rem; - border-radius: 0.32rem; - position: absolute; - left: 4rem; - top: 1.2rem; - background: #7466c4; -} - -.page3 .box .tasks2 .line span { - width: 10%; - height: 0.26667rem; - border-radius: 0.26667rem; - position: absolute; - left: 0.02667rem; - top: 50%; - transform: translateY(-50%); - background: linear-gradient(90deg, #B4A8FE 0%, #DBF4FA 100%); -} - -.page3 .box .tasks2 .line .i { - color: #c4a8a8; - z-index: 2; - position: absolute; - right: -1.8rem; - height: 100%; - line-height: 0.32rem; - width: auto; - text-align: right; -} - -.page3 .box .tasks2 .buy { - width: 2.13333rem; - height: 0.74667rem; - line-height: 0.74667rem; - vertical-align: middle; - text-align: center; - color: #663803; - font-size: 0.37333rem; - font-weight: 500; - position: absolute; - top: 2.18667rem; - left: 6.26667rem; - background: url(../images/page2But.png) no-repeat; - background-size: 100% 100%; -} - -.page3 .box .tasks2 .buy img { - display: inline-block; - width: 0.64rem; - height: 0.64rem; -} - -.page3 .box .tasks2 .act { - background: url(../images/buy_z.png) no-repeat; - background-size: 100% 100%; - color: #fff; -} - .page3 .top3 { width: 10rem; height: 10.45333rem; diff --git a/view/peko/activity/2024-whiteLove/css/index.scss b/view/peko/activity/2024-whiteLove/css/index.scss index 754f463..7034eda 100644 --- a/view/peko/activity/2024-whiteLove/css/index.scss +++ b/view/peko/activity/2024-whiteLove/css/index.scss @@ -42,6 +42,7 @@ body { background-size: 100% 100%; position: relative; margin: 0 auto px2rem(0); + z-index: 2; .rule_icon { width: px2rem(62); @@ -49,6 +50,8 @@ body { position: absolute; top: px2rem(180); right: 0; + background: url(../images/rule_icon.png) no-repeat; + background-size: 100% 100%; } } @@ -58,6 +61,7 @@ body { margin: 0 auto px2rem(0); display: flex; justify-content: space-between; + position: relative; div { width: px2rem(240); @@ -81,259 +85,15 @@ body { } .page1 { + // display: none; - - .bg1 { + .page1Bg { width: px2rem(750); - height: px2rem(1136); - background: url(../images/page1_bg1.png) no-repeat; + height: px2rem(2532); + display: block; + margin: px2rem(-749) auto 0; + background: url(../images/page1Bg.png) no-repeat; background-size: 100% 100%; - margin: 0 auto 0; - position: relative; - - .title { - width: px2rem(280); - height: px2rem(50); - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(104); - } - - .loveBox { - width: px2rem(254); - height: px2rem(250); - left: 50%; - transform: translateX(-50%); - top: 5.86rem; - position: absolute; - } - - .mp{ - width: px2rem(145); - height: px2rem(40); - position: absolute; - left: 50%; - transform: translateX(-58%); - top: px2rem(532); - } - - p { - position: absolute; - width: 100%; - left: 50%; - transform: translateX(-50%); - text-align: center; - font-size: px2rem(24); - font-weight: 500; - color: #521C98; - } - - .p1 { - top: px2rem(178); - } - - .p2 { - top: px2rem(210); - } - - .p3 { - top: px2rem(656); - } - - .p4 { - width: px2rem(496); - top: px2rem(1008); - color: #fff; - font-size: px2rem(24); - font-weight: 500; - line-height: 0.45rem; - } - - .giftList { - width: px2rem(156); - height: px2rem(156); - position: absolute; - - .qp { - width: px2rem(156); - height: px2rem(156); - position: absolute; - left: 0; - top: 0; - background: url(../images/qp.png) no-repeat; - background-size: 100% 100%; - z-index: 2; - } - - .gift { - width: px2rem(120); - height: px2rem(120); - border-radius: 50%; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(18); - } - - .giftName { - width: 100%; - height: px2rem(34); - line-height: px2rem(34); - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(124); - color: #fff; - font-size: px2rem(24); - font-weight: 500; - background: url(../images/giftNameBg.png) no-repeat; - background-size: 100% 100%; - z-index: 3; - - } - - .giftVAlue { - width: 100%; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - bottom: -0.45rem; - color: #521C98; - font-size: px2rem(24); - font-weight: 500; - } - } - - .filter { - filter: grayscale(100%); - - .giftName { - color: #E2E2E2; - } - - .giftVAlue { - color: #99999A; - } - } - - .giftList1 { - left: px2rem(174); - top: px2rem(284); - } - - .giftList2 { - left: px2rem(481); - top: px2rem(284); - } - - .giftList3 { - left: px2rem(512); - top: px2rem(502); - } - - .giftList4 { - left: px2rem(418); - top: px2rem(720); - } - - .giftList5 { - left: px2rem(176); - top: px2rem(720); - } - - .giftList6 { - left: px2rem(82); - top: px2rem(510); - } - } - - .bg2 { - width: px2rem(750); - height: px2rem(1040); - background: url(../images/page1_bg2.png) no-repeat; - background-size: 100% 100%; - position: relative; - margin: 0 auto px2rem(36); - - .title { - width: px2rem(280); - height: px2rem(50); - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(108); - } - - ul { - width: px2rem(686); - height: 9.5rem; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 2.2rem; - overflow-y: scroll; - - &::-webkit-scrollbar { - width: 0; - display: none; - } - - li { - width: 100%; - height: px2rem(72); - line-height: px2rem(71); - display: flex; - justify-content: space-between; - - div { - width: 50%; - text-align: center; - color: #521C98; - font-weight: 400; - } - - .left { - line-height: normal; - - p { - color: #521C98; - font-size: px2rem(24); - margin-bottom: px2rem(2); - } - - span { - font-size: px2rem(20); - } - } - } - - .liTitle { - div { - font-size: px2rem(28); - font-weight: 500; - color: #521C98; - } - } - - .null { - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - font-size: px2rem(28); - font-weight: 500; - color: #521C98; - text-align: center; - width: 100%; - - div { - width: 100%; - } - } - } } } @@ -710,353 +470,6 @@ body { .page3 { display: none; - .box { - width: px2rem(750); - height: px2rem(800); - margin: 0 auto px2rem(0); - background: url(../images/page3boxBg.png) no-repeat; - background-size: 100% 100%; - position: relative; - - .page2Buy_icon { - width: px2rem(158); - height: px2rem(72); - position: absolute; - right: 0; - top: px2rem(292); - z-index: 2; - } - - i { - font-style: normal; - position: absolute; - left: 50%; - transform: translateX(-50%); - } - - .i2 { - width: px2rem(496); - height: px2rem(68); - text-align: center; - color: #521C98; - font-size: px2rem(24); - line-height: px2rem(35); - top: px2rem(95); - font-weight: 500; - } - - .tasks { - width: px2rem(654); - height: px2rem(252); - position: absolute; - top: px2rem(208); - left: 50%; - transform: translateX(-50%); - background: #F1F1FF; - border-radius: px2rem(16); - - .giftBox { - width: px2rem(156); - height: px2rem(156); - position: absolute; - left: px2rem(28); - top: px2rem(24); - - .qp { - width: px2rem(156); - height: px2rem(156); - position: absolute; - left: 0; - top: 0; - background: url(../images/page3ts.png) no-repeat; - background-size: 100% 100%; - z-index: 2; - } - - .gift { - width: px2rem(120); - height: px2rem(120); - border-radius: 50%; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(18); - } - - .giftName { - width: 100%; - height: px2rem(34); - line-height: px2rem(34); - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(124); - color: #fff; - font-size: px2rem(24); - font-weight: 500; - background: url(../images/giftNameBg.png) no-repeat; - background-size: 100% 100%; - z-index: 3; - - } - - .giftVAlue { - width: 100%; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - bottom: -0.45rem; - color: #521C98; - font-size: px2rem(24); - font-weight: 500; - } - } - - p { - position: absolute; - color: #521C98; - font-size: px2rem(24); - font-weight: 500; - left: px2rem(212); - } - - .p1 { - top: px2rem(34); - } - - .p2 { - top: px2rem(92); - color: #7347AD; - } - - .p3 { - top: px2rem(176); - } - - .line { - width: px2rem(332); - height: px2rem(24); - line-height: px2rem(24); - border-radius: px2rem(24); - position: absolute; - left: px2rem(300); - top: px2rem(90); - background: #7466c4; - - span { - width: 10%; - height: px2rem(20); - border-radius: px2rem(20); - position: absolute; - // border: px2rem(2) solid #7151CE; - left: px2rem(2); - top: 50%; - transform: translateY(-50%); - background: linear-gradient(90deg, #B4A8FE 0%, #DBF4FA 100%); - } - - .i { - // color: #fceb02; - color: #c4a8a8; - z-index: 2; - position: absolute; - right: -1.8rem; - height: 100%; - line-height: px2rem(24); - width: auto; - text-align: right; - } - } - - .buy { - width: px2rem(160); - height: px2rem(56); - line-height: px2rem(56); - vertical-align: middle; - text-align: center; - color: #663803; - font-size: px2rem(28); - font-weight: 500; - position: absolute; - top: px2rem(164); - left: px2rem(470); - background: url(../images/page2But.png) no-repeat; - background-size: 100% 100%; - - img { - display: inline-block; - width: px2rem(48); - height: px2rem(48); - - } - } - - .act { - background: url(../images/buy_z.png) no-repeat; - background-size: 100% 100%; - color: #fff; - } - } - - - .tasks2 { - width: px2rem(654); - height: px2rem(252); - position: absolute; - top: px2rem(484); - left: 50%; - transform: translateX(-50%); - background: #F1F1FF; - border-radius: px2rem(16); - - .giftBox { - width: px2rem(156); - height: px2rem(156); - position: absolute; - left: px2rem(28); - top: px2rem(24); - - .qp { - width: px2rem(156); - height: px2rem(156); - position: absolute; - left: 0; - top: 0; - background: url(../images/page3qp.png) no-repeat; - background-size: 100% 100%; - z-index: 2; - } - - .gift { - width: px2rem(120); - height: px2rem(120); - border-radius: 50%; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(18); - } - - .giftName { - width: 100%; - height: px2rem(34); - line-height: px2rem(34); - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: px2rem(124); - color: #fff; - font-size: px2rem(24); - font-weight: 500; - background: url(../images/giftNameBg.png) no-repeat; - background-size: 100% 100%; - z-index: 3; - - } - - .giftVAlue { - width: 100%; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - bottom: -0.45rem; - color: #521C98; - font-size: px2rem(24); - font-weight: 500; - } - } - - p { - position: absolute; - color: #521C98; - font-size: px2rem(24); - font-weight: 500; - left: px2rem(212); - } - - .p1 { - top: px2rem(34); - } - - .p2 { - top: px2rem(92); - color: #7347AD; - } - - .p3 { - top: px2rem(176); - } - - .line { - width: px2rem(332); - height: px2rem(24); - line-height: px2rem(24); - border-radius: px2rem(24); - position: absolute; - left: px2rem(300); - top: px2rem(90); - background: #7466c4; - - span { - width: 10%; - height: px2rem(20); - border-radius: px2rem(20); - position: absolute; - // border: px2rem(2) solid #7151CE; - left: px2rem(2); - top: 50%; - transform: translateY(-50%); - background: linear-gradient(90deg, #B4A8FE 0%, #DBF4FA 100%); - } - - .i { - // color: #fceb02; - color: #c4a8a8; - z-index: 2; - position: absolute; - right: -1.8rem; - height: 100%; - line-height: px2rem(24); - width: auto; - text-align: right; - } - } - - .buy { - width: px2rem(160); - height: px2rem(56); - line-height: px2rem(56); - vertical-align: middle; - text-align: center; - color: #663803; - font-size: px2rem(28); - font-weight: 500; - position: absolute; - top: px2rem(164); - left: px2rem(470); - background: url(../images/page2But.png) no-repeat; - background-size: 100% 100%; - - img { - display: inline-block; - width: px2rem(48); - height: px2rem(48); - - } - } - - .act { - background: url(../images/buy_z.png) no-repeat; - background-size: 100% 100%; - color: #fff; - } - } - } - .top3 { width: px2rem(750); height: px2rem(784); @@ -2062,7 +1475,8 @@ body { &::-webkit-scrollbar { display: none; } - img{ + + img { display: block; width: px2rem(656); margin: 0 auto px2rem(20); diff --git a/view/peko/activity/2024-whiteLove/images/header.png b/view/peko/activity/2024-whiteLove/images/header.png index b1c9276..4f6d593 100644 Binary files a/view/peko/activity/2024-whiteLove/images/header.png and b/view/peko/activity/2024-whiteLove/images/header.png differ diff --git a/view/peko/activity/2024-whiteLove/images/page1Bg.png b/view/peko/activity/2024-whiteLove/images/page1Bg.png new file mode 100644 index 0000000..e8b311b Binary files /dev/null and b/view/peko/activity/2024-whiteLove/images/page1Bg.png differ diff --git a/view/peko/activity/2024-whiteLove/images/page3Rule_inBg.png b/view/peko/activity/2024-whiteLove/images/page3Rule_inBg.png index e76b729..c9bd722 100644 Binary files a/view/peko/activity/2024-whiteLove/images/page3Rule_inBg.png and b/view/peko/activity/2024-whiteLove/images/page3Rule_inBg.png differ diff --git a/view/peko/activity/2024-whiteLove/images/rule_icon.png b/view/peko/activity/2024-whiteLove/images/rule_icon.png new file mode 100644 index 0000000..dba04f3 Binary files /dev/null and b/view/peko/activity/2024-whiteLove/images/rule_icon.png differ diff --git a/view/peko/activity/2024-whiteLove/index.html b/view/peko/activity/2024-whiteLove/index.html index 0e4b09b..371d6c7 100644 --- a/view/peko/activity/2024-whiteLove/index.html +++ b/view/peko/activity/2024-whiteLove/index.html @@ -22,88 +22,14 @@
-
萌動花盒
+
告白攻略
甜蜜升溫
熱戀時刻
-
- - - - - -

活動期間,開出「萌動花盒」中的6種不同禮物

-

可獲得「初心萌動」限定銘牌

-

今日獎勵已發放

-

獎勵自動發放,每日僅可領取一次,點亮結果和獎勵每日中午12點自動刷新

- - - -
-
-
- -
白玫瑰
-
1314鉆
-
-
-
- -
紅玫瑰
-
1314鉆
-
-
-
- -
粉玫瑰
-
1314鉆
-
-
-
- -
彩玫瑰
-
1314鉆
-
-
-
- -
熾熱愛戀
-
1314鉆
-
-
-
- -
純白愛戀
-
1314鉆
-
-
-
- -
- - - - -
- +
@@ -161,51 +87,6 @@
- -
- - 突破熱戀值,領取限時裝扮獎勵! - 女性用戶獲得粉色裝扮,男性用戶獲得藍色裝扮 - 每個用戶僅能獲取1次,將自動發放至「我的裝扮」 - -
-
-
- -
糖果戀人頭飾
-
13140熱戀值
-
-

糖果戀人頭飾-情人節限定

-

熱戀值

-

有效期:24H

-
- - 0/1000 -
-
- 未完成 -
-
-
-
-
- -
糖果戀人氣泡
-
33440熱戀值
-
-

糖果戀人氣泡·情人節限定

-

熱戀值

-

有效期:24H

-
- - 0/1000 -
-
- 未完成 -
-
-
-
@@ -296,27 +177,23 @@
diff --git a/view/peko/activity/2024-whiteLove/js/index.js b/view/peko/activity/2024-whiteLove/js/index.js index c63c061..82164d2 100644 --- a/view/peko/activity/2024-whiteLove/js/index.js +++ b/view/peko/activity/2024-whiteLove/js/index.js @@ -68,21 +68,6 @@ function getRank () { url: urlPrefix + '/act/2024Valentines/cpRank/getRank', success (res) { if (res.code === 200) { - // 處理任務 - res.data.cpTaskList.forEach((val, i) => { - console.log(res.status); - if (val.status == 2) { - $(`.page3 .box .tasks${i + 1} .buy`).addClass("act"); - $(`.page3 .box .tasks${i + 1} .buy`).text("已完成"); - $(`.page3 .box .tasks${i + 1} .line .i`).text(`${res.data.score > val.score ? val.score : res.data.score}/${val.score}`); - $(`.page3 .box .tasks${i + 1} .line span`).css('width', `${(res.data.score / val.score) * 100 >= 100 ? 98.8 : (res.data.score / val.score) * 100}%`) - } else { - $(`.page3 .box .tasks${i + 1} .buy`).removeClass("act"); - $(`.page3 .box .tasks${i + 1} .buy`).text("未完成"); - $(`.page3 .box .tasks${i + 1} .line .i`).text(`${res.data.score > val.score ? val.score : res.data.score}/${val.score}`); - $(`.page3 .box .tasks${i + 1} .line span`).css('width', `${(res.data.score / val.score) * 100 >= 100 ? 98.8 : (res.data.score / val.score) * 100}%`) - } - }); // 處理前三 var top3 = res.data.rankList.slice(0, 3); var notTop3 = res.data.rankList.slice(3); @@ -224,7 +209,7 @@ function getTask_MENG_DONG_HUA_HE () { ` }); $('.page1 .bg1 .giftListBox').append(str); - activityCode1 = 'ACT_2024_VALENTINES_DAY'; + activityCode1 = 'ACT_2024_WHITE_VALENTINES_DAY'; recordPage(activityCode1, 'MENG_DONG_HUA_HE',); if (res.data[0].reward.granted) { $('.page1 .bg1 .p3').show(); @@ -248,10 +233,10 @@ function getTask_TIAN_MI_SHENG_WEN () { networkRequest({ type: 'get', url: urlPrefix + '/activity/task/user', - data: { componentCode: "TIAN_MI_SHENG_WEN" }, + data: { componentCode: "WHITE_TIAN_MI_SHENG_WEN" }, success (res) { if (res.code === 200) { - activityCode2 = 'ACT_2024_VALENTINES_DAY'; + activityCode2 = 'ACT_2024_WHITE_VALENTINES_DAY'; res.data.forEach((res, i) => { $(`.page2 .box .tasks${i + 1} .giftBox .gift`).attr('src', res.taskIcon); $(`.page2 .box .tasks${i + 1} .giftBox .giftName`).text(res.reward.rewardName); @@ -378,7 +363,7 @@ function recordPage (activityCode, componentCode) { `}) } $('.page1 .bg2 ul').append(str); - } else if (componentCode == 'TIAN_MI_SHENG_WEN') { + } else if (componentCode == 'WHITE_TIAN_MI_SHENG_WEN') { $('.buyRecords .buyRecords_in ul li').remove(); if (res.data.records.length <= 0) { str = `
  • 暫無購買記錄~
  • ` @@ -413,7 +398,7 @@ function recordPage (activityCode, componentCode) { } // 打開購買記錄 $('.page2 .box .page2Buy_icon').click(function () { - recordPage(activityCode2, 'TIAN_MI_SHENG_WEN',); + recordPage(activityCode2, 'WHITE_TIAN_MI_SHENG_WEN',); $('.buyRecords').show(); bodyScroolFun(true); })