diff --git a/view/peko/activity/act-ocean/css/index.css b/view/peko/activity/act-ocean/css/index.css index d3a690e..eb71729 100644 --- a/view/peko/activity/act-ocean/css/index.css +++ b/view/peko/activity/act-ocean/css/index.css @@ -298,9 +298,11 @@ body { } .wrap .game-area .draw-time { display: none; - width: 10rem; - height: 8rem; - margin: auto; + width: 2.8rem; + height: 2.84rem; + margin: 1.2rem auto 0.2rem; + background: url(../images/drawBg.png); + background-size: 100% 100%; } .wrap .game-area .draw-time .count-down, .wrap .game-area .draw-time .current-tip { @@ -331,8 +333,9 @@ body { position: absolute; left: 50%; transform: translateX(-50%); - bottom: 3.2rem; + bottom: 3.1rem; width: 100%; + height: 4rem; } .wrap .game-area .draw-time .top-three .top-three-title { display: flex; @@ -349,52 +352,264 @@ body { border: 0.0133333333rem solid white; } .wrap .game-area .draw-time .top-three .top-three-list { - display: flex; - justify-content: space-between; - width: 4.5333333333rem; - margin: auto; + position: relative; } -.wrap .game-area .draw-time .top-three .top-three-list p { - width: 0.9866666667rem; - height: 0.9866666667rem; +.wrap .game-area .draw-time .top-three .top-three-list .no1 { + width: 2.5066666667rem; + height: 2.24rem; + background: linear-gradient(0deg, #FFD871 0%, #FFA352 81%); + border-radius: 0.24rem; + position: relative; + top: 1.3rem; + left: 50%; + transform: translateX(-50%); } -.wrap .game-area .draw-time .top-three .top-three-list p img { - width: 100%; - height: 100%; +.wrap .game-area .draw-time .top-three .top-three-list .no1 .tx { + width: 1.7333333333rem; + height: 1.7333333333rem; border-radius: 50%; - border: 0.0266666667rem solid #FEEF60; + position: absolute; + top: -0.9rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no1 .txBox { + width: 1.7466666667rem; + height: 2.2666666667rem; + position: absolute; + top: -1.41rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no1 .nick { + width: 100%; + font-size: 0.2933333333rem; + color: #fff; + text-align: center; + position: absolute; + top: 1.1733333333rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no1 .num { + width: 100%; + height: 0.3333333333rem; + position: absolute; + bottom: 0.2rem; + display: flex; + justify-content: center; +} +.wrap .game-area .draw-time .top-three .top-three-list .no1 .num .diamond { + width: 0.3333333333rem; + height: 0.3333333333rem; +} +.wrap .game-area .draw-time .top-three .top-three-list .no1 .num span { + font-size: 0.2933333333rem; + color: #fff; +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 { + width: 2.16rem; + height: 1.8933333333rem; + background: linear-gradient(0deg, #7DD5FF 0%, #5A8FFF 100%); + border-radius: 0.24rem; + position: relative; + top: -0.55rem; + left: 1.15rem; +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 .tx { + width: 1.7333333333rem; + height: 1.7333333333rem; + border-radius: 50%; + position: absolute; + top: -0.9rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 .txBox { + width: 1.7466666667rem; + height: 2.2666666667rem; + position: absolute; + top: -1.4rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 .nick { + width: 100%; + font-size: 0.2933333333rem; + color: #fff; + text-align: center; + position: absolute; + top: 1.0133333333rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 .num { + width: 100%; + height: 0.3333333333rem; + position: absolute; + bottom: 0.14rem; + display: flex; + justify-content: center; +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 .num .diamond { + width: 0.3333333333rem; + height: 0.3333333333rem; +} +.wrap .game-area .draw-time .top-three .top-three-list .no2 .num span { + font-size: 0.2933333333rem; + color: #fff; +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 { + width: 2.16rem; + height: 1.8933333333rem; + background: linear-gradient(0deg, #FFAE88 0%, #FC6CCF 81%); + border-radius: 0.24rem; + position: relative; + position: relative; + top: -2.45rem; + left: 6.7rem; +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 .tx { + width: 1.7333333333rem; + height: 1.7333333333rem; + border-radius: 50%; + position: absolute; + top: -0.9rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 .txBox { + width: 1.7466666667rem; + height: 2.2666666667rem; + position: absolute; + top: -1.44rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 .nick { + width: 100%; + font-size: 0.2933333333rem; + color: #fff; + text-align: center; + position: absolute; + top: 1.0133333333rem; + left: 50%; + transform: translateX(-50%); +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 .num { + width: 100%; + height: 0.3333333333rem; + position: absolute; + bottom: 0.14rem; + display: flex; + justify-content: center; +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 .num .diamond { + width: 0.3333333333rem; + height: 0.3333333333rem; +} +.wrap .game-area .draw-time .top-three .top-three-list .no3 .num span { + font-size: 0.2933333333rem; + color: #fff; } .wrap .game-area .draw-time .draw-pic { position: absolute; left: 50%; transform: translateX(-50%); - top: 1.92rem; + top: 1.65rem; z-index: 1; - width: 3.7333333333rem; - height: 3.7333333333rem; + width: 1.3333333333rem; } .wrap .game-area .draw-time .draw-pic img { width: 100%; - height: 100%; } .wrap .game-area .draw-time .award-info { + width: 8rem; + box-sizing: border-box; position: absolute; - top: 8rem; - width: 100%; - font-family: "pingfang-bold"; - text-align: center; - font-size: 0.32rem; - font-weight: bold; + left: 50%; + transform: translateX(-50%); + top: 6.5rem; + display: flex; } .wrap .game-area .draw-time .award-info .desc { - color: #FEEF60; - margin-bottom: 0.16rem; + color: #fff; + font-size: 0.3733333333rem; + font-weight: 600; +} +.wrap .game-area .draw-time .award-info .diamond { + width: 0.35rem; + height: 0.35rem; + margin-left: 0.5rem; + margin-right: 0.1rem; } .wrap .game-area .draw-time .award-info .award-wrap { - color: white; -} -.wrap .game-area .draw-time .award-info .award-wrap .award-total { color: #FEEF60; + font-weight: 600; + font-size: 0.3733333333rem; +} +.wrap .game-area .draw-time .put-wrap { + width: 8rem; + height: 2.44rem; + box-sizing: border-box; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 3.6rem; + display: flex; +} +.wrap .game-area .draw-time .put-wrap .put { + font-size: 0.3733333333rem; + color: #FFFFFF; + font-weight: 600; + margin-right: 0.4rem; + margin-top: 0.3rem; +} +.wrap .game-area .draw-time .put-wrap .list { + width: 6.72rem; + height: 2.7733333333rem; + display: flex; + flex-wrap: wrap; +} +.wrap .game-area .draw-time .put-wrap .list .item { + width: 0.9866666667rem; + height: 1.2rem; + margin-right: 0.92rem; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; +} +.wrap .game-area .draw-time .put-wrap .list .item:nth-child(4n) { + margin-right: 0; +} +.wrap .game-area .draw-time .put-wrap .list .item p { + width: 0.8266666667rem; + height: 0.8266666667rem; + background: url(../images/record_bubble.png) no-repeat; + background-size: 100% 100%; +} +.wrap .game-area .draw-time .put-wrap .list .item p .gift { + width: 75%; + margin-top: 0.1rem; + margin-left: 0.1rem; +} +.wrap .game-area .draw-time .put-wrap .list .item div { + width: 100%; + height: 0.3333333333rem; + display: flex; + align-items: center; + justify-content: center; +} +.wrap .game-area .draw-time .put-wrap .list .item div .diamond { + width: 0.33rem; + height: 0.33rem; +} +.wrap .game-area .draw-time .put-wrap .list .item div .in { + font-size: 0.2666666667rem; + color: #FFFFFF; + font-weight: 600; + white-space: nowrap; } .wrap .info-bottom { position: fixed; @@ -422,6 +637,7 @@ body { color: white; text-indent: 0.1333333333rem; margin-bottom: 0.1333333333rem; + white-space: nowrap; } .wrap .info-bottom .avatar { width: 1.3333333333rem; diff --git a/view/peko/activity/act-ocean/css/index.scss b/view/peko/activity/act-ocean/css/index.scss index e711ce0..2520440 100644 --- a/view/peko/activity/act-ocean/css/index.scss +++ b/view/peko/activity/act-ocean/css/index.scss @@ -106,10 +106,12 @@ body { } } + .more-result { width: px2rem(42); height: px2rem(44); margin-left: 0.2rem; + img { width: 100%; } @@ -382,12 +384,14 @@ body { // 开奖时间 .draw-time { display: none; - width: px2rem(750); - height: px2rem(600); - // width: 6rem; - // height: 6rem; - margin: auto; - // margin-top: px2rem(80); + // width: px2rem(750); + // height: px2rem(600); + width: px2rem(210, ); + height: px2rem(213, ); + margin: 1.2rem auto 0.2rem; + background: url(../images/drawBg.png); + background-size: 100% 100%; + .count-down, .current-tip { font-family: 'pingfang-bold'; @@ -419,8 +423,9 @@ body { position: absolute; left: 50%; transform: translateX(-50%); - bottom: px2rem(240); + bottom: 3.1rem; width: 100%; + height: 4rem; .top-three-title { display: flex; @@ -439,20 +444,189 @@ body { } .top-three-list { - display: flex; - justify-content: space-between; - width: px2rem(340); - margin: auto; + // display: flex; + // justify-content: space-between; + // width: px2rem(340); + // margin: auto; + position: relative; - p { - width: px2rem(74); - height: px2rem(74); + .no1 { + width: px2rem(188); + height: px2rem(168); + background: linear-gradient(0deg, #FFD871 0%, #FFA352 81%); + border-radius: px2rem(18, ); + position: relative; + top: 1.3rem; + left: 50%; + transform: translateX(-50%); - img { - width: 100%; - height: 100%; + .tx { + width: px2rem(130, ); + height: px2rem(130, ); border-radius: 50%; - border: px2rem(2) solid #FEEF60; + position: absolute; + top: -0.9rem; + left: 50%; + transform: translateX(-50%); + + } + + .txBox { + width: px2rem(131, ); + height: px2rem(170, ); + position: absolute; + top: -1.41rem; + left: 50%; + transform: translateX(-50%); + } + + .nick { + width: 100%; + font-size: px2rem(22, ); + color: #fff; + text-align: center; + position: absolute; + top: px2rem(88, ); + left: 50%; + transform: translateX(-50%); + } + + .num { + width: 100%; + height: px2rem(25, ); + position: absolute; + bottom: 0.2rem; + display: flex; + justify-content: center; + + .diamond { + width: px2rem(25, ); + height: px2rem(25, ); + } + + span { + font-size: px2rem(22, ); + color: #fff; + } + } + } + + .no2 { + width: px2rem(162, ); + height: px2rem(142, ); + background: linear-gradient(0deg, #7DD5FF 0%, #5A8FFF 100%); + border-radius: px2rem(18, ); + position: relative; + top: -0.55rem; + left: 1.15rem; + + .tx { + width: px2rem(130, ); + height: px2rem(130, ); + border-radius: 50%; + position: absolute; + top: -0.9rem; + left: 50%; + transform: translateX(-50%); + + } + + .txBox { + width: px2rem(131, ); + height: px2rem(170, ); + position: absolute; + top: -1.4rem; + left: 50%; + transform: translateX(-50%); + } + .nick { + width: 100%; + font-size: px2rem(22, ); + color: #fff; + text-align: center; + position: absolute; + top: px2rem(76, ); + left: 50%; + transform: translateX(-50%); + } + + .num { + width: 100%; + height: px2rem(25, ); + position: absolute; + bottom: 0.14rem; + display: flex; + justify-content: center; + + .diamond { + width: px2rem(25, ); + height: px2rem(25, ); + } + + span { + font-size: px2rem(22, ); + color: #fff; + } + } + } + + .no3 { + width: px2rem(162, ); + height: px2rem(142, ); + background: linear-gradient(0deg, #FFAE88 0%, #FC6CCF 81%); + border-radius: px2rem(18, ); + position: relative; + position: relative; + top: -2.45rem; + left: 6.7rem; + + .tx { + width: px2rem(130, ); + height: px2rem(130, ); + border-radius: 50%; + position: absolute; + top: -0.9rem; + left: 50%; + transform: translateX(-50%); + + } + + .txBox { + width: px2rem(131, ); + height: px2rem(170, ); + position: absolute; + top: -1.44rem; + left: 50%; + transform: translateX(-50%); + } + .nick { + width: 100%; + font-size: px2rem(22, ); + color: #fff; + text-align: center; + position: absolute; + top: px2rem(76, ); + left: 50%; + transform: translateX(-50%); + } + + .num { + width: 100%; + height: px2rem(25, ); + position: absolute; + bottom: 0.14rem; + display: flex; + justify-content: center; + + .diamond { + width: px2rem(25, ); + height: px2rem(25, ); + } + + span { + font-size: px2rem(22, ); + color: #fff; + } } } } @@ -462,39 +636,126 @@ body { position: absolute; left: 50%; transform: translateX(-50%); - top: px2rem(144); + top: 1.65rem; z-index: 1; - width: px2rem(280); - height: px2rem(280); + width: px2rem(100); + // height: px2rem(91); img { width: 100%; - height: 100%; + // height: 100%; + // margin: -0.3rem 0 0 1.18rem; } } .award-info { + width: px2rem(600, ); + // height: px2rem(183, ); + box-sizing: border-box; position: absolute; - top: px2rem(600); - width: 100%; - font-family: 'pingfang-bold'; - text-align: center; - font-size: px2rem(24); - font-weight: bold; + left: 50%; + transform: translateX(-50%); + top: 6.5rem; + display: flex; .desc { - color: #FEEF60; - margin-bottom: px2rem(12); + color: #fff; + font-size: px2rem(28, ); + font-weight: 600; + } + + .diamond { + width: 0.35rem; + height: 0.35rem; + margin-left: 0.5rem; + margin-right: 0.1rem; } .award-wrap { - color: white; + color: #FEEF60; + font-weight: 600; + font-size: px2rem(28, ); + // .award-total { + // color: #FEEF60; + // } + } + } - .award-total { - color: #FEEF60; + .put-wrap { + width: px2rem(600, ); + height: px2rem(183, ); + // line-height: px2rem(183, ); + box-sizing: border-box; + position: absolute; + left: 50%; + transform: translateX(-50%); + top: 3.6rem; + display: flex; + + .put { + font-size: px2rem(28, ); + color: #FFFFFF; + font-weight: 600; + margin-right: 0.4rem; + margin-top: 0.3rem; + } + + .list { + width: px2rem(504, ); + height: px2rem(208, ); + display: flex; + flex-wrap: wrap; + + .item { + width: px2rem(74, ); + height: px2rem(90, ); + margin-right: 0.92rem; + // position: relative; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; + + &:nth-child(4n) { + margin-right: 0; + } + + p { + width: px2rem(62, ); + height: px2rem(62, ); + background: url(../images/record_bubble.png) no-repeat; + background-size: 100% 100%; + + .gift { + width: 75%; + margin-top: 0.1rem; + margin-left: 0.1rem; + } + } + + div { + width: 100%; + height: px2rem(25, ); + display: flex; + align-items: center; + justify-content: center; + + .diamond { + width: 0.33rem; + height: 0.33rem; + } + + .in { + font-size: px2rem(20, ); + color: #FFFFFF; + font-weight: 600; + white-space: nowrap; + } + } } } } + } } @@ -526,6 +787,7 @@ body { color: white; text-indent: px2rem(10); margin-bottom: px2rem(10); + white-space: nowrap; } } diff --git a/view/peko/activity/act-ocean/images/drawBg.png b/view/peko/activity/act-ocean/images/drawBg.png new file mode 100644 index 0000000..83d19ef Binary files /dev/null and b/view/peko/activity/act-ocean/images/drawBg.png differ diff --git a/view/peko/activity/act-ocean/images/no1.png b/view/peko/activity/act-ocean/images/no1.png new file mode 100644 index 0000000..42c259d Binary files /dev/null and b/view/peko/activity/act-ocean/images/no1.png differ diff --git a/view/peko/activity/act-ocean/images/no2.png b/view/peko/activity/act-ocean/images/no2.png new file mode 100644 index 0000000..c84d219 Binary files /dev/null and b/view/peko/activity/act-ocean/images/no2.png differ diff --git a/view/peko/activity/act-ocean/images/no3.png b/view/peko/activity/act-ocean/images/no3.png new file mode 100644 index 0000000..19821cb Binary files /dev/null and b/view/peko/activity/act-ocean/images/no3.png differ diff --git a/view/peko/activity/act-ocean/index.html b/view/peko/activity/act-ocean/index.html index 6aa3ac5..3847388 100644 --- a/view/peko/activity/act-ocean/index.html +++ b/view/peko/activity/act-ocean/index.html @@ -64,9 +64,23 @@