/* pages/IndexNewCourseDetails/IndexNewCourseDetails.wxss */ @keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.95); } } .fixed-btn-wrapper { position: fixed; left: 0; right: 0; bottom: 60rpx; padding: 0 20rpx; /* 调整为左右边距 */ display: flex; justify-content: center; /* 水平居中 */ z-index: 999; } .btn-group { display: flex; width: 100%; max-width: 700rpx; justify-content: space-between; } .DianJiXiangQing1 { flex: 1; background-color: #4CAF50; color: white; border: none; margin: 0 10rpx; border-radius: 45rpx; height: 90rpx; display: flex; justify-content: center; align-items: center; animation: breathe 1s linear infinite; } .DianJiXiangQing2 { font-size: 30rpx; }