diff --git a/view/peko/activity/act-ocean/css/index.css b/view/peko/activity/act-ocean/css/index.css index e69905a..0672229 100644 --- a/view/peko/activity/act-ocean/css/index.css +++ b/view/peko/activity/act-ocean/css/index.css @@ -436,13 +436,18 @@ body { } .wrap .game-area .draw-time .top-three .top-three-list .no1 .nick { width: 100%; + height: 1rem; + line-height: 0.6rem; font-size: 0.2933333333rem; color: #fff; text-align: center; position: absolute; - top: 1.1733333333rem; + top: 1.1333333333rem; left: 50%; transform: translateX(-50%); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .wrap .game-area .draw-time .top-three .top-three-list .no1 .num { width: 100%; @@ -488,13 +493,18 @@ body { } .wrap .game-area .draw-time .top-three .top-three-list .no2 .nick { width: 100%; + height: 1rem; + line-height: 0.6rem; font-size: 0.2933333333rem; color: #fff; text-align: center; position: absolute; - top: 1.0133333333rem; + top: 0.9333333333rem; left: 50%; transform: translateX(-50%); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .wrap .game-area .draw-time .top-three .top-three-list .no2 .num { width: 100%; @@ -541,13 +551,18 @@ body { } .wrap .game-area .draw-time .top-three .top-three-list .no3 .nick { width: 100%; + height: 1rem; + line-height: 0.6rem; font-size: 0.2933333333rem; color: #fff; text-align: center; position: absolute; - top: 1.0133333333rem; + top: 0.9333333333rem; left: 50%; transform: translateX(-50%); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } .wrap .game-area .draw-time .top-three .top-three-list .no3 .num { width: 100%; diff --git a/view/peko/activity/act-ocean/css/index.scss b/view/peko/activity/act-ocean/css/index.scss index 4f5f49d..65bdbc3 100644 --- a/view/peko/activity/act-ocean/css/index.scss +++ b/view/peko/activity/act-ocean/css/index.scss @@ -601,13 +601,18 @@ body { .nick { width: 100%; + height: 1rem; + line-height: 0.6rem; font-size: px2rem(22, ); color: #fff; text-align: center; position: absolute; - top: px2rem(88, ); + top: px2rem(85, ); left: 50%; transform: translateX(-50%); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; //溢出显示省略号 } .num { @@ -664,13 +669,18 @@ body { .nick { width: 100%; + height: 1rem; + line-height: 0.6rem; font-size: px2rem(22, ); color: #fff; text-align: center; position: absolute; - top: px2rem(76, ); + top: px2rem(70, ); left: 50%; transform: translateX(-50%); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; //溢出显示省略号 } .num { @@ -725,13 +735,18 @@ body { .nick { width: 100%; + height: 1rem; + line-height: 0.6rem; font-size: px2rem(22, ); color: #fff; text-align: center; position: absolute; - top: px2rem(76, ); + top: px2rem(70, ); left: 50%; transform: translateX(-50%); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; //溢出显示省略号 } .num { diff --git a/view/peko/activity/act-ocean/index.html b/view/peko/activity/act-ocean/index.html index f22c510..cd22458 100644 --- a/view/peko/activity/act-ocean/index.html +++ b/view/peko/activity/act-ocean/index.html @@ -35,8 +35,8 @@