智慧教务系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1408 lines
26 KiB

// 客户详情页样式文件
// 从 clue_info.vue 中提取的样式
.assemble {
background-color: #f5f5f5;
min-height: 100vh;
}
.main_box {
background-color: #fff;
margin: 20rpx;
border-radius: 15rpx;
padding: 30rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
}
.action-buttons {
display: flex;
justify-content: space-around;
margin: 30rpx 0;
padding: 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
.action-btn {
flex: 1;
margin: 0 10rpx;
padding: 15rpx 20rpx;
border-radius: 8rpx;
background: #fff;
border: 2px solid #e9ecef;
color: #495057;
font-size: 26rpx;
text-align: center;
transition: all 0.3s ease;
&:active {
transform: scale(0.95);
background: #29d3b4;
color: #fff;
border-color: #29d3b4;
}
&.primary {
background: #29d3b4;
color: #fff;
border-color: #29d3b4;
}
}
}
.tab-switcher-container {
display: flex;
justify-content: center;
margin: 30rpx 0;
padding: 8rpx;
background: #f1f3f4;
border-radius: 25rpx;
.tab-item {
flex: 1;
padding: 15rpx 20rpx;
text-align: center;
border-radius: 20rpx;
font-size: 28rpx;
color: #666;
transition: all 0.3s ease;
&.active {
background: #29d3b4;
color: #fff;
font-weight: bold;
}
}
}
.count_section {
display: flex;
justify-content: space-around;
margin: 30rpx 0;
padding: 25rpx;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 15rpx;
color: #fff;
.count-item {
text-align: center;
.count-number {
font-size: 36rpx;
font-weight: bold;
margin-bottom: 8rpx;
}
.count-label {
font-size: 24rpx;
opacity: 0.9;
}
}
}
.selected-text {
color: #29d3b4;
font-weight: bold;
}
.text {
color: #333;
}
.basic-message {
margin: 20rpx 0;
.message-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx 0;
border-bottom: 1rpx solid #f0f0f0;
.message-label {
font-size: 28rpx;
color: #666;
}
.message-value {
font-size: 28rpx;
color: #333;
font-weight: 500;
}
}
}
.bottom-label {
margin-top: 30rpx;
padding: 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
border-left: 4rpx solid #29d3b4;
.label-title {
font-size: 28rpx;
color: #29d3b4;
font-weight: bold;
margin-bottom: 10rpx;
}
.label-content {
font-size: 26rpx;
color: #666;
line-height: 1.6;
}
}
.custom-popup-dialog {
.popup-content {
background: #fff;
border-radius: 20rpx 20rpx 0 0;
padding: 30rpx;
max-height: 80vh;
overflow-y: auto;
.popup-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30rpx;
padding-bottom: 20rpx;
border-bottom: 2rpx solid #f0f0f0;
.popup-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
}
.close-btn {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
color: #666;
font-size: 32rpx;
}
}
}
}
.remark-textarea-container {
margin: 20rpx 0;
.remark-textarea {
width: 100%;
min-height: 200rpx;
padding: 20rpx;
border: 2rpx solid #e9ecef;
border-radius: 12rpx;
font-size: 28rpx;
color: #333;
background: #fff;
&:focus {
border-color: #29d3b4;
outline: none;
}
&::placeholder {
color: #999;
}
}
}
.remark-btn {
width: 100%;
padding: 20rpx;
background: #29d3b4;
color: #fff;
border-radius: 12rpx;
font-size: 28rpx;
font-weight: bold;
text-align: center;
margin-top: 20rpx;
transition: all 0.3s ease;
&:active {
transform: scale(0.98);
background: #26c6da;
}
}
.follow-records-list {
.record-item {
padding: 25rpx;
margin-bottom: 20rpx;
background: #fff;
border-radius: 12rpx;
border-left: 4rpx solid #29d3b4;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
.record-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15rpx;
.record-type {
padding: 6rpx 15rpx;
border-radius: 15rpx;
background: #29d3b4;
color: #fff;
font-size: 24rpx;
}
.record-time {
font-size: 24rpx;
color: #666;
}
}
.record-content {
font-size: 26rpx;
color: #333;
line-height: 1.6;
margin-bottom: 10rpx;
}
.record-operator {
font-size: 24rpx;
color: #999;
text-align: right;
}
}
}
.same-community {
color: #29d3b4;
font-weight: bold;
}
.coeducation {
color: #ff6b6b;
font-weight: bold;
}
.search {
margin: 20rpx;
padding: 15rpx 25rpx;
background: #fff;
border-radius: 25rpx;
border: 2rpx solid #e9ecef;
font-size: 28rpx;
&:focus {
border-color: #29d3b4;
outline: none;
}
&::placeholder {
color: #999;
}
}
.selected {
background: #29d3b4;
color: #fff;
}
.not-selected {
background: #f8f9fa;
color: #666;
}
.call-record-item {
padding: 25rpx;
margin: 20rpx;
background: #fff;
border-radius: 12rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
.call-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15rpx;
.call-type {
padding: 6rpx 15rpx;
border-radius: 15rpx;
font-size: 24rpx;
&.incoming {
background: #28a745;
color: #fff;
}
&.outgoing {
background: #17a2b8;
color: #fff;
}
&.missed {
background: #dc3545;
color: #fff;
}
}
.call-duration {
font-size: 24rpx;
color: #666;
}
}
.call-info {
font-size: 26rpx;
color: #333;
margin-bottom: 10rpx;
}
.call-time {
font-size: 24rpx;
color: #999;
text-align: right;
}
}
.call-log {
.log-item {
padding: 20rpx;
margin-bottom: 15rpx;
background: #f8f9fa;
border-radius: 8rpx;
border-left: 3rpx solid #29d3b4;
.log-content {
font-size: 26rpx;
color: #333;
line-height: 1.5;
margin-bottom: 8rpx;
}
.log-meta {
display: flex;
justify-content: space-between;
font-size: 24rpx;
color: #666;
}
}
}
.course-info {
.info-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20rpx;
margin: 20rpx 0;
.info-item {
padding: 20rpx;
background: #f8f9fa;
border-radius: 8rpx;
.info-label {
font-size: 24rpx;
color: #666;
margin-bottom: 8rpx;
}
.info-value {
font-size: 28rpx;
color: #333;
font-weight: 500;
}
}
}
}
.popup-container {
.popup-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
}
.popup-content {
background: #fff;
border-radius: 15rpx;
padding: 30rpx;
margin: 20rpx;
max-height: 80vh;
overflow-y: auto;
width: 90%;
max-width: 600rpx;
}
}
.course-edit-container {
.form-section {
margin-bottom: 30rpx;
.section-title {
font-size: 30rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
padding-bottom: 10rpx;
border-bottom: 2rpx solid #29d3b4;
}
.form-row {
display: flex;
margin-bottom: 20rpx;
.form-item {
flex: 1;
margin-right: 20rpx;
&:last-child {
margin-right: 0;
}
.form-label {
font-size: 26rpx;
color: #666;
margin-bottom: 10rpx;
}
.form-input {
width: 100%;
padding: 15rpx;
border: 2rpx solid #e9ecef;
border-radius: 8rpx;
font-size: 26rpx;
&:focus {
border-color: #29d3b4;
outline: none;
}
}
}
}
}
.action-buttons {
display: flex;
gap: 20rpx;
margin-top: 30rpx;
.btn {
flex: 1;
padding: 20rpx;
border-radius: 8rpx;
font-size: 28rpx;
text-align: center;
&.primary {
background: #29d3b4;
color: #fff;
}
&.secondary {
background: #f8f9fa;
color: #666;
border: 2rpx solid #e9ecef;
}
}
}
}
.fitness-test-records {
.record-card {
background: #fff;
border-radius: 12rpx;
padding: 25rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
.record-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
.record-date {
font-size: 28rpx;
font-weight: bold;
color: #333;
}
.record-status {
padding: 6rpx 15rpx;
border-radius: 15rpx;
font-size: 24rpx;
&.completed {
background: #28a745;
color: #fff;
}
&.pending {
background: #ffc107;
color: #333;
}
}
}
.record-data {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15rpx;
.data-item {
.data-label {
font-size: 24rpx;
color: #666;
margin-bottom: 5rpx;
}
.data-value {
font-size: 26rpx;
color: #333;
font-weight: 500;
}
}
}
}
}
.fitness-record-form {
.form-group {
margin-bottom: 25rpx;
.group-title {
font-size: 28rpx;
font-weight: bold;
color: #333;
margin-bottom: 15rpx;
padding-bottom: 8rpx;
border-bottom: 2rpx solid #29d3b4;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15rpx;
.form-field {
.field-label {
font-size: 24rpx;
color: #666;
margin-bottom: 8rpx;
}
.field-input {
width: 100%;
padding: 12rpx;
border: 2rpx solid #e9ecef;
border-radius: 6rpx;
font-size: 26rpx;
&:focus {
border-color: #29d3b4;
outline: none;
}
}
}
}
}
.submit-section {
margin-top: 30rpx;
padding-top: 20rpx;
border-top: 2rpx solid #f0f0f0;
.submit-btn {
width: 100%;
padding: 20rpx;
background: #29d3b4;
color: #fff;
border-radius: 8rpx;
font-size: 28rpx;
font-weight: bold;
text-align: center;
&:active {
background: #26c6da;
}
}
}
}
// 分割线样式
.divider-line {
height: 2rpx;
background: #f0f0f0;
margin: 20rpx 0;
}
// 学生信息区域样式
.student-info-section {
background: #fff;
border-radius: 15rpx;
margin: 20rpx;
padding: 25rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 25rpx;
padding-bottom: 15rpx;
border-bottom: 2rpx solid #f1f3f4;
.section-title {
font-size: 32rpx;
font-weight: bold;
color: #333;
.title-icon {
color: #29d3b4;
margin-right: 10rpx;
}
}
.section-actions {
display: flex;
gap: 15rpx;
.action-btn {
padding: 8rpx 20rpx;
border-radius: 20rpx;
border: 2rpx solid #29d3b4;
color: #29d3b4;
font-size: 24rpx;
transition: all 0.3s ease;
&:active {
background: #29d3b4;
color: #fff;
}
}
}
}
.student-card {
background: #f8f9fa;
border-radius: 12rpx;
padding: 20rpx;
margin-bottom: 15rpx;
border: 2rpx solid #e9ecef;
transition: all 0.3s ease;
&:active {
transform: scale(0.98);
border-color: #29d3b4;
}
.student-header {
display: flex;
align-items: center;
margin-bottom: 15rpx;
.student-avatar {
width: 60rpx;
height: 60rpx;
border-radius: 50%;
background: linear-gradient(135deg, #29d3b4 0%, #26c6da 100%);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 24rpx;
font-weight: bold;
margin-right: 15rpx;
}
.student-info {
flex: 1;
.student-name {
font-size: 28rpx;
font-weight: bold;
color: #333;
margin-bottom: 5rpx;
}
.student-meta {
font-size: 24rpx;
color: #666;
}
}
.student-status {
padding: 4rpx 12rpx;
border-radius: 12rpx;
font-size: 22rpx;
&.active {
background: #28a745;
color: #fff;
}
&.inactive {
background: #6c757d;
color: #fff;
}
}
}
.student-details {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10rpx;
.detail-item {
.detail-label {
font-size: 22rpx;
color: #666;
margin-bottom: 3rpx;
}
.detail-value {
font-size: 24rpx;
color: #333;
font-weight: 500;
}
}
}
}
}
.actions-divider {
height: 1rpx;
background: #f0f0f0;
margin: 15rpx 0;
}
// 学生操作面板样式
.student-actions-panel {
margin-top: 15rpx;
padding: 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
border: 2rpx 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;
}
}
}
// 学生信息编辑弹窗样式
.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;
}
}
// 空状态样式
.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;
}
}