diff --git a/src/components/game-cell.wpy b/src/components/game-cell.wpy index e7fd66a..a395e48 100644 --- a/src/components/game-cell.wpy +++ b/src/components/game-cell.wpy @@ -10,13 +10,13 @@ {{item.name}} {{item.introduce}} - {{item.category}} + {{item.category}} - + 去玩 - + 开通 diff --git a/src/style/game-cell.wxss b/src/style/game-cell.wxss index 980a05f..fd240f9 100644 --- a/src/style/game-cell.wxss +++ b/src/style/game-cell.wxss @@ -1,18 +1,18 @@ .game-cell { display: flex; flex-flow: row nowrap; - padding: 15px 15px 5px 15px; + padding: 5px; border-bottom: 1px solid #eee; width: 750rpx; } .game-cell .game-icon { - margin-right:0.8em; - width:120rpx; - line-height:120rpx; + margin-right:10px; + width:70px; + line-height:70px; text-align:center; margin-left: 15px; - height:120rpx; - margin-top:11rpx; + height:70px; + margin-top:5px; } .game-cell .game-icon image { width: 100%; @@ -23,11 +23,11 @@ .content-view { flex:1; min-width:0; - margin-right: 15px; + margin-right: 10px; } .content-view .title { font-weight:400; - font-size:17px; + font-size:15px; width:auto; overflow:hidden; text-overflow:ellipsis; @@ -35,11 +35,11 @@ word-wrap:normal; word-wrap:break-word; word-break:break-all; - + margin-bottom: 2px; } .content-view .content { color:#999999; - font-size:13px; + font-size:12px; line-height:1.2; display:-webkit-box; word-break:break-all; @@ -47,6 +47,7 @@ overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; + min-height:29px; } .game-cell::after { position: absolute;