diff --git a/view/peko/modules/boxActivity/css/index.css b/view/peko/modules/boxActivity/css/index.css new file mode 100644 index 0000000..c28f441 --- /dev/null +++ b/view/peko/modules/boxActivity/css/index.css @@ -0,0 +1,384 @@ +html, +body { + width: 100%; + background: url(../images/bg.png) no-repeat; + background-size: 10rem 39.94667rem; +} + +.rabbit { + z-index: 999; + width: 0.8rem; + height: 0.8rem; +} + +.back { + position: fixed; + top: 0.93333rem; + left: 0.45333rem; + z-index: 99; + width: 0.82667rem; + height: 0.82667rem; +} + +.back img { + width: 100%; + height: 100%; +} + +.back p { + color: #fff; + font-size: 0.42667rem; + position: absolute; + width: 9rem; + left: 0; + top: 0; + height: 100%; + text-align: center; + line-height: 0.82667rem; +} + +.layui-m-layershade { + background-color: rgba(0, 0, 0, 0.4) !important; +} + +.header { + width: 10rem; + height: 10rem; + margin: 0 auto -2rem; + background: url(../images/header.png) no-repeat; + background-size: 100% 100%; +} + +.tab { + width: 7.86667rem; + height: 1.01333rem; + line-height: 1.01333rem; + margin: 0 auto 0; + display: flex; + justify-content: space-between; + background: #1D388F; + border: 0.02667rem solid #8FC5FF; + box-sizing: border-box; + border-radius: 0.16rem; +} + +.tab div { + width: 3.94667rem; + text-align: center; + color: rgba(255, 255, 255, 0.8); + font-size: 0.37333rem; +} + +.tab .atc { + color: #fff; + background: url(../images/tabAct.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab { + width: 8.96rem; + height: 2.24rem; + display: flex; + justify-content: space-between; + margin: 0.90667rem auto 0; +} + +.boxTab div { + width: 2.82667rem; + height: 100%; + position: relative; +} + +.boxTab div .top { + width: 1.97333rem; + height: 1.97333rem; + position: absolute; + left: 50%; + transform: translateX(-50%); + bottom: 1.01333rem; +} + +.boxTab div p { + width: 100%; + text-align: center; + color: #696C70; + font-size: 0.32rem; + position: absolute; + left: 0; + top: 1.25333rem; + font-weight: 500; +} + +.boxTab div span { + width: 100%; + text-align: center; + font-size: 0.29333rem; + height: 0.32rem; + line-height: 0.32rem; + color: #696C70; + font-weight: 400; + vertical-align: middle; + position: absolute; + left: 0; + top: 1.70667rem; +} + +.boxTab div span .img { + width: 0.32rem; + height: 0.32rem; + display: inline-block; + vertical-align: middle; + background: url(../images/notDiamond.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab div span b { + vertical-align: middle; +} + +.boxTab .box1 { + background: url(../images/notShow.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .box1 .top { + background: url(../images/notBox1.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .box2 { + background: url(../images/notShow.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .box2 .top { + background: url(../images/notBox2.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .box3 { + background: url(../images/notShow.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .box3 .top { + background: url(../images/notBox3.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act1 { + background: url(../images/show.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act1 .top { + background: url(../images/box1.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act1 p { + color: #FFFFFF; +} + +.boxTab .act1 span .img { + background: url(../images/diamond.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act1 span b { + color: #FFFFFF; +} + +.boxTab .act2 { + background: url(../images/show.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act2 .top { + background: url(../images/box2.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act2 p { + color: #FFFFFF; +} + +.boxTab .act2 span .img { + background: url(../images/diamond.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act2 span b { + color: #FFFFFF; +} + +.boxTab .act3 { + background: url(../images/show.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act3 .top { + background: url(../images/box3.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act3 p { + color: #FFFFFF; +} + +.boxTab .act3 span .img { + background: url(../images/diamond.png) no-repeat; + background-size: 100% 100%; +} + +.boxTab .act3 span b { + color: #FFFFFF; +} + +.page1 .boxList { + width: 9.14667rem; + display: block; + margin: 0.05333rem auto 0; +} + +.page1 .boxList1 { + height: 26.18667rem; +} + +.page1 .boxList2 { + height: 20.72rem; +} + +.page1 .boxList3 { + height: 21.84rem; +} + +.page2 { + display: none; + width: 9.14667rem; + height: 8.3rem; + margin: 0 auto 0; + overflow-y: scroll; +} + +.page2::-webkit-scrollbar { + display: none; +} + +.page2 .div { + width: 9.14667rem; + height: 1.97333rem; + margin-bottom: 0.10667rem; + background: url(../images/liBg.png) no-repeat; + background-size: 100% 100%; + box-sizing: border-box; + padding: 0 0.32rem; +} + +.page2 .div .leftUser { + float: left; + width: 1.76rem; + margin-right: 0.21333rem; + margin-top: 0.21333rem; +} + +.page2 .div .leftUser .tx { + display: block; + width: 1.06667rem; + height: 1.06667rem; + border-radius: 50%; + margin: 0 auto; +} + +.page2 .div .leftUser p { + width: 100%; + text-align: center; + color: #fff; + font-size: 0.29333rem; + font-weight: 500; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-top: 0.05333rem; +} + +.page2 .div .inFo { + float: left; + width: 3rem; + text-align: center; + margin-top: 0.53333rem; +} + +.page2 .div .inFo p { + width: 100%; + text-align: center; + font-weight: 400; + color: rgba(255, 255, 255, 0.9); + font-size: 0.32rem; + margin-bottom: 0.2rem; +} + +.page2 .div .inFo p b { + color: #FFEF8A; +} + +.page2 .div .inFo span { + width: 100%; + display: block; + text-align: center; + font-weight: 400; + color: rgba(255, 255, 255, 0.9); + font-size: 0.32rem; +} + +.page2 .div .inFo span b { + color: #7AE9FF; +} + +.page2 .div .rigtUser { + float: left; + width: 1.76rem; + margin-top: 0.21333rem; +} + +.page2 .div .rigtUser .tx { + display: block; + width: 1.06667rem; + height: 1.06667rem; + border-radius: 50%; + margin: 0 auto; +} + +.page2 .div .rigtUser p { + width: 100%; + text-align: center; + color: #fff; + font-size: 0.29333rem; + font-weight: 500; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-top: 0.05333rem; +} + +.page2 .div .gift { + float: right; + display: block; + width: 1.6rem; + height: 1.6rem; + margin-top: 0.18667rem; +} + +.disclaimers { + width: 100%; + margin-top: 0.24rem; + margin-bottom: 0.26667rem; +} + +.disclaimers p { + width: 100%; + text-align: center; + color: #FFFFFF; + font-size: 0.26667rem; + margin-bottom: 0.13333rem; +} diff --git a/view/peko/modules/boxActivity/css/index.scss b/view/peko/modules/boxActivity/css/index.scss new file mode 100644 index 0000000..aa47e44 --- /dev/null +++ b/view/peko/modules/boxActivity/css/index.scss @@ -0,0 +1,401 @@ +@function px2rem($px) { + @return $px / 75+rem; +} + +html, +body { + width: 100%; + background: url(../images/bg.png) no-repeat; + background-size: px2rem(750) px2rem(2996); +} + +.rabbit { + z-index: 999; + width: px2rem(60); + height: px2rem(60); +} + +.back { + position: fixed; + top: px2rem(70); + left: px2rem(34); + z-index: 99; + width: px2rem(62); + height: px2rem(62); + + img { + width: 100%; + height: 100%; + } + + p { + color: #fff; + font-size: px2rem(32); + position: absolute; + width: 9rem; + left: 0; + top: 0; + height: 100%; + text-align: center; + line-height: px2rem(62); + } +} + +.layui-m-layershade { + background-color: rgba(0, 0, 0, .4) !important; +} + +.header { + width: px2rem(750); + height: px2rem(750); + margin: 0 auto -2rem; + background: url(../images/header.png) no-repeat; + background-size: 100% 100%; +} + +.tab { + width: px2rem(590); + height: px2rem(76); + line-height: px2rem(76); + margin: 0 auto 0; + display: flex; + justify-content: space-between; + background: #1D388F; + border: px2rem(2) solid #8FC5FF; + box-sizing: border-box; + border-radius: px2rem(12); + + div { + width: px2rem(296); + text-align: center; + color: rgba(255, 255, 255, 0.8); + font-size: px2rem(28); + } + + .atc { + color: #fff; + background: url(../images/tabAct.png) no-repeat; + background-size: 100% 100%; + } +} + + +.boxTab { + width: px2rem(672); + height: px2rem(168); + display: flex; + justify-content: space-between; + margin: px2rem(68) auto 0; + + div { + width: px2rem(212); + height: 100%; + position: relative; + + .top { + width: px2rem(148); + height: px2rem(148); + position: absolute; + left: 50%; + transform: translateX(-50%); + bottom: px2rem(76); + } + + p { + width: 100%; + text-align: center; + color: #696C70; + font-size: px2rem(24); + position: absolute; + left: 0; + top: px2rem(94); + font-weight: 500; + } + + span { + width: 100%; + text-align: center; + font-size: px2rem(22); + height: px2rem(24); + line-height: px2rem(24); + color: #696C70; + font-weight: 400; + vertical-align: middle; + position: absolute; + left: 0; + top: px2rem(128); + + .img { + width: px2rem(24); + height: px2rem(24); + display: inline-block; + vertical-align: middle; + background: url(../images/notDiamond.png) no-repeat; + background-size: 100% 100%; + } + + b { + vertical-align: middle; + } + } + } + + .box1 { + background: url(../images/notShow.png) no-repeat; + background-size: 100% 100%; + + .top { + background: url(../images/notBox1.png) no-repeat; + background-size: 100% 100%; + } + } + + .box2 { + background: url(../images/notShow.png) no-repeat; + background-size: 100% 100%; + + .top { + background: url(../images/notBox2.png) no-repeat; + background-size: 100% 100%; + } + } + + .box3 { + background: url(../images/notShow.png) no-repeat; + background-size: 100% 100%; + + .top { + background: url(../images/notBox3.png) no-repeat; + background-size: 100% 100%; + } + } + + .act1 { + background: url(../images/show.png) no-repeat; + background-size: 100% 100%; + + .top { + background: url(../images/box1.png) no-repeat; + background-size: 100% 100%; + } + + + p { + color: #FFFFFF; + } + + span { + .img { + background: url(../images/diamond.png) no-repeat; + background-size: 100% 100%; + } + + b { + color: #FFFFFF; + } + } + } + + .act2 { + background: url(../images/show.png) no-repeat; + background-size: 100% 100%; + + .top { + background: url(../images/box2.png) no-repeat; + background-size: 100% 100%; + } + + + p { + color: #FFFFFF; + } + + span { + .img { + background: url(../images/diamond.png) no-repeat; + background-size: 100% 100%; + } + + b { + color: #FFFFFF; + } + } + } + + .act3 { + background: url(../images/show.png) no-repeat; + background-size: 100% 100%; + + .top { + background: url(../images/box3.png) no-repeat; + background-size: 100% 100%; + } + + p { + color: #FFFFFF; + } + + span { + .img { + background: url(../images/diamond.png) no-repeat; + background-size: 100% 100%; + } + + b { + color: #FFFFFF; + } + } + } +} + +.page1 { + // display: none; + + .boxList { + width: px2rem(686); + display: block; + margin: px2rem(4) auto 0; + } + + .boxList1 { + height: px2rem(1964); + } + + .boxList2 { + height: px2rem(1554); + } + + .boxList3 { + height: px2rem(1638); + } +} + +.page2 { + display: none; + width: px2rem(686); + height: 8.3rem; + margin: 0 auto 0; + overflow-y: scroll; + + &::-webkit-scrollbar { + display: none; + } + + .div { + width: px2rem(686); + height: px2rem(148); + margin-bottom: px2rem(8); + background: url(../images/liBg.png) no-repeat; + background-size: 100% 100%; + box-sizing: border-box; + padding: 0 px2rem(24); + + .leftUser { + float: left; + width: px2rem(132); + margin-right: px2rem(16); + margin-top: px2rem(16); + + .tx { + display: block; + width: px2rem(80); + height: px2rem(80); + border-radius: 50%; + margin: 0 auto; + } + + p { + width: 100%; + text-align: center; + color: #fff; + font-size: px2rem(22); + font-weight: 500; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-top: px2rem(4); + } + } + + .inFo { + float: left; + width: 3rem; + text-align: center; + margin-top: px2rem(40); + + p { + width: 100%; + text-align: center; + font-weight: 400; + color: rgba(255, 255, 255, 0.9); + font-size: px2rem(24); + margin-bottom: px2rem(15); + + b { + color: #FFEF8A; + } + } + + span { + width: 100%; + display: block; + text-align: center; + font-weight: 400; + color: rgba(255, 255, 255, 0.9); + font-size: px2rem(24); + + b { + color: #7AE9FF; + } + } + } + + .rigtUser { + float: left; + width: px2rem(132); + margin-top: px2rem(16); + + .tx { + display: block; + width: px2rem(80); + height: px2rem(80); + border-radius: 50%; + margin: 0 auto; + } + + p { + width: 100%; + text-align: center; + color: #fff; + font-size: px2rem(22); + font-weight: 500; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-top: px2rem(4); + } + } + + .gift { + float: right; + display: block; + width: px2rem(120); + height: px2rem(120); + margin-top: px2rem(14); + } + } +} + +.disclaimers { + width: 100%; + margin-top: px2rem(18); + margin-bottom: px2rem(20); + + p { + width: 100%; + text-align: center; + color: #FFFFFF; + font-size: px2rem(20); + margin-bottom: px2rem(10); + } +} \ No newline at end of file diff --git a/view/peko/modules/boxActivity/images/bg.png b/view/peko/modules/boxActivity/images/bg.png new file mode 100644 index 0000000..00f3b5c Binary files /dev/null and b/view/peko/modules/boxActivity/images/bg.png differ diff --git a/view/peko/modules/boxActivity/images/box1.png b/view/peko/modules/boxActivity/images/box1.png new file mode 100644 index 0000000..49a8b77 Binary files /dev/null and b/view/peko/modules/boxActivity/images/box1.png differ diff --git a/view/peko/modules/boxActivity/images/box2.png b/view/peko/modules/boxActivity/images/box2.png new file mode 100644 index 0000000..897ab19 Binary files /dev/null and b/view/peko/modules/boxActivity/images/box2.png differ diff --git a/view/peko/modules/boxActivity/images/box3.png b/view/peko/modules/boxActivity/images/box3.png new file mode 100644 index 0000000..a7f0621 Binary files /dev/null and b/view/peko/modules/boxActivity/images/box3.png differ diff --git a/view/peko/modules/boxActivity/images/boxList1.png b/view/peko/modules/boxActivity/images/boxList1.png new file mode 100644 index 0000000..df3ed43 Binary files /dev/null and b/view/peko/modules/boxActivity/images/boxList1.png differ diff --git a/view/peko/modules/boxActivity/images/boxList2.png b/view/peko/modules/boxActivity/images/boxList2.png new file mode 100644 index 0000000..85d02a2 Binary files /dev/null and b/view/peko/modules/boxActivity/images/boxList2.png differ diff --git a/view/peko/modules/boxActivity/images/boxList3.png b/view/peko/modules/boxActivity/images/boxList3.png new file mode 100644 index 0000000..f600b3c Binary files /dev/null and b/view/peko/modules/boxActivity/images/boxList3.png differ diff --git a/view/peko/modules/boxActivity/images/diamond.png b/view/peko/modules/boxActivity/images/diamond.png new file mode 100644 index 0000000..e157233 Binary files /dev/null and b/view/peko/modules/boxActivity/images/diamond.png differ diff --git a/view/peko/modules/boxActivity/images/header.png b/view/peko/modules/boxActivity/images/header.png new file mode 100644 index 0000000..c97427f Binary files /dev/null and b/view/peko/modules/boxActivity/images/header.png differ diff --git a/view/peko/modules/boxActivity/images/liBg.png b/view/peko/modules/boxActivity/images/liBg.png new file mode 100644 index 0000000..b538d97 Binary files /dev/null and b/view/peko/modules/boxActivity/images/liBg.png differ diff --git a/view/peko/modules/boxActivity/images/logo.png b/view/peko/modules/boxActivity/images/logo.png new file mode 100644 index 0000000..e428641 Binary files /dev/null and b/view/peko/modules/boxActivity/images/logo.png differ diff --git a/view/peko/modules/boxActivity/images/notBox1.png b/view/peko/modules/boxActivity/images/notBox1.png new file mode 100644 index 0000000..347d648 Binary files /dev/null and b/view/peko/modules/boxActivity/images/notBox1.png differ diff --git a/view/peko/modules/boxActivity/images/notBox2.png b/view/peko/modules/boxActivity/images/notBox2.png new file mode 100644 index 0000000..276bc3f Binary files /dev/null and b/view/peko/modules/boxActivity/images/notBox2.png differ diff --git a/view/peko/modules/boxActivity/images/notBox3.png b/view/peko/modules/boxActivity/images/notBox3.png new file mode 100644 index 0000000..2f68c74 Binary files /dev/null and b/view/peko/modules/boxActivity/images/notBox3.png differ diff --git a/view/peko/modules/boxActivity/images/notDiamond.png b/view/peko/modules/boxActivity/images/notDiamond.png new file mode 100644 index 0000000..a42c578 Binary files /dev/null and b/view/peko/modules/boxActivity/images/notDiamond.png differ diff --git a/view/peko/modules/boxActivity/images/notShow.png b/view/peko/modules/boxActivity/images/notShow.png new file mode 100644 index 0000000..637bc48 Binary files /dev/null and b/view/peko/modules/boxActivity/images/notShow.png differ diff --git a/view/peko/modules/boxActivity/images/show.png b/view/peko/modules/boxActivity/images/show.png new file mode 100644 index 0000000..194696a Binary files /dev/null and b/view/peko/modules/boxActivity/images/show.png differ diff --git a/view/peko/modules/boxActivity/images/tabAct.png b/view/peko/modules/boxActivity/images/tabAct.png new file mode 100644 index 0000000..075a02e Binary files /dev/null and b/view/peko/modules/boxActivity/images/tabAct.png differ diff --git a/view/peko/modules/boxActivity/images/travel/back.png b/view/peko/modules/boxActivity/images/travel/back.png new file mode 100644 index 0000000..7b81adb Binary files /dev/null and b/view/peko/modules/boxActivity/images/travel/back.png differ diff --git a/view/peko/modules/boxActivity/images/xingyunbao.png b/view/peko/modules/boxActivity/images/xingyunbao.png new file mode 100644 index 0000000..d2b3ec8 Binary files /dev/null and b/view/peko/modules/boxActivity/images/xingyunbao.png differ diff --git a/view/peko/modules/boxActivity/index.html b/view/peko/modules/boxActivity/index.html new file mode 100644 index 0000000..58a7cbd --- /dev/null +++ b/view/peko/modules/boxActivity/index.html @@ -0,0 +1,90 @@ + + + +
+ + +白銀寶箱
+ + 600 + +黃金寶箱
+ + 2000 + +鉆石寶箱
+ + 5000 + +我是名字哦哦哦哦哦哦
+赠送 白银宝箱*1 给
+ 获得 牛气冲天*1 +我是名字哦哦哦哦哦哦
+活動最終解釋權歸Piko Live所有
+本活動以及獎勵與Google/蘋果公司無
+${res.sendNick}
+贈送 ${res.luckyBagName}*${res.luckyBagNum} 給
+ 獲得 ${res.giftName}*${res.giftNum} +${res.receiveNick}
+