/* 未能缩小。正在返回未缩小的内容。 (25,17): run-time error CSS1039: Token not allowed after unary operator: '-design-theme-color' (149,25): run-time error CSS1039: Token not allowed after unary operator: '-design-theme-border-radius' (155,25): run-time error CSS1039: Token not allowed after unary operator: '-design-theme-button-border-radius' */ /* 课程 */ .course-lists { display: flex; flex-direction: column; gap: 20px; width: 100%; margin-top: 20px; } .course-list-item { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 24px; background: #fff; color: #333; } .course-list-item:hover{ filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.04)); } .course-list-item:hover .course-info-name{ color: var(--design-theme-color, #12bfaf); } .course-cover { width: 300px; aspect-ratio: 300/187; object-fit: cover; margin-right: 20px; } .course-info { display: flex; flex-direction: column; justify-content: center; align-items: start; margin-right: 68px; margin-top: 8px; flex: 1; } .course-info-name { font-size: 22px; line-height: 30px; font-weight: 700; } .course-info-txt { display: flex; flex-direction: column; align-items: start; gap: 8px; margin-top: 12px; } .course-info-time, .course-info-feature { display: flex; flex-direction: row; align-items: start; justify-content: start; color: #666; font-size: 14px; line-height: 20px; } .course-info-time span:first-child, .course-info-feature span:first-child { color: #999; min-width: 92px; } /* 操作按钮 */ .course-btn { margin-top: 29px; display: flex; flex-direction: row; align-items: center; gap: 20px; } .course-listen, .course-consoult { border: 1px solid #FE6507; padding: 10px 32px; font-size: 14px; line-height: 20px; cursor: pointer; } .course-listen { color: #fff; background: #FE6507; } .course-consoult { color: #FE6507; background: #fff; } .course-consoult:hover{ background: rgba(254, 101, 7, 0.04); } .course-listen:hover{ background: #F65600; } /* 右边其他信息 */ .course-opt { display: flex; flex-direction: column; justify-content: space-between; align-items: end; height: 100%; min-height: 190px; } .course-opt-consult { flex: 1; display: flex; flex-direction: column; align-items: end; } .course-opt-consult span:first-child { color: #FE6507; font-size: 16px; font-weight: 700; line-height: 24px; } .course-opt-consult span:last-child, .course-opt-detail { color: #999; font-size: 14px; line-height: 20px; margin-top: 2px; } .course-opt-detail { display: flex; flex-direction: row; align-items: center; } /* 默认圆角 */ .course-list-item, .course-cover { border-radius: var(--design-theme-border-radius); } /* 按钮圆角 */ .course-listen, .course-consoult { border-radius: var(--design-theme-button-border-radius); }