.headerContent { // padding-top: 12px; // padding-bottom: 20px; min-height: 100px; position: relative; } .teacherContent { display: flex; justify-content: space-between; flex-shrink: 0; } .teacherUs { padding-left: 20px; flex: 1 auto; } .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: #F0AF88; background-color: #F0AF88; } .teacherIconVip { position: absolute; bottom: 0; right: -12px; width: 39px; height: 18px; } } .teacherInfo { display: flex; align-items: center; padding: 14px 0 0; .teacherInfoName { font-weight: 600; font-size: 22px; color: #FFFFFF; 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-top: 4px; padding-left: 8px; .score { margin-left: 25px; } } .headerCount { width: 100%; padding: 14px 14px 20px; margin: 0 auto; border-radius: 10px; box-sizing: border-box; } .teacherOperation { padding-top: 18px; display: flex; :global { .van-button { height: 36px; border-radius: 6px; background: rgba(255, 255, 255, .2); border: none; color: #FFFFFF; font-size: 14px; font-weight: 600; } } .btn { padding: 3px 12px 1px; flex: 1; img { width: 18px; // height: 18px; vertical-align: sub; margin-right: 6px; } } .btnStar { color: #F8F9FC; background: #2DC7AA; margin-right: 13px; // &::before { // background: #2DC7AA; // } } } .subjectSection { margin-right: 10px; // height: 18px; max-width: 44px; box-sizing: content-box; } .teacher-bottom { padding: 17px 0 0 0; display: flex; align-items: center; .iconCert { height: 18px; margin-right: 8px; } } .followFans { padding-top: 10px !important; } .teacher-data { display: flex; align-items: center; justify-content: space-between; .teacher-data_item { font-size: 13px; color: rgba(255,255,255,0.6); position: relative; line-height: 1.2; span { font-weight: 500; font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 15px; color: #fff; 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: 285px; // height: 18px; display: flex; flex-wrap: nowrap; } .piNameSubject { display: flex; align-items: center; padding-top: 20px; .subject { display: flex; align-items: center; margin-left: 8px; background: rgba(255, 255, 255, .2); border-radius: 10px; font-size: 12px; line-height: 1.3; color: #FFFFFF; padding: 4px 8px 3px; 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; top: -1.5px; left: 50%; transform: translateX(-50%); width: 34px; // 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: 72px; height: 72px; } .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; }