.headerContent { padding-top: 40px; padding-bottom: 20px; min-height: 100px; position: relative; } .teacherContent { display: flex; justify-content: space-between; flex-shrink: 0; } .teacherIcon { position: relative; margin-top: -38px; line-height: 0; .avatar { position: relative; width: 78px; height: 78px; box-sizing: border-box; border: 2px solid #fff; background-color: #fff; } .avatarActive { border-color: #ffe0b9; background-color: #ffe0b9; } .teacherIconVip { position: absolute; bottom: 0; right: -30px; width: 46px; height: 20px; } } .teacherInfo { display: flex; align-items: center; padding: 14px 0; .teacherInfoName { font-size: 20px; font-weight: 500; color: #1a1a1a; // line-height: 22px; max-width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } & > img { margin-left: 10px; width: 39px; height: 16px; } } .teacherHonor { display: flex; align-items: center; font-size: 12px; line-height: 16px; color: #666; font-weight: 500; padding-bottom: 12px; padding-top: 10px; .score { margin-left: 25px; } } .headerCount { width: calc(100% - 28px); padding: 12px; margin: 0 auto; background-color: #fff; border-radius: 10px; box-sizing: border-box; } .teacherOperation { :global { .van-button { height: 28px; } } .btn { padding: 3px 12px 1px; min-width: 62px; } .btnStar { color: #f18400; border-color: #f18400; } } .subjectSection { margin-right: 10px; // height: 18px; max-width: 68px; box-sizing: content-box; } .teacher-bottom { padding: 30px 0 0 0; display: flex; align-items: center; justify-content: space-between; } .teacher-data { display: flex; align-items: center; justify-content: space-between; .teacher-data_item { font-size: 14px; color: #333333; position: relative; span { font-weight: 500; color: #000000; font-size: 20px; margin-left: 5px; } &::after { content: ' '; display: inline-block; position: absolute; right: 0px; top: 2px; width: 1px; height: 16px; background: #ebebeb; } &:first-child { padding-right: 15px; margin-right: 15px; } &:last-child { &::after { display: none; } } } } .iconVip { width: 34px !important; margin-right: 5px; } .iconOther { margin-left: 6px; width: 18px; height: 18px; } .teacher-info { margin-left: 8px; .teacher-name { font-size: 18px; font-weight: 500; color: #1a1a1a; padding-bottom: 6px; display: flex; justify-content: space-between; .teacherCert { display: flex; align-items: center; } .teacherLast { display: inline-block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } } .subjectList::-webkit-scrollbar { display: none; /* Chrome Safari */ } .subjectList { overflow: auto; width: 255px; // height: 18px; display: flex; flex-wrap: nowrap; } .piNameSubject { display: flex; align-items: center; .subject { display: flex; align-items: center; margin-left: 4px; background: #effbf9; border-radius: 8px; font-size: 12px; line-height: 16px; color: #2dc7aa; padding: 0 5px; white-space: nowrap; &:first-child { margin-left: 0; } } } .rTitle { display: flex; align-items: center; &::before { margin-right: 8px; content: ' '; display: inline-block; width: 4px; height: 14px; background: #2dc7aa; border-radius: 3px; } } .liveTag { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); line-height: 16px; background: #ff6363; border-radius: 20px; text-align: center; color: #fff; font-size: 10px; font-weight: 500; padding: 2px 0; width: 60%; z-index: 10; } .teacherName { display: inline-block; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; } .teacherIcons { display: flex; align-items: center; } .teaherPopup { background: transparent; width: 276px; overflow: initial; } .teacherIconWrap { padding: 50px 22px 22px 22px; background-color: #fff; border-radius: 0 0 10px 10px; margin-top: -25px; } .teacherIconItem { margin-bottom: 16px; .teacherIconItemTop { display: flex; align-items: center; margin-bottom: 10px; } :global { .van-image { margin-right: 8px; width: 24px; height: 24px; } } .teacherIconTitle { font-size: 16px; font-weight: bold; color: #333; } .teacherIconDes { font-size: 12px; line-height: 16px; font-weight: 400; padding-left: 3px; color: #666; } } .closeIcon { position: absolute; bottom: -54px; left: 50%; transform: translateX(-50%); width: 0.96rem; height: 0.96rem; } .liveList { padding: 12px 0; .headerFollow { margin-bottom: 12px; .teacherIcon { margin: 0 10px 0 0; } .score { margin-left: 10px; } .teacherIconVip { left: 50%; right: initial; transform: translateX(-50%); bottom: -6px; } .liveTag { bottom: -30px; width: 80%; } .avatar { width: 60px; height: 60px; } .piNameSubject { align-items: flex-start; } .subjectList { flex-wrap: wrap; } .subject { margin: 2px 5px 3px 0; } .teacher-bottom { padding-top: 24px; } .unlinkeBtn { font-size: 12px; color: #ff6363; border: 1px solid #ff6363; padding: 5px 10px; border-radius: 20px; } } } .followContainer { display: flex; align-items: flex-start; }