diff --git a/src/components/recent-game.wpy b/src/components/recent-game.wpy index 5594e66..bfe19ba 100644 --- a/src/components/recent-game.wpy +++ b/src/components/recent-game.wpy @@ -35,6 +35,9 @@ margin-bottom: 20rpx; position: relative; } + .comp-title i{ + color: #777777; + } .comp-title::after { position: absolute; left: 10px; diff --git a/src/style/game-cell.wxss b/src/style/game-cell.wxss index bae5d77..96b96f0 100644 --- a/src/style/game-cell.wxss +++ b/src/style/game-cell.wxss @@ -5,6 +5,15 @@ width: 750rpx; position: relative; } +.game-cell::after { + position: absolute; + left: 20px; + right: 0; + bottom: 0; + border-top: 1rpx solid #eee; + background: #eee; + content: ' '; +} .game-cell .game-icon { margin-right:10px; width:70px; @@ -51,15 +60,7 @@ -webkit-line-clamp:2; height:29px; } -.game-cell::after { - position: absolute; - left: 10px; - right: 0; - bottom: 0; - border-top: 1rpx solid #eee; - background: #eee; - content: ' '; -} + .left-btn { margin-right: 0.8rem; display: flex; diff --git a/src/style/index.wxss b/src/style/index.wxss index 4e268e0..92d04d9 100644 --- a/src/style/index.wxss +++ b/src/style/index.wxss @@ -47,21 +47,12 @@ page { font-size:30rpx; width: 750rpx; background-color:#ffffff; - margin-bottom:1px; margin-top: 1px; + position: relative; } .list-title::after{ position: absolute; - left: 15rpx; - right: 0; - bottom: 0; - border-top: 1rpx solid #e5e5e5; - background: #e5e5e5; - content: ' '; -} -.list-title::before{ - position: absolute; - left: 15rpx; + left: 10px; right: 0; bottom: 0; border-top: 1rpx solid #e5e5e5;