123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- .listContainer {
- margin: 10px 0;
- max-height: calc(var(--window-page-lesson-height) - 204px);
- // overflow-x: auto;
- &.listNoMusic {
- max-height: calc(var(--window-page-lesson-height) - 150px);
- .listSection {
- min-height: calc(var(--window-page-lesson-height) - 150px);
- }
- }
- .listSection {
- min-height: calc(var(--window-page-lesson-height) - 204px);
- }
- .emptySection {
- display: flex;
- align-items: center;
- }
- .list {
- padding: 10px 0;
- text-align: center;
- & > div {
- margin-bottom: 20px;
- &:last-child {
- margin-bottom: 0;
- }
- }
- }
- }
- .trainEditModal {
- width: 524px;
- }
- .itemModal {
- display: flex;
- align-items: center;
- margin: 0 17px 20px;
- .itemCover {
- position: relative;
- width: 118px;
- height: 66px;
- margin-right: 10px;
- border-radius: 12px;
- border: 1px solid #eff0f2;
- overflow: hidden;
- .statusCon {
- position: absolute;
- top: 2px;
- left: 2px;
- z-index: 9;
- display: flex;
- align-items: center;
- transform: scale(0.8);
- .status {
- background: rgba(0, 0, 0, 0.5);
- border-radius: 4px;
- font-weight: 600;
- font-size: max(12px, 11Px);
- color: #ffffff;
- padding: 2px 6px;
- }
- }
- :global {
- .n-image {
- width: 118px;
- height: 66px;
- }
- }
- img {
- width: 100%;
- height: 100%;
- }
- &:hover {
- .function {
- opacity: 1;
- transition: opacity 0.2s ease;
- }
- }
- }
- .function {
- position: absolute;
- inset: 0;
- background: rgba(0, 0, 0, 0.3);
- display: flex;
- align-items: center;
- justify-content: space-evenly;
- opacity: 0;
- transition: opacity 0.2s ease;
- .iconLook,
- .iconAdd {
- cursor: pointer;
- width: 27px;
- height: 27px;
- border-radius: 50%;
- background: rgba(0, 0, 0, 0.4);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .iconLook {
- &::before {
- display: inline-block;
- content: '';
- width: 15px;
- height: 15px;
- background: url('../../../../images/icon-look.png') no-repeat center;
- background-size: contain;
- }
- }
- .iconAdd {
- &::before {
- display: inline-block;
- content: '';
- width: 12px;
- height: 12px;
- background: url('../../../../images/icon-add.png') no-repeat center;
- background-size: contain;
- }
- }
- }
- .itemContent {
- max-width: 158px;
- text-align: left;
- flex: 1;
- .itemTitle {
- font-weight: 600;
- font-size: max(12px, 11Px);
- color: #000000;
- line-height: 17px;
- &:hover {
- color: #1677ff;
- cursor: pointer;
- }
- }
- .itemSubject {
- padding-top: 7px;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 11px;
- color: #777777;
- line-height: 15px;
- }
- .updateTime {
- font-size: max(12px, 10Px);
- color: #777777;
- padding-top: 2px;
- }
- .other {
- display: flex;
- justify-content: space-between;
- align-items: center;
- span {
- font-size: max(12px, 10Px);
- color: #777777;
- }
- }
- .addCourseBtn {
- display: inline-block;
- padding: 2px 6px;
- background: #e8f4ff;
- border-radius: 2px;
- font-weight: 500;
- font-size: max(10px, 10Px);
- color: #0378ec;
- cursor: pointer;
- }
- }
- }
|