From 4ae0336e1dac65ea3919dace2ec22cf1aabb4dc7 Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 26 Mar 2019 13:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E9=A6=96=E9=A1=B5=E5=90=84?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=B8=8B=E6=A8=AA=E7=BA=BF=E7=9A=84=E5=B7=A6?= =?UTF-8?q?=E8=BE=B9=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/recent-game.wpy | 3 +++ src/style/game-cell.wxss | 19 ++++++++++--------- src/style/index.wxss | 13 ++----------- 3 files changed, 15 insertions(+), 20 deletions(-) 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;