



diff --git a/view/molistar/activity/adventureTreasureHunt/css/index.css b/view/molistar/activity/adventureTreasureHunt/css/index.css index c8f98c04..7964f96d 100644 --- a/view/molistar/activity/adventureTreasureHunt/css/index.css +++ b/view/molistar/activity/adventureTreasureHunt/css/index.css @@ -1,3 +1,4 @@ +@charset "UTF-8"; html, body { width: 100%; @@ -60,7 +61,7 @@ body { background-size: 100% 100%; position: absolute; right: 0; - top: 6.6666666667rem; + top: 7.8666666667rem; padding: 0 0.0933333333rem 0 0.4rem; } .header .Record { @@ -75,7 +76,7 @@ body { background-size: 100% 100%; position: absolute; right: 0; - top: 8rem; + top: 8.9333333333rem; padding: 0 0.0933333333rem 0 0.4rem; } .header .bx_img { @@ -83,10 +84,342 @@ body { height: 8rem; padding-top: 5.7333333333rem; } +.header .danmu { + width: 10rem; + height: 2.6666666667rem; + overflow: hidden; + box-sizing: border-box; + direction: ltr; + position: absolute; + top: 6rem; +} +.header .danmu #my_container { + width: 100%; + height: 100%; + box-sizing: border-box; +} +.header .danmu #my_container .my_container_in { + line-height: 0.5866666667rem; + border-radius: 0.5866666667rem; + background: rgba(0, 0, 0, 0.5); + box-sizing: border-box; + padding: 0.04rem 0.2133333333rem 0 0.08rem; + overflow: hidden; + margin-bottom: 0.4rem; +} +.header .danmu #my_container .my_container_in img { + display: block; + float: left; + width: 0.5866666667rem; + height: 0.5866666667rem; + margin-top: 0.0293333333rem; + border-radius: 50%; +} +.header .danmu #my_container .my_container_in span { + display: block; + float: left; + color: #FFFFFF; + font-size: 0.3466666667rem; + font-weight: 500; + margin: 0 0.1333333333rem; +} +.header .Lottery_button { + display: flex; + justify-content: space-between; + margin: 0 0.1866666667rem; +} +.header .Lottery_button .once { + background-image: url("../images/once_btn.png"); + background-size: 100% 100%; + width: 4.6933333333rem; + height: 1.8933333333rem; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; +} .header .Lottery_button .once .title { font-family: PingFang SC; font-weight: 600; font-size: 0.4533333333rem; color: #2F1300; line-height: 0.48rem; +} +.header .Lottery_button .once .txt { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.3466666667rem; + color: #2F1300; + line-height: 0.48rem; +} +.header .Lottery_button .Ten_times { + background-image: url("../images/ten_btn.png"); + background-size: 100% 100%; + width: 4.6933333333rem; + height: 1.8933333333rem; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; +} +.header .Lottery_button .Ten_times .title { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4533333333rem; + color: #2F1300; + line-height: 0.48rem; +} +.header .Lottery_button .Ten_times .txt { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.3466666667rem; + color: #2F1300; + line-height: 0.48rem; +} +.header .tip_title { + background: rgba(0, 0, 0, 0.5); + border-radius: 0.24rem; + border: 0.0266666667rem solid #FFEFB0; + margin: 0.3733333333rem 0.1866666667rem; + padding: 0.36rem 0.8rem; + text-align: center; +} +.header .tip_title .title { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4rem; + color: #FFFCD0; + line-height: 0.48rem; +} +.header .tip_title .txt { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.3733333333rem; + color: #FFFCD0; + line-height: 0.48rem; + margin-top: 0.3733333333rem; +} + +.tab_list { + display: flex; + align-items: center; + justify-content: space-between; +} +.tab_list .Adventure_btn { + flex: 1; + background-image: url("../images/Adventure_btn_bg.png"); + background-size: 100% 100%; + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4266666667rem; + color: #FFABAB; + display: flex; + align-items: center; + justify-content: center; + padding: 0.6133333333rem 0.4rem; +} +.tab_list .acitve { + background-image: url("../images/active_bg.png"); + color: #FFFCD0; +} + +.adventureTask .top { + background-image: url("../images/top_bg.png"); + background-size: 100% 100%; + height: 2.0666666667rem; + width: 100%; +} +.adventureTask .content { + background-image: url("../images/content_bg.png"); + background-size: 100% 100%; +} +.adventureTask .content .time_box { + background: rgba(0, 0, 0, 0.5); + border-radius: 0.3466666667rem; + font-family: PingFang SC; + font-weight: 500; + font-size: 0.3733333333rem; + color: #FFFCD0; + padding: 0.1866666667rem 0.3466666667rem; + margin: 0 2.2666666667rem; + text-align: center; +} +.adventureTask .content .recharge { + display: flex; + align-items: center; + justify-content: center; + margin-top: 0.4rem; +} +.adventureTask .content .recharge .avatar { + width: 1.3333333333rem; + height: 1.3333333333rem; + border-radius: 50%; +} +.adventureTask .content .recharge .data_box { + margin-left: 0.24rem; +} +.adventureTask .content .recharge .data_box .txt { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.3733333333rem; + color: #FFFCD0; + display: flex; + align-items: center; +} +.adventureTask .content .recharge .data_box .txt .Today_num, +.adventureTask .content .recharge .data_box .txt .Weekly_num { + color: #FFFFFF; + font-weight: 600; +} +.adventureTask .content .recharge .data_box .txt img { + width: 0.36rem; + height: 0.36rem; + margin: 0 0.08rem; +} +.adventureTask .content .recharge .data_box .txt:last-child { + margin-top: 0.2933333333rem; +} +.adventureTask .content .tip_box { + background: rgba(0, 0, 0, 0.5); + border-radius: 0.3466666667rem; + border: 0.0266666667rem solid #FFD435; + padding: 0.2666666667rem; + margin: 0.3733333333rem 0.5333333333rem; +} +.adventureTask .content .tip_box .txt { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.3733333333rem; + color: #FFFCD0; + display: flex; + align-items: center; +} +.adventureTask .content .tip_box .txt .num { + color: #FFFFFF; + font-weight: 600; +} +.adventureTask .content .tip_box .txt img { + width: 0.2933333333rem; + height: 0.2933333333rem; +} +.adventureTask .content .tip_box .Points_mission { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #FFFCD0; + opacity: 0.6; + margin-top: 0.2666666667rem; +} +.adventureTask .content .task_list { + background: rgba(0, 0, 0, 0.5); + border-radius: 0.3466666667rem; + border: 0.0266666667rem solid #FFD435; + margin: 1.0666666667rem 0.5333333333rem 0; + padding: 0.64rem 0 0.5333333333rem; + position: relative; +} +.adventureTask .content .task_list .top_img { + background-image: url("../images/task_top_bg.png"); + background-size: 100% 100%; + width: 4.6933333333rem; + height: 1.3866666667rem; + display: flex; + align-items: center; + justify-content: center; + font-family: PingFang SC; + font-weight: 600; + font-size: 0.4266666667rem; + color: #FFFCD0; + position: absolute; + top: -0.7733333333rem; + left: 50%; + transform: translateX(-50%); +} +.adventureTask .content .task_list .title { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #FFFCD0; + text-align: center; + margin-top: 0.1333333333rem; +} +.adventureTask .content .task_list .title .num { + color: #FFFFFF; + font-weight: 600; + font-size: 0.4266666667rem; +} +.adventureTask .content .task_list .wrap .wrap_box { + background-image: url("../images/wrap_content_bg.png"); + background-size: 100% 100%; + display: flex; + align-items: center; + height: 1.92rem; + padding: 0 0.6666666667rem; + margin: 0.3466666667rem 0.1333333333rem 0; +} +.adventureTask .content .task_list .wrap .wrap_box .left .title { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.3733333333rem; + color: #FFFCD0; + margin-top: 0; +} +.adventureTask .content .task_list .wrap .wrap_box .left .progress_container { + width: 100%; + height: 0.2133333333rem; + background-color: #610017; + /* 背景颜色 */ + border-radius: 0.1066666667rem; + /* 圆角 */ + overflow: hidden; + border: 0.0266666667rem solid #FFEF4C; + margin-top: 0.2133333333rem; + /* 隐藏溢出部分 */ + /* 进度条本身 */ +} +.adventureTask .content .task_list .wrap .wrap_box .left .progress_container .progress_bar { + height: 100%; + width: 0; + /* 初始宽度为0 */ + background-image: linear-gradient(90deg, #FBF392, #FCB41B); + /* 进度条颜色 */ + transition: width 0.5s; + /* 平滑过渡效果 */ +} +.adventureTask .content .task_list .wrap .wrap_box .right { + margin-left: auto; + text-align: center; +} +.adventureTask .content .task_list .wrap .wrap_box .right .num { + font-family: PingFang SC; + font-weight: 600; + font-size: 0.6666666667rem; + color: #FFFFFF; +} +.adventureTask .content .task_list .wrap .wrap_box .right .Points { + font-family: PingFang SC; + font-weight: 400; + font-size: 0.32rem; + color: #FFFFFF; + margin-top: 0.1333333333rem; +} +.adventureTask .bottom { + background-image: url("../images/content_bottom.png"); + background-size: 100% 100%; + height: 1.4666666667rem; + width: 100%; +} + +.adventureRanking { + display: none; +} +.adventureRanking .top { + background-image: url("../images/top_bg.png"); + background-size: 100% 100%; + height: 2.0666666667rem; + width: 100%; +} +.adventureRanking .content { + background-image: url("../images/content_bg.png"); + background-size: 100% 100%; } \ No newline at end of file diff --git a/view/molistar/activity/adventureTreasureHunt/css/index.scss b/view/molistar/activity/adventureTreasureHunt/css/index.scss index b3503dbb..753be116 100644 --- a/view/molistar/activity/adventureTreasureHunt/css/index.scss +++ b/view/molistar/activity/adventureTreasureHunt/css/index.scss @@ -68,7 +68,7 @@ body { background-size: 100% 100%; position: absolute; right: 0; - top: px2rem(500); + top: px2rem(590); padding: 0 px2rem(7) 0 px2rem(30); } @@ -85,7 +85,7 @@ body { background-size: 100% 100%; position: absolute; right: 0; - top: px2rem(600); + top: px2rem(670); padding: 0 px2rem(7) 0 px2rem(30); } @@ -95,8 +95,76 @@ body { padding-top: px2rem(430); } + .danmu { + width: px2rem(750); + height: px2rem(200); + overflow: hidden; + // margin: px2rem(10) auto 0; + // position: relative; + box-sizing: border-box; + direction: ltr; + // background: pink; + position: absolute; + top: px2rem(450); + + #my_container { + width: 100%; + height: 100%; + box-sizing: border-box; + // position: absolute; + // left: 50%; + // top: 50%; + // transform: translate(-50%, -50%); + + .my_container_in { + // max-width: 7.3rem; + // min-width: px2rem(358); + // height: px2rem(44); + line-height: px2rem(44); + border-radius: px2rem(44); + background: rgba(0, 0, 0, 0.5); + box-sizing: border-box; + padding: px2rem(3) px2rem(16) 0 px2rem(6); + overflow: hidden; + margin-bottom: px2rem(30); + + img { + display: block; + float: left; + width: px2rem(44); + height: px2rem(44); + margin-top: px2rem(2.2); + // margin-right: px2rem(5); + border-radius: 50%; + } + + span { + display: block; + float: left; + color: #FFFFFF; + font-size: px2rem(26); + font-weight: 500; + margin: 0 px2rem(10); + } + } + } + } + .Lottery_button { + display: flex; + justify-content: space-between; + margin: 0 px2rem(14); + .once { + background-image: url('../images/once_btn.png'); + background-size: 100% 100%; + width: px2rem(352); + height: px2rem(142); + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + .title { font-family: PingFang SC; font-weight: 600; @@ -104,6 +172,331 @@ body { color: #2F1300; line-height: px2rem(36) } + + .txt { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(26); + color: #2F1300; + line-height: px2rem(36) + } + } + + .Ten_times { + background-image: url('../images/ten_btn.png'); + background-size: 100% 100%; + width: px2rem(352); + height: px2rem(142); + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + + .title { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(34); + color: #2F1300; + line-height: px2rem(36) + } + + .txt { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(26); + color: #2F1300; + line-height: px2rem(36) + } } } + + .tip_title { + background: rgba(0, 0, 0, 0.5); + border-radius: px2rem(18); + border: px2rem(2) solid #FFEFB0; + margin: px2rem(28) px2rem(14); + padding: px2rem(27) px2rem(60); + text-align: center; + + .title { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(30); + color: #FFFCD0; + line-height: px2rem(36); + } + + .txt { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(28); + color: #FFFCD0; + line-height: px2rem(36); + margin-top: px2rem(28); + } + } +} + +.tab_list { + display: flex; + align-items: center; + justify-content: space-between; + + .Adventure_btn { + flex: 1; + background-image: url('../images/Adventure_btn_bg.png'); + background-size: 100% 100%; + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(32); + color: #FFABAB; + display: flex; + align-items: center; + justify-content: center; + padding: px2rem(46) px2rem(30); + } + + .acitve { + background-image: url('../images/active_bg.png'); + color: #FFFCD0; + } + +} + +.adventureTask { + .top { + background-image: url('../images/top_bg.png'); + background-size: 100% 100%; + height: px2rem(155); + width: 100%; + } + + .content { + background-image: url('../images/content_bg.png'); + background-size: 100% 100%; + + .time_box { + background: rgba(0, 0, 0, 0.5); + border-radius: px2rem(26); + font-family: PingFang SC; + font-weight: 500; + font-size: px2rem(28); + color: #FFFCD0; + padding: px2rem(14) px2rem(26); + margin: 0 px2rem(170); + text-align: center; + } + + .recharge { + display: flex; + align-items: center; + justify-content: center; + margin-top: px2rem(30); + + .avatar { + width: px2rem(100); + height: px2rem(100); + border-radius: 50%; + } + + .data_box { + margin-left: px2rem(18); + + .txt { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(28); + color: #FFFCD0; + display: flex; + align-items: center; + + .Today_num, + .Weekly_num { + color: #FFFFFF; + font-weight: 600; + } + + img { + width: px2rem(27); + height: px2rem(27); + margin: 0 px2rem(6); + } + } + + .txt:last-child { + margin-top: px2rem(22); + } + + } + } + + .tip_box { + background: rgba(0, 0, 0, 0.5); + border-radius: px2rem(26); + border: px2rem(2) solid #FFD435; + padding: px2rem(20); + margin: px2rem(28) px2rem(40); + + .txt { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(28); + color: #FFFCD0; + display: flex; + align-items: center; + + .num { + color: #FFFFFF; + font-weight: 600; + } + + img { + width: px2rem(22); + height: px2rem(22); + } + } + + .Points_mission { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(24); + color: #FFFCD0; + opacity: 0.6; + margin-top: px2rem(20); + } + } + + .task_list { + background: rgba(0, 0, 0, 0.5); + border-radius: px2rem(26); + border: px2rem(2) solid #FFD435; + margin: px2rem(80) px2rem(40) 0; + padding: px2rem(48) 0 px2rem(40); + position: relative; + + .top_img { + background-image: url('../images/task_top_bg.png'); + background-size: 100% 100%; + width: px2rem(352); + height: px2rem(104); + display: flex; + align-items: center; + justify-content: center; + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(32); + color: #FFFCD0; + position: absolute; + top: px2rem(-58); + left: 50%; + transform: translateX(-50%); + } + + .title { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(24); + color: #FFFCD0; + text-align: center; + margin-top: px2rem(10); + + .num { + color: #FFFFFF; + font-weight: 600; + font-size: px2rem(32); + } + } + + .wrap { + .wrap_box { + background-image: url('../images/wrap_content_bg.png'); + background-size: 100% 100%; + display: flex; + align-items: center; + height: px2rem(144); + padding: 0 px2rem(50); + margin: px2rem(26) px2rem(10) 0; + + .left { + .title { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(28); + color: #FFFCD0; + margin-top: 0; + } + + .progress_container { + width: 100%; + height: px2rem(16); + background-color: #610017; + /* 背景颜色 */ + border-radius: px2rem(8); + /* 圆角 */ + overflow: hidden; + border: px2rem(2) solid #FFEF4C; + margin-top: px2rem(16); + /* 隐藏溢出部分 */ + /* 进度条本身 */ + .progress_bar { + height: 100%; + width: 0; + /* 初始宽度为0 */ + background-image: linear-gradient(90deg, #FBF392, #FCB41B); + /* 进度条颜色 */ + transition: width 0.5s; + /* 平滑过渡效果 */ + } + } + + + } + + + .right { + margin-left: auto; + text-align: center; + + .num { + font-family: PingFang SC; + font-weight: 600; + font-size: px2rem(50); + color: #FFFFFF; + } + + .Points { + font-family: PingFang SC; + font-weight: 400; + font-size: px2rem(24); + color: #FFFFFF; + margin-top: px2rem(10); + } + } + } + } + } + } + + .bottom { + background-image: url('../images/content_bottom.png'); + background-size: 100% 100%; + height: px2rem(110); + width: 100%; + } +} + +.adventureRanking { + display: none; + + .top { + background-image: url('../images/top_bg.png'); + background-size: 100% 100%; + height: px2rem(155); + width: 100%; + } + + .content { + background-image: url('../images/content_bg.png'); + background-size: 100% 100%; + } } \ No newline at end of file diff --git a/view/molistar/activity/adventureTreasureHunt/images/Adventure_btn_bg.png b/view/molistar/activity/adventureTreasureHunt/images/Adventure_btn_bg.png new file mode 100644 index 00000000..0f121929 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/Adventure_btn_bg.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/active_bg.png b/view/molistar/activity/adventureTreasureHunt/images/active_bg.png new file mode 100644 index 00000000..4ba8f517 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/active_bg.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/arrow_right.png b/view/molistar/activity/adventureTreasureHunt/images/arrow_right.png new file mode 100644 index 00000000..f0c24bf8 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/arrow_right.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/coins.png b/view/molistar/activity/adventureTreasureHunt/images/coins.png new file mode 100644 index 00000000..b8e7aa03 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/coins.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/content_bg.png b/view/molistar/activity/adventureTreasureHunt/images/content_bg.png new file mode 100644 index 00000000..3340b503 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/content_bg.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/content_bottom.png b/view/molistar/activity/adventureTreasureHunt/images/content_bottom.png new file mode 100644 index 00000000..db22ef7e Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/content_bottom.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/logo.png b/view/molistar/activity/adventureTreasureHunt/images/logo.png new file mode 100644 index 00000000..ae87e7d9 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/logo.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/once_btn.png b/view/molistar/activity/adventureTreasureHunt/images/once_btn.png new file mode 100644 index 00000000..ce1ff577 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/once_btn.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/task_top_bg.png b/view/molistar/activity/adventureTreasureHunt/images/task_top_bg.png new file mode 100644 index 00000000..728f0b99 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/task_top_bg.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/ten_btn.png b/view/molistar/activity/adventureTreasureHunt/images/ten_btn.png new file mode 100644 index 00000000..764dc874 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/ten_btn.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/top_bg.png b/view/molistar/activity/adventureTreasureHunt/images/top_bg.png new file mode 100644 index 00000000..fef8f523 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/top_bg.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/images/wrap_content_bg.png b/view/molistar/activity/adventureTreasureHunt/images/wrap_content_bg.png new file mode 100644 index 00000000..4495cc65 Binary files /dev/null and b/view/molistar/activity/adventureTreasureHunt/images/wrap_content_bg.png differ diff --git a/view/molistar/activity/adventureTreasureHunt/index.html b/view/molistar/activity/adventureTreasureHunt/index.html index d55819e3..373978c8 100644 --- a/view/molistar/activity/adventureTreasureHunt/index.html +++ b/view/molistar/activity/adventureTreasureHunt/index.html @@ -1,36 +1,118 @@ - -
- - + + +
- ${res.name.length > 4 ? res.name.slice(0, 4) + '...' : res.name}
-
-
${my.name.length > 6 ? my.name.slice(0, 4) + '...' : my.name} ID:${my.erbanNo}