// 学生信息编辑弹窗样式 .student-edit-popup { width: 90vw; max-width: 600rpx; max-height: 80vh; background: #fff; border-radius: 20rpx; overflow: hidden; .popup-header { display: flex; justify-content: space-between; align-items: center; padding: 30rpx 40rpx; background: #f8f9fa; border-bottom: 1rpx solid #eee; .popup-title { font-size: 32rpx; font-weight: 600; color: #333; } .popup-close { width: 60rpx; height: 60rpx; display: flex; align-items: center; justify-content: center; font-size: 36rpx; color: #999; cursor: pointer; &:hover { color: #666; } } } .student-form-container { max-height: 60vh; padding: 0 40rpx; .form-section { padding: 20rpx 0; .form-group { margin-bottom: 40rpx; .form-group-title { font-size: 28rpx; font-weight: 600; color: #333; margin-bottom: 20rpx; padding-bottom: 10rpx; border-bottom: 2rpx solid #29d3b4; } .form-item { display: flex; align-items: center; margin-bottom: 30rpx; .form-label { width: 160rpx; font-size: 28rpx; color: #666; flex-shrink: 0; &.required::after { content: '*'; color: #ff4757; margin-left: 4rpx; } } .form-input { flex: 1; input { width: 100%; height: 80rpx; padding: 0 20rpx; border: 1rpx solid #ddd; border-radius: 8rpx; font-size: 28rpx; background: #fff; &:focus { border-color: #29d3b4; outline: none; } &::placeholder { color: #ccc; } } .picker-display { display: flex; align-items: center; justify-content: space-between; height: 80rpx; padding: 0 20rpx; border: 1rpx solid #ddd; border-radius: 8rpx; font-size: 28rpx; background: #fff; color: #333; .picker-arrow { font-size: 32rpx; color: #999; transform: rotate(90deg); } } } .form-textarea { flex: 1; textarea { width: 100%; min-height: 120rpx; padding: 20rpx; border: 1rpx solid #ddd; border-radius: 8rpx; font-size: 28rpx; background: #fff; resize: none; &:focus { border-color: #29d3b4; outline: none; } &::placeholder { color: #ccc; } } } } } } } .popup-footer { display: flex; padding: 30rpx 40rpx; background: #f8f9fa; border-top: 1rpx solid #eee; gap: 20rpx; .popup-btn { flex: 1; height: 80rpx; display: flex; align-items: center; justify-content: center; border-radius: 8rpx; font-size: 28rpx; cursor: pointer; transition: all 0.3s ease; &.cancel-btn { background: #f5f5f5; color: #666; border: 1rpx solid #ddd; &:hover { background: #e9e9e9; } } &.confirm-btn { background: #29d3b4; color: #fff; border: 1rpx solid #29d3b4; &:hover { background: #26c4a6; } } } } } // 响应式适配 @media (max-width: 750rpx) { .student-edit-popup { width: 95vw; .popup-header { padding: 25rpx 30rpx; .popup-title { font-size: 30rpx; } } .student-form-container { padding: 0 30rpx; .form-section { .form-group { .form-item { flex-direction: column; align-items: flex-start; .form-label { width: 100%; margin-bottom: 10rpx; } .form-input, .form-textarea { width: 100%; } } } } } .popup-footer { padding: 25rpx 30rpx; } } }