.btn{ width: 310rpx; height: 98rpx; line-height: 98rpx; color: #FFFFFF; background-color: #8c8c9b; border-radius: 30rpx; text-align: center; font-size: 36rpx; } .buy-btn{ background: linear-gradient(to right, #ff3772 0%,#fd5548 100%); }