diff --git a/view/molistar/activity/luckyNumbers/css/index.css b/view/molistar/activity/luckyNumbers/css/index.css index eb8a4d2..ad3e6f6 100644 --- a/view/molistar/activity/luckyNumbers/css/index.css +++ b/view/molistar/activity/luckyNumbers/css/index.css @@ -206,9 +206,30 @@ body { height: 2.88rem; margin: 0.32rem auto 0; position: relative; + overflow: hidden; } -.fortunate_number .num_show .left_txt, -.fortunate_number .num_show .right_txt { +.fortunate_number .num_show .left_txt .no_animation, +.fortunate_number .num_show .right_txt .no_animation { + font-family: PingFang SC; + font-weight: 600; + font-size: 1.7333333333rem; + color: #FFF783; + background: linear-gradient(0deg, #FFED26 100%, #FFFFFF 100%); + -webkit-text-stroke: 0.04rem #3A1600; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} +.fortunate_number .num_show .left_txt .animation_box, +.fortunate_number .num_show .right_txt .animation_box { + display: none; +} +.fortunate_number .num_show .left_txt .animation_box .txt_container, +.fortunate_number .num_show .right_txt .animation_box .txt_container { + animation: scrollUpDown 2s linear infinite; /* 线性无限循环 */ + animation-play-state: paused; +} +.fortunate_number .num_show .left_txt .animation_box .txt_container .txt, +.fortunate_number .num_show .right_txt .animation_box .txt_container .txt { font-family: PingFang SC; font-weight: 600; font-size: 1.7333333333rem; @@ -218,17 +239,26 @@ body { -webkit-text-stroke: 0.04rem #3A1600; -webkit-background-clip: text; -webkit-text-fill-color: transparent; + margin: 1.3333333333rem 0; } .fortunate_number .num_show .left_txt { position: absolute; - top: 50%; + top: 30%; left: 20%; } .fortunate_number .num_show .right_txt { position: absolute; - top: 50%; + top: 30%; right: 20%; } +@keyframes scrollUpDown { + 0% { + transform: translateY(0); + } + 100% { + transform: translateY(-33%); + } +} .fortunate_number .history_btn { background-image: url("../images/rules.png"); background-size: 100% 100%; diff --git a/view/molistar/activity/luckyNumbers/css/index.scss b/view/molistar/activity/luckyNumbers/css/index.scss index f55e88b..976cdc8 100644 --- a/view/molistar/activity/luckyNumbers/css/index.scss +++ b/view/molistar/activity/luckyNumbers/css/index.scss @@ -235,32 +235,73 @@ body { height: px2rem(216); margin: px2rem(24) auto 0; position: relative; - + overflow: hidden; .left_txt, .right_txt { - font-family: PingFang SC; - font-weight: 600; - font-size: px2rem(130); - color: #FFF783; - line-height: px2rem(42); - // text-stroke: px2rem(3) #3A1600; - background: linear-gradient(0deg, #FFED26 100%, #FFFFFF 100%); - -webkit-text-stroke: px2rem(3) #3A1600; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; + + .no_animation{ + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(130); + color: #FFF783; + // line-height: px2rem(42); + // text-stroke: px2rem(3) #3A1600; + background: linear-gradient(0deg, #FFED26 100%, #FFFFFF 100%); + -webkit-text-stroke: px2rem(3) #3A1600; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + } + .animation_box{ + display: none; + + .txt_container{ + animation: scrollUpDown 2s linear infinite; /* 线性无限循环 */ + animation-play-state: paused; + .txt{ + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(130); + color: #FFF783; + line-height: px2rem(42); + // text-stroke: px2rem(3) #3A1600; + background: linear-gradient(0deg, #FFED26 100%, #FFFFFF 100%); + -webkit-text-stroke: px2rem(3) #3A1600; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + margin: px2rem(100) 0; + } + } + } + } .left_txt { position: absolute; - top: 50%; + top: 30%; left: 20%; } .right_txt { position: absolute; - top: 50%; + top: 30%; right: 20%; } + + @keyframes scrollUpDown { + 0% { + transform: translateY(0); + } + 100% { + transform: translateY(-33%); + } + } + + // .left_txt, + // .right_txt { + // animation: scrollUpDown 0.5s linear infinite;; + // animation-play-state: paused; + // /* 默认暂停 */ + // } } .history_btn { @@ -633,6 +674,7 @@ body { // 隐藏滚动条(Chrome, Safari, Opera) display: none; } + .txt { font-family: PingFang SC; font-weight: 400; diff --git a/view/molistar/activity/luckyNumbers/css/myHistory.css b/view/molistar/activity/luckyNumbers/css/myHistory.css index 4a4318a..146c020 100644 --- a/view/molistar/activity/luckyNumbers/css/myHistory.css +++ b/view/molistar/activity/luckyNumbers/css/myHistory.css @@ -42,6 +42,22 @@ body { border: 0.04rem solid #FFE96E; padding: 0.5333333333rem 0.3466666667rem 0.2666666667rem; margin-top: 0.4rem; + position: relative; +} +.content_list .content_box .Expired { + position: absolute; + background: #757575; + border-radius: 0px 0.36rem 0px 0.36rem; + font-family: PingFang SC; + font-weight: 500; + font-size: 0.3466666667rem; + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + padding: 0.1066666667rem 0.2933333333rem; + top: 0; + right: 0.0266666667rem; } .content_list .content_box .felx_box { display: flex; @@ -85,6 +101,8 @@ body { font-weight: 400; font-size: 0.3733333333rem; color: #FFF783; + display: flex; + align-items: center; } .content_list .content_box .felx_box .view_results img { width: 0.4rem; diff --git a/view/molistar/activity/luckyNumbers/css/myHistory.scss b/view/molistar/activity/luckyNumbers/css/myHistory.scss index df99018..22d0248 100644 --- a/view/molistar/activity/luckyNumbers/css/myHistory.scss +++ b/view/molistar/activity/luckyNumbers/css/myHistory.scss @@ -51,6 +51,23 @@ body { border: px2rem(3) solid #FFE96E; padding: px2rem(40) px2rem(26) px2rem(20); margin-top: px2rem(30); + position: relative; + + .Expired { + position: absolute; + background: #757575; + border-radius: 0px px2rem(27) 0px px2rem(27); + font-family: PingFang SC; + font-weight: 500; + font-size: px2rem(26); + color: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + padding: px2rem(8) px2rem(22); + top: 0; + right: px2rem(2); + } .felx_box { display: flex; @@ -82,31 +99,33 @@ body { } } - - .Receive_btn { - background-image: url("../images/participate_btn.png"); - background-size: 100% 100%; - font-family: PingFang SC; - font-weight: 600; - font-size: px2rem(28); - color: #5D2600; - display: flex; - align-items: center; - justify-content: center; - padding: px2rem(24) px2rem(32); - } - .view_results { - font-family: PingFang SC; - font-weight: 400; - font-size: px2rem(28); - color: #FFF783; + .Receive_btn { + background-image: url("../images/participate_btn.png"); + background-size: 100% 100%; + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(28); + color: #5D2600; + display: flex; + align-items: center; + justify-content: center; + padding: px2rem(24) px2rem(32); + } - img { - width: px2rem(30); - height: px2rem(30); - } + .view_results { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(28); + color: #FFF783; + display: flex; + align-items: center; + + img { + width: px2rem(30); + height: px2rem(30); } + } } .my_number { @@ -120,6 +139,8 @@ body { line-height: px2rem(42); margin-top: px2rem(28); padding: px2rem(18) px2rem(22); + // display: flex; + // flex-wrap: wrap; } } } diff --git a/view/molistar/activity/luckyNumbers/css/resultsView.css b/view/molistar/activity/luckyNumbers/css/resultsView.css index d81c47f..dfd2adf 100644 --- a/view/molistar/activity/luckyNumbers/css/resultsView.css +++ b/view/molistar/activity/luckyNumbers/css/resultsView.css @@ -48,13 +48,136 @@ body { display: flex; align-items: center; justify-content: center; - padding: 0.56rem 1.8666666667rem; + padding: 0.56rem 0; margin: 0 1.3333333333rem; position: absolute; bottom: -3%; + width: 7.28rem; +} +.top_img .conis_bg .jackpot { + font-weight: 600; } .top_img .conis_bg img { width: 0.6933333333rem; height: 0.6933333333rem; margin-left: 0.1333333333rem; +} + +.Received_Successful { + margin-top: 0.5066666667rem; + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4rem; + color: #FFF783; + line-height: 0.48rem; + text-align: center; +} + +.Put_wallet { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #FFF783; + line-height: 0.48rem; + opacity: 0.5; + text-align: center; + margin-top: 0.2666666667rem; +} + +.receiverList { + margin: 0.6133333333rem 0.2133333333rem 0; +} +.receiverList .title { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.3466666667rem; + color: #FFF783; + line-height: 0.48rem; +} +.receiverList .receiver_content .receiver_box { + background: linear-gradient(0deg, #170D03, #5E2300); + border-radius: 0.4rem; + border: 0.04rem solid #FFE96E; + display: flex; + align-items: center; + padding: 0.2666666667rem 0.3333333333rem; + margin-top: 0.2666666667rem; +} +.receiverList .receiver_content .receiver_box .avatar img { + width: 1.6rem; + height: 1.6rem; + border-radius: 50%; +} +.receiverList .receiver_content .receiver_box .info { + margin-left: 0.2933333333rem; +} +.receiverList .receiver_content .receiver_box .info .name { + display: flex; + align-items: center; +} +.receiverList .receiver_content .receiver_box .info .name .nick { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4rem; + color: #FFF783; +} +.receiverList .receiver_content .receiver_box .info .name .charmUrl, +.receiverList .receiver_content .receiver_box .info .name .experUrl { + width: 0.8rem; + height: 0.3733333333rem; + margin-left: 0.0666666667rem; +} +.receiverList .receiver_content .receiver_box .info .id { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.3466666667rem; + color: #FFF783; + line-height: 0.48rem; + opacity: 0.5; + margin-top: 0.2rem; +} +.receiverList .receiver_content .receiver_box .info .date { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.3466666667rem; + color: #FFF783; + line-height: 0.48rem; + opacity: 0.5; + margin-top: 0.2rem; +} +.receiverList .receiver_content .receiver_box .jackpot { + margin-left: auto; +} +.receiverList .receiver_content .receiver_box .jackpot .num { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.5333333333rem; + color: #FFF783; +} +.receiverList .receiver_content .receiver_box .jackpot img { + width: 0.5066666667rem; + height: 0.5066666667rem; + margin-left: 0.1066666667rem; +} + +.Only_data_30 { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #FFF784; + line-height: 0.5066666667rem; + opacity: 0.5; + margin-top: 0.4933333333rem; + text-align: center; +} + +.No_one_pool { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4533333333rem; + color: #FFF783; + line-height: 0.48rem; + text-align: center; + margin: 5.3333333333rem 0.6666666667rem; + display: none; } \ No newline at end of file diff --git a/view/molistar/activity/luckyNumbers/css/resultsView.scss b/view/molistar/activity/luckyNumbers/css/resultsView.scss index cc16a49..5a2262d 100644 --- a/view/molistar/activity/luckyNumbers/css/resultsView.scss +++ b/view/molistar/activity/luckyNumbers/css/resultsView.scss @@ -44,6 +44,7 @@ body { .top_img { position: relative; + img { width: 100%; } @@ -58,14 +59,154 @@ body { display: flex; align-items: center; justify-content: center; - padding: px2rem(42) px2rem(140); + padding: px2rem(42) 0; margin: 0 px2rem(100); position: absolute; bottom: -3%; + width: px2rem(546); + .jackpot{ + font-weight: 600; + } img { width: px2rem(52); height: px2rem(52); margin-left: px2rem(10); } } + +} + +.Received_Successful { + margin-top: px2rem(38); + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(30); + color: #FFF783; + line-height: px2rem(36); + text-align: center; +} + +.Put_wallet { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(24); + color: #FFF783; + line-height: px2rem(36); + opacity: 0.5; + text-align: center; + margin-top: px2rem(20); +} + +.receiverList { + margin: px2rem(46) px2rem(16) 0; + + .title { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(26); + color: #FFF783; + line-height: px2rem(36); + + } + + .receiver_content { + .receiver_box { + background: linear-gradient(0deg, #170D03, #5E2300); + border-radius: px2rem(30); + border: px2rem(3) solid #FFE96E; + display: flex; + align-items: center; + padding: px2rem(20) px2rem(25); + margin-top: px2rem(20); + .avatar { + img { + width: px2rem(120); + height: px2rem(120); + border-radius: 50%; + } + } + + .info { + margin-left: px2rem(22); + .name { + display: flex; + align-items: center; + + .nick { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(30); + color: #FFF783; + } + + .charmUrl, + .experUrl { + width: px2rem(60); + height: px2rem(28); + margin-left: px2rem(5); + } + + } + + .id { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(26); + color: #FFF783; + line-height: px2rem(36); + opacity: 0.5; + margin-top: px2rem(15); + + } + + .date { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(26); + color: #FFF783; + line-height: px2rem(36); + opacity: 0.5; + margin-top: px2rem(15); + + } + } + + .jackpot { + margin-left: auto; + .num { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(40); + color: #FFF783; + } + + img { + width: px2rem(38); + height: px2rem(38); + margin-left: px2rem(8); + } + } + + } + } +} +.Only_data_30{ +font-family: PingFang SC; +font-weight: 400; +font-size: px2rem(24); +color: #FFF784; +line-height: px2rem(38); +opacity: 0.5; +margin-top: px2rem(37); +text-align: center; +} +.No_one_pool{ +font-family: PingFang SC; +font-weight: 600; +font-size: px2rem(34); +color: #FFF783; +line-height: px2rem(36); +text-align: center; +margin: px2rem(400) px2rem(50); +display: none; } \ No newline at end of file diff --git a/view/molistar/activity/luckyNumbers/images/conis_bg_guoqi.png b/view/molistar/activity/luckyNumbers/images/conis_bg_guoqi.png new file mode 100644 index 0000000..8563c28 Binary files /dev/null and b/view/molistar/activity/luckyNumbers/images/conis_bg_guoqi.png differ diff --git a/view/molistar/activity/luckyNumbers/images/jinbibx_guoqi.png b/view/molistar/activity/luckyNumbers/images/jinbibx_guoqi.png new file mode 100644 index 0000000..97474b8 Binary files /dev/null and b/view/molistar/activity/luckyNumbers/images/jinbibx_guoqi.png differ diff --git a/view/molistar/activity/luckyNumbers/index.html b/view/molistar/activity/luckyNumbers/index.html index f08f170..052d354 100644 --- a/view/molistar/activity/luckyNumbers/index.html +++ b/view/molistar/activity/luckyNumbers/index.html @@ -79,8 +79,70 @@ Today Fortunate Number