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.
153 lines
2.7 KiB
153 lines
2.7 KiB
// 弹窗容器样式
|
|
.popup-container {
|
|
background: #fff;
|
|
border-radius: 15rpx;
|
|
padding: 30rpx;
|
|
margin: 20rpx;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
width: 90%;
|
|
max-width: 600rpx;
|
|
}
|
|
|
|
// 弹窗头部
|
|
.popup-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30rpx;
|
|
padding-bottom: 20rpx;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.popup-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
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;
|
|
}
|
|
}
|
|
|
|
// 课程编辑容器
|
|
.course-edit-container {
|
|
.edit-section {
|
|
margin-bottom: 30rpx;
|
|
|
|
.section-title {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.empty-tip {
|
|
color: #999;
|
|
font-size: 26rpx;
|
|
text-align: center;
|
|
padding: 40rpx 0;
|
|
}
|
|
|
|
.coach-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15rpx;
|
|
|
|
.coach-item {
|
|
position: relative;
|
|
background: #f5f5f5;
|
|
border: 2rpx solid #f5f5f5;
|
|
border-radius: 10rpx;
|
|
padding: 20rpx 30rpx;
|
|
min-width: 120rpx;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
|
|
&.selected {
|
|
background: #e8f5ff;
|
|
border-color: #29d3b4;
|
|
color: #29d3b4;
|
|
}
|
|
|
|
&:hover {
|
|
background: #e8f5ff;
|
|
border-color: #29d3b4;
|
|
}
|
|
|
|
.coach-name {
|
|
font-size: 26rpx;
|
|
color: inherit;
|
|
}
|
|
|
|
.coach-check {
|
|
position: absolute;
|
|
top: -5rpx;
|
|
right: -5rpx;
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
background: #29d3b4;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 20rpx;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 弹窗底部
|
|
.popup-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 20rpx;
|
|
margin-top: 40rpx;
|
|
padding-top: 30rpx;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.popup-btn {
|
|
flex: 1;
|
|
height: 80rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 10rpx;
|
|
font-size: 28rpx;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
|
|
&.cancel-btn {
|
|
background: #f5f5f5;
|
|
color: #666;
|
|
|
|
&:hover {
|
|
background: #e8e8e8;
|
|
}
|
|
}
|
|
|
|
&.confirm-btn {
|
|
background: #29d3b4;
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
background: #25c4a8;
|
|
}
|
|
}
|
|
}
|