.activityBox { width: 96%; margin: 20rpx auto; text-align: center; } .activity { opacity: 1; z-index: 10; width: 640rpx; height: 270rpx; top: 11%; background-color: dodgerblue; border-radius: 20rpx; } .title { text-align: left; font-size: 18px; font-weight: 700; margin-left: 40rpx; height: 60rpx; line-height: 60rpx; } .Box{ background-image: linear-gradient(#cc9966, #F4F5F9); } .text { line-height: 50rpx; height: 50rpx; text-align: left; margin-left: 40rpx; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 26rpx; word-wrap: break-word; color: rgba(0, 0, 0, 0.3) }