/* pages/form/form.wxss */ page { background: #f8f9fa; padding-bottom: 40rpx; transition: opacity 0.2s ease; } .container { padding: 20rpx 0; opacity: 1; } /* 页面加载动画 - 优化性能 */ @keyframes quickFadeIn { from { opacity: 0.8; } to { opacity: 1; } } .page-loaded { animation: quickFadeIn 0.15s ease-out; } /* 区块样式 */ .section { margin-bottom: 30rpx; background: #ffffff; border-radius: 12rpx; padding: 24rpx; margin: 0 20rpx 30rpx; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05); } .section-title { color: #007AFF; font-size: 32rpx; font-weight: 500; margin-bottom: 24rpx; } .input-box { margin-top: 20rpx; background: transparent; border: none; padding: 0; } .input-box text { color: #333333; font-size: 28rpx; display: block; margin-bottom: 12rpx; } .input-box input { width: 100%; height: 80rpx; padding: 0 20rpx; background: #ffffff; border: 1rpx solid #e0e0e0; border-radius: 8rpx; font-size: 28rpx; color: #333333; box-sizing: border-box; } .input-box input:focus { border-color: #007AFF; } /* 单选框组样式 */ .input-box radio-group { display: flex; flex-wrap: wrap; gap: 20rpx; margin-top: 20rpx; } .input-box radio { margin-right: 20rpx; } .input-box radio .wx-radio-input { background: #ffffff !important; border-color: #e0e0e0 !important; width: 36rpx !important; height: 36rpx !important; } .input-box radio .wx-radio-input.wx-radio-input-checked { background: #007AFF !important; border-color: #007AFF !important; } /* 按钮组样式 */ .button-group { padding: 30rpx 20rpx; display: flex; justify-content: center; } .submit-button { width: 100% !important; height: 80rpx !important; border-radius: 8rpx !important; background: #007AFF !important; color: #ffffff !important; font-weight: 500 !important; font-size: 28rpx !important; border: none !important; box-shadow: 0 4rpx 16rpx rgba(0, 122, 255, 0.3) !important; } .submit-button[disabled] { background: #e0e0e0 !important; color: #999999 !important; opacity: 0.7 !important; box-shadow: none !important; } /* 广告样式 */ .form-ad { position: fixed; bottom: 0; width: 100%; background: #f8f9fa; padding: 20rpx; box-sizing: border-box; } .form-ad ad { margin: 0 auto; border-radius: 8rpx; overflow: hidden; } /* 错误提示样式 */ .error-text { color: #ff4444; font-size: 24rpx; margin-top: 16rpx; padding: 0 20rpx; }