.recommend-activity{ width: 100%; box-sizing: border-box; padding: 0 25rpx; position: relative; } .tag{ position: absolute; bottom: 152rpx; right: 25rpx; background-color: rgba(0,0,0,0.7); color: #fff; font-size: 22rpx; box-sizing: border-box; padding: 5rpx 10rpx; }