diff --git a/view/peko/activity/2024-aprilFoolsDay/css/index.css b/view/peko/activity/2024-aprilFoolsDay/css/index.css index 586bfef..b99bb2a 100644 --- a/view/peko/activity/2024-aprilFoolsDay/css/index.css +++ b/view/peko/activity/2024-aprilFoolsDay/css/index.css @@ -33,8 +33,178 @@ body { .header { width: 10rem; height: 13.2rem; - position: fixed; - margin: 0 auto 0; + position: relative; + margin: 0 auto 0.30667rem; background: url(../images/header.png) no-repeat; background-size: 100% 100%; } + +.header .qualifyGift_icon { + width: 0.66667rem; + height: 1.68rem; + position: absolute; + top: 2.66667rem; + right: 0; +} + +.header .rule_icon { + width: 0.66667rem; + height: 1.68rem; + position: absolute; + top: 4.58667rem; + right: 0; +} + +.tab { + width: 9.33333rem; + height: 1.14667rem; + margin: 0 auto 0.32rem; + position: relative; + display: flex; + justify-content: space-between; +} + +.tab div { + width: 2.24rem; + height: 1.14667rem; +} + +.tab .tab1 { + background: url(../images/tab1.png) no-repeat; + background-size: 100% 100%; +} + +.tab .tab2 { + background: url(../images/tab2.png) no-repeat; + background-size: 100% 100%; +} + +.tab .tab3 { + background: url(../images/tab3.png) no-repeat; + background-size: 100% 100%; +} + +.tab .tab4 { + background: url(../images/tab4.png) no-repeat; + background-size: 100% 100%; +} + +.tab .act1 { + background: url(../images/tabAct1.png) no-repeat; + background-size: 100% 100%; +} + +.tab .act2 { + background: url(../images/tabAct2.png) no-repeat; + background-size: 100% 100%; +} + +.tab .act3 { + background: url(../images/tabAct3.png) no-repeat; + background-size: 100% 100%; +} + +.tab .act4 { + background: url(../images/tabAct4.png) no-repeat; + background-size: 100% 100%; +} + +.page1 .box1 { + width: 9.2rem; + height: 11.12rem; + background: url(../images/pageBox1.png) no-repeat; + background-size: 100% 100%; + margin: 0 auto 0.38667rem; + position: relative; + overflow: hidden; +} + +.page1 .box1 .pageBox1Rule_icon { + width: 1.78667rem; + height: 0.56rem; + position: absolute; + right: 0; + top: 1.17333rem; +} + +.page1 .box1 .time { + width: 5.28rem; + height: 0.77333rem; + line-height: 0.77333rem; + text-align: center; + color: #fff; + font-size: 0.37333rem; + font-weight: 400; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 1.49333rem; + background: url(../images/page1Box1timeBg.png) no-repeat; + background-size: 100% 100%; +} + +.page1 .box1 .time span { + border-radius: 0.06667rem; + padding: 0.01333rem 0.02667rem; + color: #BF294A; + font-weight: bold; + background: #fff; +} + +.page1 .box1 .text { + width: 7.92rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 2.78667rem; + color: #fff; + font-size: 0.32rem; + font-weight: 400; + text-align: center; + line-height: 0.45rem; +} + +.page1 .box1 .text b { + color: #FBBE47; +} + +.page1 .box1 .giftBoxs { + width: 8.26667rem; + height: 5.8rem; + margin: 4.50667rem auto 0; + display: flex; + justify-content: space-around; + flex-wrap: wrap; +} + +.page1 .box1 .giftBoxs div { + width: 2.56rem; + height: 2.69333rem; + margin-bottom: 0.4rem; + background: url(../images/pageBox1qp.png) no-repeat; + background-size: 100% 100%; + text-align: center; + color: #fff; + font-size: 0.32rem; + font-weight: 500; +} + +.page1 .box1 .giftBoxs div img { + display: block; + width: 1.70667rem; + height: 1.70667rem; + margin: 0.22667rem auto 0.21333rem; +} + +.page1 .box1 .giftBoxs .act { + background: url(../images/pageBox1qpAct.png) no-repeat; + background-size: 100% 100%; +} + +.page1 .box2 { + width: 9.2rem; + height: 13.25333rem; + background: url(../images/page1Box2.png) no-repeat; + background-size: 100% 100%; + margin: 0 auto 1.84rem; +} diff --git a/view/peko/activity/2024-aprilFoolsDay/css/index.scss b/view/peko/activity/2024-aprilFoolsDay/css/index.scss index 20aa07e..a232665 100644 --- a/view/peko/activity/2024-aprilFoolsDay/css/index.scss +++ b/view/peko/activity/2024-aprilFoolsDay/css/index.scss @@ -35,11 +35,183 @@ body { } } -.header{ +.header { width: px2rem(750); height: px2rem(990); - position: fixed; - margin: 0 auto 0; + position: relative; + margin: 0 auto px2rem(23); background: url(../images/header.png) no-repeat; background-size: 100% 100%; + + .qualifyGift_icon { + width: px2rem(50); + height: px2rem(126); + position: absolute; + top: px2rem(200); + right: 0; + } + + .rule_icon { + width: px2rem(50); + height: px2rem(126); + position: absolute; + top: px2rem(344); + right: 0; + } } + +.tab { + width: px2rem(700); + height: px2rem(86); + margin: 0 auto px2rem(24); + position: relative; + display: flex; + justify-content: space-between; + + div { + width: px2rem(168); + height: px2rem(86); + } + + .tab1 { + background: url(../images/tab1.png) no-repeat; + background-size: 100% 100%; + } + + .tab2 { + background: url(../images/tab2.png) no-repeat; + background-size: 100% 100%; + } + + .tab3 { + background: url(../images/tab3.png) no-repeat; + background-size: 100% 100%; + } + + .tab4 { + background: url(../images/tab4.png) no-repeat; + background-size: 100% 100%; + } + + .act1 { + background: url(../images/tabAct1.png) no-repeat; + background-size: 100% 100%; + } + + .act2 { + background: url(../images/tabAct2.png) no-repeat; + background-size: 100% 100%; + } + + .act3 { + background: url(../images/tabAct3.png) no-repeat; + background-size: 100% 100%; + } + + .act4 { + background: url(../images/tabAct4.png) no-repeat; + background-size: 100% 100%; + } +} + +.page1 { + .box1 { + width: px2rem(690); + height: px2rem(834); + background: url(../images/pageBox1.png) no-repeat; + background-size: 100% 100%; + margin: 0 auto px2rem(29); + position: relative; + overflow: hidden; + + .pageBox1Rule_icon { + width: px2rem(134); + height: px2rem(42); + position: absolute; + right: 0; + top: px2rem(88); + } + + .time { + width: px2rem(396); + height: px2rem(58); + line-height: px2rem(58); + text-align: center; + color: #fff; + font-size: px2rem(28); + font-weight: 400; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(112); + background: url(../images/page1Box1timeBg.png) no-repeat; + background-size: 100% 100%; + + span { + border-radius: px2rem(5); + padding: px2rem(1) px2rem(2); + color: #BF294A; + font-weight: bold; + background: #fff; + } + } + + .text { + width: px2rem(594); + position: absolute; + left: 50%; + transform: translateX(-50%); + top: px2rem(209); + color: #fff; + font-size: px2rem(24); + font-weight: 400; + text-align: center; + line-height: 0.45rem; + + b { + color: #FBBE47; + } + + } + + .giftBoxs { + width: px2rem(620); + height: px2rem(435); + margin: px2rem(338) auto 0; + display: flex; + justify-content: space-around; + flex-wrap: wrap; + + div { + width: px2rem(192); + height: px2rem(202); + margin-bottom: px2rem(30); + background: url(../images/pageBox1qp.png) no-repeat; + background-size: 100% 100%; + text-align: center; + color: #fff; + font-size: px2rem(24); + font-weight: 500; + + img { + display: block; + width: px2rem(128); + height: px2rem(128); + margin: px2rem(17) auto px2rem(16); + } + } + + .act { + background: url(../images/pageBox1qpAct.png) no-repeat; + background-size: 100% 100%; + } + } + } + .box2{ + width: px2rem(690); + height: px2rem(994); + background: url(../images/page1Box2.png) no-repeat; + background-size: 100% 100%; + margin: 0 auto px2rem(138); + } +} \ No newline at end of file diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Box1timeBg.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Box1timeBg.png new file mode 100644 index 0000000..224e477 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Box1timeBg.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Box2.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Box2.png new file mode 100644 index 0000000..a981340 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Box2.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Box2My.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Box2My.png new file mode 100644 index 0000000..654fab5 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Box2My.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Box2TopBg.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Box2TopBg.png new file mode 100644 index 0000000..5870ba5 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Box2TopBg.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1LiBg.png b/view/peko/activity/2024-aprilFoolsDay/images/page1LiBg.png new file mode 100644 index 0000000..4bccde8 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1LiBg.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Top1.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Top1.png new file mode 100644 index 0000000..568bcb8 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Top1.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Top2.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Top2.png new file mode 100644 index 0000000..a343c16 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Top2.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/page1Top3.png b/view/peko/activity/2024-aprilFoolsDay/images/page1Top3.png new file mode 100644 index 0000000..c9f8418 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/page1Top3.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1.png new file mode 100644 index 0000000..b31aab4 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift1.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift1.png new file mode 100644 index 0000000..3bcf223 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift1.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift2.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift2.png new file mode 100644 index 0000000..d14f376 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift2.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift3.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift3.png new file mode 100644 index 0000000..5737c0a Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift3.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift4.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift4.png new file mode 100644 index 0000000..07c92fe Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift4.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift5.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift5.png new file mode 100644 index 0000000..860cd2e Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Gift5.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Rule_icon.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Rule_icon.png new file mode 100644 index 0000000..4375b92 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1Rule_icon.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1qp.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1qp.png new file mode 100644 index 0000000..4811838 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1qp.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/images/pageBox1qpAct.png b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1qpAct.png new file mode 100644 index 0000000..8918d64 Binary files /dev/null and b/view/peko/activity/2024-aprilFoolsDay/images/pageBox1qpAct.png differ diff --git a/view/peko/activity/2024-aprilFoolsDay/index.html b/view/peko/activity/2024-aprilFoolsDay/index.html index e13e556..2244fe4 100644 --- a/view/peko/activity/2024-aprilFoolsDay/index.html +++ b/view/peko/activity/2024-aprilFoolsDay/index.html @@ -16,7 +16,50 @@