page { width: 100%; height: 100vh; } .welcome { width: 100%; height: 100vh; background: #fff; position: relative; overflow: hidden; } .welcome .bg-img { width: 100%; height: 100vh; position: absolute; left: 0; top: 0; } .welcome .bg-img image { width: 100%; height:100%; } .welcome .content { width: 100%; position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; align-items: center; box-sizing: border-box; padding-bottom: 100rpx; } .welcome .content .countdown { width: 100%; height: 50rpx; display: flex; align-items: flex-start; justify-content: flex-end; box-sizing: border-box; padding: 0 20rpx; } .welcome .content .countdown .time { font-size: 28rpx; color: #333; width: 150rpx; height: 50rpx; line-height: 50rpx; text-align: center; background: rgba(255,255,255,0.5); border-radius: 30rpx; } .welcome .content .countdown .hover-skip { background: rgba(255,255,255,0.2); } .imme-enter { width: 100%; height: 84rpx; display: flex; align-items: center; justify-content: center; } .imme-enter button { background-image: linear-gradient(to right , #ff2d29, #ff4e4e); height:84rpx; line-height: 84rpx; text-align:center; color: #fff; font-size: 36rpx; border-radius: 16rpx; padding: 0; margin: 0; outline: 0; font-weight: normal; width: 560rpx; } .imme-enter .hover-btn { background: red; }