/* 全局颜色变量 */ $primary-color: #C93639; $primary-red: #C93639; $text-color: #333333; $text-gray: #666666; $text-light: #999999; $border-color: #eeeeee; $bg-gray: #f5f5f5; $white: #ffffff; /* 常用尺寸 */ $page-padding: 30rpx; $border-radius: 16rpx; $border-radius-lg: 24rpx; /* 公共样式 */ .container { min-height: 100vh; background-color: $bg-gray; } .page-padding { padding: $page-padding; } .card { background-color: $white; border-radius: $border-radius; padding: 30rpx; margin-bottom: 20rpx; } .flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; } .flex-between { display: flex; align-items: center; justify-content: space-between; } .flex-column { display: flex; flex-direction: column; } .text-center { text-align: center; } .text-right { text-align: right; } .primary-btn { background-color: $primary-color; color: $white; border-radius: 12rpx; font-size: 32rpx; padding: 28rpx; text-align: center; font-weight: bold; } .disabled-btn { background-color: rgba(201, 54, 57, 0.5); color: $white; border-radius: 12rpx; font-size: 32rpx; padding: 28rpx; text-align: center; font-weight: bold; }