Files
2025-10-16 21:32:16 +08:00

140 lines
2.4 KiB
Plaintext

/* pages/apply/apply.wxss */
.apply-container {
min-height: 100vh;
background-color: #f5f5f5;
display: flex;
flex-direction: column;
}
/* 页面头部 */
.apply-header {
background: linear-gradient(135deg, #1aad19, #179b16);
color: white;
padding: 40rpx 30rpx;
border-radius: 0 0 30rpx 30rpx;
box-shadow: 0 4rpx 20rpx rgba(26, 173, 25, 0.3);
}
.apply-title {
font-size: 40rpx;
font-weight: bold;
display: block;
margin-bottom: 10rpx;
}
.apply-subtitle {
font-size: 28rpx;
opacity: 0.9;
}
/* 表单内容 */
.apply-content {
flex: 1;
padding: 30rpx;
}
.apply-form {
background-color: white;
border-radius: 20rpx;
padding: 40rpx 30rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
}
.apply-form-group {
margin-bottom: 40rpx;
position: relative;
}
.apply-form-group:last-child {
margin-bottom: 0;
}
.apply-form-label {
display: block;
font-size: 32rpx;
font-weight: 500;
color: #333;
margin-bottom: 20rpx;
}
.apply-form-input {
width: 100%;
height: 80rpx;
font-size: 32rpx;
padding: 0 20rpx;
border: none;
background-color: #f8f9fa;
border-radius: 12rpx;
box-sizing: border-box;
}
.apply-form-input:focus {
background-color: #e8f5e8;
}
.apply-form-placeholder {
color: #999;
font-size: 28rpx;
}
.apply-form-underline {
height: 2rpx;
background: linear-gradient(90deg, transparent, #1aad19, transparent);
margin-top: 10rpx;
opacity: 0.5;
}
/* 底部操作按钮 */
.apply-footer {
padding: 30rpx;
background-color: white;
border-top: 1rpx solid #eee;
display: flex;
gap: 20rpx;
}
.apply-btn-cancel {
flex: 1;
height: 88rpx;
background-color: #f5f5f5;
color: #666;
border: none;
border-radius: 12rpx;
font-size: 32rpx;
font-weight: 500;
}
.apply-btn-cancel:active {
background-color: #e8e8e8;
}
.apply-btn-confirm {
flex: 2;
height: 88rpx;
background: linear-gradient(135deg, #1aad19, #179b16);
color: white;
border: none;
border-radius: 12rpx;
font-size: 32rpx;
font-weight: bold;
}
.apply-btn-confirm:active {
background: linear-gradient(135deg, #179b16, #158a15);
}
/* 响应式设计 */
@media (min-width: 768px) {
.apply-container {
max-width: 600rpx;
margin: 0 auto;
border-radius: 20rpx;
margin-top: 40rpx;
margin-bottom: 40rpx;
box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.12);
}
.apply-header {
border-radius: 20rpx 20rpx 0 0;
}
}