.assemble { width: 100%; height: 100vh; overflow: auto; background-color: #292929; } .main_box { background: #292929; min-height: 20vh; } // 操作按钮样式 .action-buttons { display: flex; align-items: center; .btn-item { width: 60rpx; height: 60rpx; display: flex; align-items: center; justify-content: center; margin-left: 20rpx; .btn-icon { width: 40rpx; height: 40rpx; } } } // 标签切换器容器样式 .tab-switcher-container { margin: 20rpx; background: #fff; border-radius: 20rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); } //统计信息 .count_section { width: 100%; position: relative; .main { width: 100%; position: absolute; z-index: 2; padding: 0rpx 24rpx; display: flex; justify-content: center; } .bg_top { height: 180rpx; background-color: #29D3B4; } .bg_bottom { height: 80rpx; background-color: #292929; } } .selected-text { color: #1CD188; display: flex; align-items: center; white-space: nowrap; font-size: 28rpx; padding: 0 6rpx; } .text { color: #333333; display: flex; align-items: center; white-space: nowrap; font-size: 28rpx; padding: 0 6rpx; } .basic-message { color: #fff; padding: 16rpx 60rpx; display: flex; justify-content: space-between; } .basic-message-div { width: 92%; margin: auto; background: #555555; border-radius: 16rpx; padding: 16rpx 0; } .basic-message-div-txt { display: flex; justify-content: space-between; color: #FFFFFF; padding: 14rpx 30rpx; } .bottom-label { width: 100%; height: 150rpx; background: #fff; position: fixed; bottom: 0; left: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 30rpx; } // 自定义弹窗样式 .custom-popup-dialog { width: 650rpx; border-radius: 16rpx; background-color: #fff; overflow: hidden; } .dialog-header { padding: 30rpx; text-align: center; border-bottom: 1px solid #eee; } .dialog-title { font-size: 32rpx; font-weight: bold; color: #333; } .dialog-content { padding: 30rpx; } .dialog-footer { display: flex; border-top: 1px solid #eee; } .dialog-btn { flex: 1; padding: 25rpx 0; text-align: center; font-size: 30rpx; } .cancel-btn { color: #666; border-right: 1px solid #eee; } .confirm-btn { color: #29D3B4; font-weight: bold; } // 备注文本框样式 .remark-textarea-container { width: 100%; position: relative; padding: 10rpx 0; } .remark-textarea { width: 100%; height: 240rpx; border: 1px solid #ddd; border-radius: 8rpx; padding: 20rpx; font-size: 28rpx; background-color: #f8f8f8; box-sizing: border-box; } .remark-count { position: absolute; bottom: 20rpx; right: 20rpx; font-size: 24rpx; color: #999; } // 备注按钮样式 .remark-btn { background-color: #29D3B4 !important; color: white !important; margin: 0 !important; padding: 0 20rpx !important; height: 60rpx !important; line-height: 60rpx !important; font-size: 24rpx !important; border-radius: 30rpx !important; } .follow-records-list { width: 92%; background: #434544; border-radius: 16rpx; margin: auto; padding: 16rpx; color: #fff; position: relative; } .same-community { width: 120rpx; background: #3d4a55; color: #1e62a9; position: absolute; top: 0; right: 0; padding: 8rpx 16rpx; text-align: center; border-radius: 40rpx 70rpx 70rpx 12rpx; } .coeducation { width: 120rpx; background: #3d4a55; color: #2e9380; position: absolute; top: 0; right: 0; padding: 8rpx 16rpx; text-align: center; border-radius: 40rpx 70rpx 70rpx 12rpx; } .same-community { width: 120rpx; background: #40504c; color: #1e62a9; position: absolute; top: 0; right: 0; padding: 8rpx 16rpx; text-align: center; border-radius: 40rpx 70rpx 70rpx 12rpx; } .search { width: 92%; margin: auto; display: flex; margin-top: 20rpx; } .selected { background: #294e48; border-radius: 16rpx; padding: 12rpx 8rpx; text-align: center; color: #29d3b4; margin-left: 5rpx; } .not-selected { margin-left: 5rpx; background: #ffffff; border: 4rpx #959595 solid; border-radius: 16rpx; padding: 12rpx 8rpx; text-align: center; } .call-record-item { width: 100%; background: #434544; border-radius: 16rpx; margin: auto; padding: 16rpx; color: #fff; position: relative; } .call-record-header { display: flex; justify-content: space-between; align-items: center; } .call-name { font-size: 28rpx; font-weight: bold; } .call-time { font-size: 24rpx; color: #999; } .call-record-content { display: flex; justify-content: space-between; align-items: center; } .call-detail { display: flex; align-items: center; } .call-label { font-size: 24rpx; color: #999; margin-right: 10rpx; } .call-remark { margin-top: 10rpx; } .call-remark-content { font-size: 24rpx; color: #fff; } // 通话记录样式 .call-log { width: 100%; padding: 0 20rpx; box-sizing: border-box; } .call-record-wrapper { margin-bottom: 20rpx; } .call-record-item { width: 100%; background: #3D3D3D; border-radius: 16rpx; padding: 20rpx; color: #fff; box-sizing: border-box; } .call-record-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15rpx; border-bottom: 1px solid #4A4A4A; padding-bottom: 10rpx; } .call-name { font-size: 28rpx; font-weight: bold; color: #fff; } .call-time { font-size: 24rpx; color: #999; } .call-record-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10rpx; } .call-detail { display: flex; align-items: center; } .call-label { font-size: 24rpx; color: #999; margin-right: 10rpx; } .call-remark { margin-top: 10rpx; padding-top: 10rpx; border-top: 1px solid #4A4A4A; } .call-remark-content { font-size: 24rpx; color: #fff; word-break: break-all; display: inline-block; width: 90%; vertical-align: top; } // 课程信息样式 .course-info { padding: 20rpx; } .course-item { background: #3D3D3D; border-radius: 16rpx; padding: 30rpx; margin-bottom: 20rpx; color: #fff; } .course-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; padding-bottom: 15rpx; border-bottom: 1px solid #4A4A4A; } .course-title { font-size: 32rpx; font-weight: bold; color: #fff; } .course-status { padding: 8rpx 16rpx; border-radius: 12rpx; font-size: 24rpx; color: #fff; } .status-active { background: #29d3b4; } .status-expired { background: #ff6b6b; } .status-completed { background: #999; } .status-default { background: #666; } .course-progress { display: flex; align-items: center; margin-bottom: 20rpx; } .progress-bar { flex: 1; height: 12rpx; background: #555; border-radius: 6rpx; overflow: hidden; margin-right: 20rpx; } .progress-fill { height: 100%; background: linear-gradient(to right, #29d3b4, #1ea08e); border-radius: 6rpx; transition: width 0.3s ease; } .progress-text { font-size: 26rpx; color: #29d3b4; min-width: 120rpx; text-align: right; } .course-details { margin-bottom: 20rpx; } .detail-row { display: flex; justify-content: space-between; margin-bottom: 15rpx; font-size: 28rpx; } .detail-label { color: #999; } .detail-value { color: #fff; } .course-actions { text-align: center; padding-top: 15rpx; border-top: 1px solid #4A4A4A; } .action-btn { color: #29d3b4; font-size: 28rpx; } .empty-course { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; } .empty-img { width: 200rpx; height: 200rpx; opacity: 0.5; margin-bottom: 30rpx; } .empty-text { color: #999; font-size: 28rpx; } // 教练配置编辑弹窗样式 .popup-container { width: 90vw; max-width: 600rpx; background: #fff; border-radius: 20rpx; box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.3); overflow: hidden; } .popup-header { display: flex; justify-content: space-between; align-items: center; padding: 30rpx 40rpx; background: #29d3b4; color: #fff; } .popup-title { font-size: 36rpx; font-weight: bold; } .popup-close { font-size: 40rpx; width: 60rpx; height: 60rpx; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.2); } .popup-footer { display: flex; border-top: 1px solid #eee; } .popup-btn { flex: 1; padding: 30rpx; text-align: center; font-size: 32rpx; font-weight: bold; } .cancel-btn { color: #666; border-right: 1px solid #eee; } .confirm-btn { color: #29d3b4; } .popup-btn:active { background: #f5f5f5; } .course-edit-container { width: 100%; max-height: 60vh; overflow-y: auto; padding: 30rpx 20rpx; box-sizing: border-box; } .edit-section { margin-bottom: 40rpx; width: 100%; } .section-title { font-size: 32rpx; font-weight: bold; color: #333; margin-bottom: 20rpx; padding-bottom: 15rpx; border-bottom: 2px solid #29d3b4; } .coach-list { width: 100%; max-height: 300rpx; overflow-y: auto; border: 1px solid #eee; border-radius: 12rpx; background: #fff; } .coach-item { display: flex; justify-content: space-between; align-items: center; padding: 25rpx 30rpx; border-bottom: 1px solid #f0f0f0; background: #fff; transition: all 0.3s ease; min-height: 80rpx; box-sizing: border-box; } .coach-item:last-child { border-bottom: none; } .coach-item.selected { background: #f0f9ff; border-left: 4rpx solid #29d3b4; } .coach-item:active { background: #f5f5f5; } .coach-name { font-size: 30rpx; color: #333; flex: 1; } .coach-check { color: #29d3b4; font-size: 36rpx; font-weight: bold; width: 40rpx; text-align: center; } .empty-tip { color: #999; font-size: 28rpx; text-align: center; padding: 40rpx 0; } // 体测记录样式 .fitness-test-records { padding: 20rpx; } .add-record-btn-container { margin-bottom: 30rpx; display: flex; justify-content: center; } .add-record-btn { display: flex; align-items: center; justify-content: center; background: #29d3b4; color: #fff; border-radius: 30rpx; padding: 20rpx 40rpx; box-shadow: 0 4rpx 12rpx rgba(41, 211, 180, 0.3); .add-icon { font-size: 32rpx; margin-right: 10rpx; font-weight: bold; } .add-text { font-size: 28rpx; } } .add-record-btn:active { background: #1ea08e; transform: scale(0.98); } .fitness-record-list { width: 100%; } .empty-records { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; .empty-img { width: 200rpx; height: 200rpx; opacity: 0.5; margin-bottom: 30rpx; } .empty-text { color: #999; font-size: 28rpx; } } .fitness-record-item { background: #3D3D3D; border-radius: 16rpx; padding: 25rpx; margin-bottom: 20rpx; color: #fff; transition: background 0.3s ease; } .fitness-record-item:active { background: #454545; } .record-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20rpx; padding-bottom: 15rpx; border-bottom: 1px solid #4A4A4A; } .record-date { font-size: 30rpx; font-weight: bold; color: #29d3b4; } .record-actions { display: flex; align-items: center; } .edit-btn { background: rgba(41, 211, 180, 0.2); color: #29d3b4; padding: 8rpx 16rpx; border-radius: 20rpx; font-size: 24rpx; border: 1px solid #29d3b4; } .edit-btn:active { background: rgba(41, 211, 180, 0.3); } .record-content { width: 100%; } .record-data { display: flex; justify-content: space-around; margin-bottom: 20rpx; } .data-item { display: flex; flex-direction: column; align-items: center; padding: 15rpx; background: rgba(255, 255, 255, 0.05); border-radius: 12rpx; min-width: 120rpx; } .data-label { font-size: 24rpx; color: #999; margin-bottom: 8rpx; } .data-value { font-size: 32rpx; font-weight: bold; color: #fff; } .pdf-attachments { margin-top: 20rpx; padding-top: 20rpx; border-top: 1px solid #4A4A4A; } .attachment-title { font-size: 26rpx; color: #999; margin-bottom: 15rpx; } .pdf-list { display: flex; flex-direction: column; gap: 10rpx; } .pdf-item { display: flex; align-items: center; padding: 15rpx; background: rgba(255, 255, 255, 0.05); border-radius: 12rpx; transition: background 0.3s ease; } .pdf-item:active { background: rgba(255, 255, 255, 0.1); } .pdf-icon { font-size: 28rpx; margin-right: 12rpx; } .pdf-name { flex: 1; font-size: 26rpx; color: #fff; margin-right: 10rpx; } .pdf-size { font-size: 22rpx; color: #999; } // 体测记录表单样式 .fitness-record-form { width: 100%; max-height: 60vh; overflow-y: auto; padding: 20rpx; box-sizing: border-box; } .form-section { width: 100%; } .form-item { margin-bottom: 30rpx; } .form-label { font-size: 30rpx; color: #333; margin-bottom: 15rpx; font-weight: bold; } .form-input { border: 2px solid #eee; border-radius: 12rpx; padding: 0 20rpx; background: #fff; transition: border-color 0.3s ease; } .form-input:focus-within { border-color: #29d3b4; } .form-input input { width: 100%; height: 80rpx; font-size: 28rpx; color: #333; border: none; outline: none; background: transparent; } .file-upload-area { width: 100%; } .upload-btn { display: flex; align-items: center; justify-content: center; background: #f8f9fa; border: 2px dashed #ddd; border-radius: 12rpx; padding: 40rpx; margin-bottom: 20rpx; color: #666; transition: all 0.3s ease; } .upload-btn:active { background: #e9ecef; border-color: #29d3b4; } .upload-icon { font-size: 40rpx; margin-right: 15rpx; } .upload-text { font-size: 28rpx; } .selected-files { width: 100%; } .selected-file-item { display: flex; align-items: center; justify-content: space-between; padding: 15rpx 20rpx; background: #f8f9fa; border-radius: 12rpx; margin-bottom: 10rpx; border: 1px solid #eee; } .file-info { display: flex; align-items: center; flex: 1; } .file-icon { font-size: 28rpx; margin-right: 12rpx; color: #666; } .file-name { flex: 1; font-size: 26rpx; color: #333; margin-right: 10rpx; } .file-size { font-size: 22rpx; color: #999; } .file-remove { width: 40rpx; height: 40rpx; display: flex; align-items: center; justify-content: center; background: #ff4757; color: #fff; border-radius: 50%; font-size: 24rpx; font-weight: bold; margin-left: 15rpx; } .file-remove:active { background: #ff3838; } // 学生信息相关样式 .student-info-section { margin-top: 20rpx; } .add-student-btn { display: flex; align-items: center; background: #29d3b4; color: #fff; border-radius: 20rpx; padding: 8rpx 16rpx; font-size: 24rpx; .add-icon { margin-right: 6rpx; font-weight: bold; } } .add-student-btn:active { background: #1ea08e; transform: scale(0.95); } .student-cards-container { width: 92%; margin: 20rpx auto; } .student-swiper { height: 400rpx; &::v-deep .uni-swiper-dots { bottom: 20rpx; } &::v-deep .uni-swiper-dot { width: 12rpx; height: 12rpx; background: rgba(255, 255, 255, 0.5); } &::v-deep .uni-swiper-dot-active { background: #29d3b4; } } .student-swiper-item { padding: 0 10rpx; } .student-card { background: #3D3D3D; border-radius: 20rpx; padding: 30rpx; min-height: 340rpx; display: flex; flex-direction: column; color: #fff; } .student-card-header { display: flex; align-items: center; margin-bottom: 20rpx; padding-bottom: 15rpx; border-bottom: 1px solid #4A4A4A; } .student-avatar { width: 80rpx; height: 80rpx; margin-right: 20rpx; .avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } .avatar-placeholder { width: 100%; height: 100%; border-radius: 50%; background: #29d3b4; display: flex; align-items: center; justify-content: center; font-size: 32rpx; font-weight: bold; color: #fff; } } .student-basic-info { flex: 1; .student-name { font-size: 32rpx; font-weight: bold; color: #fff; margin-bottom: 8rpx; } .student-meta { display: flex; align-items: center; font-size: 24rpx; color: #999; .student-age { margin-right: 20rpx; } } } .student-actions { display: flex; align-items: center; .edit-btn { background: rgba(41, 211, 180, 0.2); color: #29d3b4; padding: 8rpx 16rpx; border-radius: 20rpx; font-size: 24rpx; border: 1px solid #29d3b4; .btn-text { font-size: 24rpx; } } .edit-btn:active { background: rgba(41, 211, 180, 0.3); } } .student-card-body { flex: 1; display: flex; flex-direction: column; } .student-details { margin-bottom: 20rpx; .detail-item { display: flex; justify-content: space-between; margin-bottom: 12rpx; font-size: 26rpx; .detail-label { color: #999; min-width: 120rpx; } .detail-value { color: #fff; flex: 1; text-align: right; } } } .student-stats { display: flex; justify-content: space-around; margin-top: auto; padding-top: 15rpx; border-top: 1px solid #4A4A4A; .stat-item { display: flex; flex-direction: column; align-items: center; .stat-value { font-size: 28rpx; font-weight: bold; color: #29d3b4; margin-bottom: 5rpx; } .stat-label { font-size: 22rpx; color: #999; } } } .empty-students { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 340rpx; .empty-img { width: 160rpx; height: 160rpx; opacity: 0.5; margin-bottom: 20rpx; } .empty-text { color: #999; font-size: 28rpx; margin-bottom: 30rpx; } .empty-add-btn { background: #29d3b4; color: #fff; padding: 15rpx 30rpx; border-radius: 25rpx; font-size: 26rpx; } .empty-add-btn:active { background: #1ea08e; transform: scale(0.95); } } // 操作面板样式 .student-actions-panel { margin-top: 20rpx; border-top: 1px solid #4A4A4A; padding-top: 15rpx; .panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15rpx; .panel-title { font-size: 26rpx; color: #495057; font-weight: 600; } .collapse-icon { width: 30rpx; height: 30rpx; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #29d3b4; color: #fff; font-size: 20rpx; font-weight: bold; transition: transform 0.3s ease; &.expanded { transform: rotate(180deg); } } } .actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12rpx; margin-top: 15rpx; .action-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15rpx 8rpx; background: #fff; border-radius: 8rpx; border: 1px solid #dee2e6; transition: all 0.3s ease; position: relative; &:active { transform: scale(0.95); background: #e3f2fd; } .action-icon { font-size: 32rpx; margin-bottom: 5rpx; display: block; line-height: 1; } .action-text { font-size: 22rpx; color: #495057; text-align: center; line-height: 1.2; font-weight: 500; } &:hover { background: #f8f9fa; border-color: #29d3b4; .action-text { color: #29d3b4; } } } } &.collapsed { .actions-grid { display: none; } } } .actions-toggle { display: flex; align-items: center; justify-content: space-between; padding: 10rpx 0; cursor: pointer; .toggle-text { font-size: 28rpx; color: #29d3b4; font-weight: bold; } .toggle-icon { font-size: 24rpx; color: #29d3b4; transition: transform 0.3s ease; &.expanded { transform: rotate(180deg); } } } .actions-toggle:active { background: rgba(41, 211, 180, 0.1); border-radius: 8rpx; } .actions-content { margin-top: 15rpx; animation: slideDown 0.3s ease; } @keyframes slideDown { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 200rpx; } } .actions-grid { display: flex; flex-wrap: wrap; gap: 15rpx; } .action-item { display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(41, 211, 180, 0.3); border-radius: 12rpx; padding: 20rpx 15rpx; min-width: 120rpx; flex: 1; transition: all 0.3s ease; .action-icon { font-size: 28rpx; margin-bottom: 8rpx; } .action-text { font-size: 22rpx; color: #fff; text-align: center; } } .action-item:active { background: rgba(41, 211, 180, 0.2); border-color: #29d3b4; transform: scale(0.95); .action-text { color: #29d3b4; } } // 学生信息编辑弹窗样式 .student-edit-popup { width: 95vw; max-width: 700rpx; height: 85vh; max-height: 1400rpx; display: flex; flex-direction: column; } .student-form-container { flex: 1; padding: 20rpx; box-sizing: border-box; overflow-y: auto; min-height: 0; } .form-group { margin-bottom: 40rpx; .form-group-title { font-size: 32rpx; font-weight: bold; color: #333; margin-bottom: 25rpx; padding-bottom: 10rpx; border-bottom: 2px solid #29d3b4; position: relative; &::after { content: ''; position: absolute; bottom: -2rpx; left: 0; width: 60rpx; height: 2rpx; background: #29d3b4; } } } .form-item { margin-bottom: 25rpx; .form-label { font-size: 28rpx; color: #333; margin-bottom: 12rpx; font-weight: 500; &.required { position: relative; &::before { content: '*'; color: #ff4757; margin-right: 4rpx; font-weight: bold; } } } .form-input { border: 2px solid #eee; border-radius: 12rpx; padding: 0 20rpx; background: #fff; transition: border-color 0.3s ease; &:focus-within { border-color: #29d3b4; } input { width: 100%; height: 80rpx; font-size: 28rpx; color: #333; border: none; outline: none; background: transparent; &::placeholder { color: #999; } } .picker-display { height: 80rpx; display: flex; align-items: center; justify-content: space-between; font-size: 28rpx; color: #333; .picker-arrow { color: #999; font-size: 32rpx; font-weight: bold; transform: rotate(90deg); } } } .form-textarea { border: 2px solid #eee; border-radius: 12rpx; padding: 20rpx; background: #fff; transition: border-color 0.3s ease; &:focus-within { border-color: #29d3b4; } textarea { width: 100%; height: 120rpx; font-size: 28rpx; color: #333; border: none; outline: none; background: transparent; resize: none; &::placeholder { color: #999; } } } } // 整合后的基本信息卡片样式 .basic-info-card { background: #fff; border-radius: 15rpx; margin: 20rpx; padding: 25rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); .basic-info-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25rpx; padding-bottom: 15rpx; border-bottom: 2px solid #f1f3f4; .info-title { font-size: 32rpx; font-weight: bold; color: #333; .title-accent { color: #29d3b4; margin-left: 10rpx; } } .info-status { padding: 6rpx 15rpx; border-radius: 20rpx; font-size: 24rpx; color: #fff; background: #28a745; } } .basic-info-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20rpx; .info-item { display: flex; flex-direction: column; .info-label { font-size: 24rpx; color: #6c757d; margin-bottom: 5rpx; } .info-value { font-size: 28rpx; color: #333; font-weight: 500; &.empty { color: #adb5bd; font-style: italic; } } } } } // 整合后的学生卡片容器样式 .integrated-cards-container { margin: 20rpx; min-height: 670rpx; display: block; .student-swiper { height: 650rpx !important; min-height: 650rpx; // 强制设置swiper内部组件的高度 ::v-deep .uni-swiper-wrapper { height: 650rpx !important; } ::v-deep .uni-swiper-slides { height: 650rpx !important; } ::v-deep .uni-swiper-slide { height: 650rpx !important; } } .student-swiper-item { height: 620rpx !important; min-height: 620rpx; display: flex; flex-direction: column; } } // 整合的学生卡片样式 .integrated-student-card { background: #fff; border-radius: 15rpx; overflow: hidden; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1); min-height: 600rpx; height: auto; display: flex; flex-direction: column; // 客户基本信息区域 .basic-info-section { padding: 25rpx; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; .section-header { display: flex; align-items: center; margin-bottom: 25rpx; .customer-avatar { width: 60rpx; height: 60rpx; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28rpx; font-weight: bold; margin-right: 20rpx; } .customer-info { flex: 1; .customer-name { font-size: 32rpx; font-weight: bold; margin-bottom: 8rpx; } .customer-meta { font-size: 24rpx; opacity: 0.9; } } .contact-actions { display: flex; gap: 15rpx; .contact-btn { width: 60rpx; height: 60rpx; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; &:active { transform: scale(0.9); background: rgba(255, 255, 255, 0.3); } .contact-icon { font-size: 24rpx; } } } } .basic-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20rpx; .basic-info-item { .info-label { font-size: 24rpx; opacity: 0.8; margin-bottom: 5rpx; } .info-value { font-size: 26rpx; font-weight: 500; } } } } .divider-line { height: 2rpx; background: #f0f0f0; margin: 0 25rpx; } // 学生信息区域 .student-info-section { padding: 25rpx; flex: 1; min-height: 300rpx; .student-header { display: flex; align-items: center; margin-bottom: 25rpx; .student-avatar { width: 80rpx; height: 80rpx; border-radius: 50%; background: linear-gradient(135deg, #29d3b4 0%, #26c6da 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32rpx; font-weight: bold; margin-right: 20rpx; } .student-basic-info { flex: 1; .student-name { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 8rpx; } .student-meta { font-size: 24rpx; color: #666; .student-age, .student-gender { margin-right: 20rpx; } } } .student-edit-btn { padding: 8rpx 20rpx; border-radius: 20rpx; border: 2px solid #29d3b4; color: #29d3b4; font-size: 24rpx; transition: all 0.3s ease; &:active { background: #29d3b4; color: #fff; } } } .student-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15rpx; .detail-item { .detail-label { font-size: 24rpx; color: #666; margin-bottom: 5rpx; } .detail-value { font-size: 26rpx; color: #333; font-weight: 500; } } } } .actions-divider { height: 1rpx; background: #f0f0f0; margin: 0 25rpx; } // 学生操作面板 .student-actions-panel { padding: 20rpx 25rpx; .actions-toggle { display: flex; align-items: center; justify-content: center; padding: 10rpx 0; .toggle-icon { font-size: 20rpx; color: #666; transition: transform 0.3s ease; &.expanded { transform: rotate(180deg); } } } .actions-content { margin-top: 15rpx; .actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15rpx; .action-item { padding: 20rpx 10rpx; border-radius: 12rpx; background: #f8f9fa; border: 2px solid #e9ecef; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.3s ease; &:active { transform: scale(0.95); background: #e9ecef; border-color: #29d3b4; } .action-icon { font-size: 28rpx; margin-bottom: 8rpx; } .action-text { font-size: 22rpx; color: #495057; text-align: center; font-weight: 500; } } } } } } // 学生上下文标题样式 .student-context-header { padding: 20rpx 30rpx; background-color: rgba(41, 211, 180, 0.1); border-left: 4rpx solid #29d3b4; margin: 20rpx; border-radius: 8rpx; .context-title { color: #29d3b4; font-size: 28rpx; font-weight: bold; } } // swiper容器样式 .student-swiper { .student-swiper-item { padding: 0 20rpx; } } // 表单样式 .form-item { margin-bottom: 25rpx; .form-label { font-size: 28rpx; color: #333; margin-bottom: 12rpx; font-weight: 500; &.required { position: relative; &::before { content: '*'; color: #ff4757; margin-right: 4rpx; font-weight: bold; } } } .form-input { border: 2px solid #eee; border-radius: 12rpx; padding: 0 20rpx; background: #fff; transition: border-color 0.3s ease; &:focus-within { border-color: #29d3b4; } input { width: 100%; height: 80rpx; font-size: 28rpx; color: #333; border: none; outline: none; background: transparent; &::placeholder { color: #999; } } .picker-display { height: 80rpx; display: flex; align-items: center; justify-content: space-between; font-size: 28rpx; color: #333; .picker-arrow { color: #999; font-size: 32rpx; font-weight: bold; transform: rotate(90deg); } } } .form-textarea { border: 2px solid #eee; border-radius: 12rpx; padding: 20rpx; background: #fff; transition: border-color 0.3s ease; &:focus-within { border-color: #29d3b4; } textarea { width: 100%; height: 120rpx; font-size: 28rpx; color: #333; border: none; outline: none; background: transparent; resize: none; &::placeholder { color: #999; } } } } // 学生操作面板样式(额外的样式定义) .student-actions-panel { margin-top: 15rpx; padding: 20rpx; background: #f8f9fa; border-radius: 12rpx; border: 2px solid #e9ecef; transition: all 0.3s ease; .panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15rpx; .panel-title { font-size: 26rpx; color: #495057; font-weight: 600; } .collapse-icon { width: 30rpx; height: 30rpx; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #29d3b4; color: #fff; font-size: 20rpx; font-weight: bold; transition: transform 0.3s ease; &.expanded { transform: rotate(180deg); } } } .actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12rpx; margin-top: 15rpx; .action-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15rpx 8rpx; background: #fff; border-radius: 8rpx; border: 1px solid #dee2e6; transition: all 0.3s ease; position: relative; &:active { transform: scale(0.95); background: #e3f2fd; } .action-icon { font-size: 32rpx; margin-bottom: 5rpx; display: block; line-height: 1; } .action-text { font-size: 22rpx; color: #495057; text-align: center; line-height: 1.2; font-weight: 500; } &:hover { background: #f8f9fa; border-color: #29d3b4; .action-text { color: #29d3b4; } } } } &.collapsed { .actions-grid { display: none; } } } // 整合后的基本信息卡片样式 .basic-info-card { background: #fff; border-radius: 15rpx; margin: 20rpx; padding: 25rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); .basic-info-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25rpx; padding-bottom: 15rpx; border-bottom: 2px solid #f1f3f4; .info-title { font-size: 32rpx; font-weight: bold; color: #333; .title-accent { color: #29d3b4; margin-left: 10rpx; } } .info-status { padding: 6rpx 15rpx; border-radius: 20rpx; font-size: 24rpx; color: #fff; background: #28a745; } } .basic-info-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20rpx; .info-item { display: flex; flex-direction: column; .info-label { font-size: 24rpx; color: #6c757d; margin-bottom: 5rpx; } .info-value { font-size: 28rpx; color: #333; font-weight: 500; &.empty { color: #adb5bd; font-style: italic; } } } } } // 整合后的学生卡片容器样式 .integrated-cards-container { margin: 20rpx; min-height: 670rpx; display: block; .student-swiper { height: 650rpx !important; min-height: 650rpx; // 强制设置swiper内部组件的高度 ::v-deep .uni-swiper-wrapper { height: 650rpx !important; } ::v-deep .uni-swiper-slides { height: 650rpx !important; } ::v-deep .uni-swiper-slide { height: 650rpx !important; } } .student-swiper-item { height: 620rpx !important; min-height: 620rpx; display: flex; flex-direction: column; } } // 空状态样式 .empty-records { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 20rpx; .empty-img { width: 200rpx; height: 200rpx; opacity: 0.5; margin-bottom: 30rpx; } .empty-text { color: #999; font-size: 28rpx; } }