.index-position { background: rgba(0, 0, 0, 0.5); height: 88rpx; position: absolute; top: 0; width: 100%; font-family: PingFangSC-Semibold; font-size: 30rpx; color: #fff; letter-spacing: 0.75rpx; z-index: 9; line-height: 88rpx; overflow: hidden; } page { width: 100%; height: auto!important; overflow-x: hidden; } .txt { margin-left: 20rpx; } .game-entry{ width: 690rpx; height: 140rpx; margin: 0 auto; border-radius: 20rpx; box-shadow: 1px 4px 20px #C4C4C4; } .game { position: relative; width: 750rpx; height: 200rpx; margin: 0 auto; padding-top: 30rpx; box-sizing: border-box; } .gameimg{ position: absolute; right: 25rpx; top: 0rpx; width: 220rpx; } .game text { display: block; position: relative; } .game text:nth-of-type(1) { display: inline-block; padding-top: 39rpx; padding-left: 70rpx; font-size: 32rpx; color: #333; line-height: 36rpx; } .game text:nth-of-type(2) { font-size: 24rpx; color: #999; line-height: 24rpx; padding-left: 70rpx; } /* .game image { position: absolute; width: 100%; left: 0; right: 0; top: 0; bottom: 0; } */