| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982 |
- .mobileMain {
- position: relative;
- width: 100%;
- min-height: calc(100vh - 64px);
- margin: 0 !important;
- }
- .mobileWeb {
- margin-bottom: 30px !important;
- }
- .learn-detail-wrapper {
- position: relative;
- width: 1000px;
- .el-breadcrumb__inner {
- font-size: 16px;
- color: #999;
- }
- .el-breadcrumb__item:last-child .el-breadcrumb__inner {
- color: #333;
- }
- .learn-video {
- height: 278px;
- margin-top: 20px;
- .purchased {
- background: #fff;
- border-radius: 6px;
- height: 278px;
- display: flex;
- align-items: center;
- .video {
- width: 398px;
- height: 224px;
- border-radius: 10px;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: 16px;
- position: relative;
- cursor: pointer;
- overflow: hidden;
- background: rgba(0,0,0,0.40);
- .play {
- width: 54px;
- height: 54px;
- border-radius: 50%;
- position: absolute;
- z-index: 1;
- }
- .bg-img {
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- height: 100%;
- width: 100%;
- }
- }
- .intro {
- margin-right: 20px;
- margin-left: 16px;
- flex: 1;
- height: 224px;
- .title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .text {
- font-size: 20px;
- color: #222;
- line-height: 28px;
- width: 440px;
- font-family: PingFangSC, PingFangSC-Medium;
- }
- .collect-share{
- display: flex;
- margin-left: 45px;
- .common {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-left: 24px;
- cursor: pointer;
- .icon {
- width: 21px;
- height: 21px;
- display: inline-block;
- }
- .txt {
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Medium;
- color: #666;
- }
- }
- }
- }
- .lectruer {
- margin-top: 25px;
- color: rgb(197, 193, 193);
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- display: flex;
- align-items: center;
- .line {
- margin: 0 10px;
- display: inline-block;
- }
- .txt {
- color: #308eff;
- }
- }
- .price {
- margin-top: 49px;
- font-family: PingFangSC, PingFangSC-Medium;
- .new {
- color: #F60;
- font-size: 22px;
- display: inline-block;
- }
- .first-letter:first-letter {
- font-size: 14px;
- }
- .old {
- font-size: 14px;
- text-decoration: line-through;
- color: #999;
- margin-left: 8px;
- }
- }
- .btns {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 37px;
- .el-button {
- padding: 0;
- width: 130px;
- height: 44px;
- border-radius: 6px;
- border: 1px solid #308EFF;
- color: #308EFF;
- font-size: 14px;
- font-family: PingFangSC, PingFangSC-Medium;
- }
- .go-buy {
- color: #fff;
- .icon {
- width: 18px;
- height: 18px;
- display: inline-block;
- vertical-align: sub;
- margin-right: -4px;
- }
- }
- .brief {
- span {
- font-family: PingFangSC, PingFangSC-Medium;
- background: #efefef;
- border-radius: 3px;
- padding: 6px 14px;
- color: #666;
- font-size: 12px;
- font-weight: 500;
- }
- }
- }
- }
- }
- }
- .learn-content {
- margin-top: 12px;
- display: flex;
- .con-left {
- width: 739px;
- .learn-tabs {
- position: relative;
- width: 100%;
- height: 50px;
- display: flex;
- align-items: center;
- background: #fff;
- border-radius: 5px;
- .tabs-item:hover {
- color: #222;
- font-size: 15px;
- }
- .tabs-item {
- position: relative;
- width: 79px;
- height: 50px;
- line-height: 50px;
- font-size: 16px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- text-align: center;
- color: #666;
- cursor: pointer;
- &.active {
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222;
- &:after {
- position: absolute;
- content: " ";
- width: 15px;
- height: 3px;
- bottom: 1px;
- left: calc(50% - 7.5px);
- background: #308eff;
- border-radius: 2px;
- }
- }
- }
- }
- .introduction {
- margin-top: 12px;
- background: #fff;
- padding: 16px;
- border-radius: 6px;
- p {
- font-family: PingFangSC, PingFangSC-Medium;
- line-height: 25px;
- font-size: 16px;
- color: #333;
- // 文字超过内容宽度处理
- word-wrap: break-word;
- word-break: break-all;
- overflow: hidden;
- }
- img {
- margin: 12px 0;
- }
- }
- .catalog {
- background: #fff;
- margin-top: 12px;
- padding: 20px;
- .catalog-item {
- margin-bottom: 24px;
- }
- .li {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 59px;
- border-bottom: 1px solid #e9ecee;
- .is-charge {
- width: 33px;
- height: 18px;
- border-radius: 3px;
- border: 1px solid;
- font-size: 12px;
- display: inline-block;
- text-align: center;
- line-height: 18px;
- margin-right: 6px;
- }
- .free {
- border-color:#308EFF;
- color: #308EFF;
- }
- .charge {
- border-color:#f25637;
- color: #f25637;
- }
- .txt {
- font-size: 16px;
- color: #333;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 400;
- }
- .is-publish {
- font-size: 14px;
- font-weight: 400;
- font-family: PingFangSC, PingFangSC-Regular;
- }
- .publish {
- color: #308eff;
- }
- .unpublish {
- color: #666;
- }
- .timer {
- min-width: 90px;
- text-align: right;
- display:inline-block;
- color: #666;
- font-family: PingFangSC, PingFangSC-Regular;
- font-size: 16px;
- margin-left: 8px;
- img {
- width: 16px;
- height: 16px;
- vertical-align: top;
- margin-right: 4px;
- }
- }
- }
- .title {
- font-size: 16px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222;
- }
- }
- .questions {
- background: #fff;
- padding-top: 6px;
- border-radius: 6px;
- margin-top: 12px;
- .el-collapse-item__arrow {
- transform: rotate(-90deg);
- }
- .el-collapse-item__arrow.is-active {
- transform: rotate(90deg);
- }
- .el-collapse-item__header {
- background: #f4f5f9;
- padding-left: 20px;
- font-family: PingFangSC, PingFangSC-Semibold;
- color: #222;
- font-size: 14px;
- font-weight: 600;
- }
- .el-collapse-item__content {
- font-size: 15px;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 400;
- color: #222;
- line-height: 24px;
- }
- }
- }
- .con-right {
- width: 250px;
- margin-left: 12px;
- .r-lectruer {
- background: #fff;
- min-height: 302px;
- border-radius: 6px;
- .lectruer-img {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- width: 218px;
- height: 159px;
- margin: 0 auto;
- border-bottom: 1px solid #e9ecee;
- .l-img {
- display: flex;
- flex-direction: column;
- align-items: center;
- img {
- width: 70px;
- height: 70px;
- border-radius: 50%;
- background: #f4f5f9;
- display: block;
- }
- span {
- width: 53px;
- height: 22px;
- text-align: center;
- line-height: 22px;
- display: inline-block;
- color: #fff;
- background: #308EFF;
- border-radius: 22px;
- font-size: 12px;
- font-family: PingFangSC, PingFangSC-Regular;
- margin-top:-6px;
- }
- }
- .name {
- font-size: 13px;
- color: #222;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- margin-top: 10px;
- }
- .job {
- font-size: 12px;
- color: #999;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 400;
- margin-top: 12px;
- }
- }
- .lectruer-info {
- font-size: 12px;
- color: #666;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- line-height: 18px;
- padding: 16px;
- }
- }
- .class-consult {
- background: #fff;
- margin-top: 12px;
- border-radius: 6px;
- min-height: 128px;
- .consult {
- margin-top: 8px;
- display: flex;
- flex-direction: column;
- align-items: center;
- .show-ewm {
- position: relative;
- width: 222px;
- height: 34px;
- .ewm {
- width: 100px;
- height: 132px;
- position: absolute;
- right: -125px;
- top: -52px;
- background: #fff;
- display: none;
- }
- .img {
- width: 100px;
- height: 100px;
- margin-top: 5px;
- }
- .text {
- font-size: 13px;
- font-family: PingFangSC, PingFangSC-Regular;
- text-align: center;
- color: #666;
- display: block;
- }
- }
- .show-ewm:hover {
- .ewm {
- display: block;
- }
- }
- .el-button {
- width: 222px;
- height: 34px;
- border-radius: 5px;
- font-size: 13px;
- font-weight: 500;
- font-family: PingFangSC, PingFangSC-Regular;
- color: #308eff;
- border-color: #308eff;
- padding: 0;
- margin: 0 auto;
- img {
- width: 16px;
- height: 16px;
- vertical-align: sub;
- }
- }
- .info {
- font-size: 12px;
- color: #666;
- line-height: 18px;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- padding: 14px;
- }
- }
- }
- .course-learn {
- border-radius: 6px;
- background: #fff;
- margin-top: 12px;
- ul {
- display: flex;
- flex-wrap: wrap;
- }
- li {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 50px;
- margin: 0 0 20px 10px;
- img {
- width: 34px;
- height: 34px;
- }
- span {
- color: #666;
- font-size: 12px;
- font-weight: 400;
- font-family: PingFangSC, PingFangSC-Regular;
- margin-top: 8px;
- }
- }
- }
- }
- .header-txt {
- font-size: 16px;
- color: #222;
- font-family: PingFangSC, PingFangSC-Regular;
- position: relative;
- display: block;
- padding-left: 16px;
- height: 44px;
- line-height: 44px;
- font-weight: 500;
- display: flex;
- justify-content: space-between;
- }
- .header-txt:after {
- content: '';
- position: absolute;
- left: 0;
- top: 15px;
- width: 2px;
- height: 14px;
- background: #308eff;
- display: block;
- }
- }
- }
- .learn-detail-wrapper-mobile {
- position: relative;
- width: 100%;
- padding-bottom: calc(1.4rem + constant(safe-area-inset-bottom));
- padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
- // padding-bottom: constant(safe-area-inset-bottom);
- // padding-bottom: env(safe-area-inset-bottom);
- display: flex;
- flex-direction: column;
- .video-container {
- width: 100%;
- height: 4.2rem;
- border: 1px solid green;
- position: relative;
- background: rgba(0,0,0,.5);
- .player {
- width: 100%;
- height: 4.2rem;
- }
- .video-cover {
- background-size: cover;
- background-position: center;
- height: 4.2rem;
- .play {
- width: 1.04rem;
- height: 1.04rem;
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- }
- }
- .tabs {
- height: 44px;
- background: #fff;
- border-bottom: 1px solid #f4f4f4;
- display: flex;
- span {
- display: flex;
- justify-content: center;
- align-items: center;
- flex: 1;
- position: relative;
- font-size: 0.3rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- text-align: right;
- color: #888;
- text-align: center;
- }
- span.active {
- color: #222;
- font-weight: 600;
- }
- span.active:after {
- content: '';
- width: 0.3rem;
- height: 0.06rem;
- background: #308eff;
- position: absolute;
- bottom: 0;
- left: 50%;
- -webkit-transform: translate(-50%, 0);
- transform: translate(-50%, 0);
- }
- }
- .intro-info {
- margin-top: 0.24rem;
- background: #fff;
- padding: 0 0.24rem;
- .title {
- display: flex;
- justify-content: space-between;
- padding: 0.24rem 0;
- align-items: center;
- .text {
- font-size: 0.32rem;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222;
- }
- .icon {
- width: 0.44rem;
- height: 0.44rem;
- display: inline-block;
- }
- }
- .info {
- font-size: 0.24rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #666;
- line-height: 0.4rem;
- }
- .msg {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0.24rem 0;
- .now-price {
- font-size: 0.3rem;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #f60;
- }
- .old-price {
- font-size: 0.24rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- text-decoration: line-through;
- color: #999;
- margin-left: 0.08rem;
- }
- .look {
- font-size: 0.24rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #666;
- margin-right: 0.32rem;
- }
- .right {
- display: flex;
- align-items: center;
- .img {
- width: 0.4rem;
- height: 0.4rem;
- border: 0.04rem solid #fff;
- border-radius: 50%;
- background: #f4f4f4;
- margin-left: -0.2rem;
- background: #f4f4f4;
- color: #bbb;
- display: inline-block;
- max-width: inherit;
- }
- .text {
- vertical-align:top;
- font-size: 0.24rem;
- font-family: PingFangSC, PingFangSC-Regular;
- line-height: 0.16rem;
- text-align: center;
- }
- }
- }
- }
- .lecturer {
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: #fff;
- margin: 0.24rem;
- padding: 0 0.24rem;
- height: 1.76rem;
- border-radius: 0.08rem;
- .picture {
- position: relative;
- width: 0.92rem;
- height: 0.92rem;
- margin-top: -0.24rem;
- img {
- width: 0.92rem;
- height: 0.92rem;
- border-radius: 50%;
- }
- span {
- width: 0.84rem;
- height: 0.4rem;
- display: block;
- line-height: 0.4rem;
- text-align: center;
- background: #308eff;
- color: #fff;
- border-radius: 0.2rem;
- font-size: 0.24rem;
- font-family: PingFangSC, PingFangSC-Semibold;
- position: absolute;
- left: 0.06rem;
- bottom: -0.28rem;
- }
- }
- .info {
- flex: 1;
- margin-left: 0.24rem;
- margin-right: 0.2rem;
- .name {
- font-size: 0.3rem;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222;
- }
- p {
- font-size: 0.24rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #666;
- line-height: 0.36rem;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 3; //行数
- -webkit-box-orient: vertical;
- }
- }
- .go {
- width: 0.28rem;
- height: 0.28rem;
- }
- }
- .directory {
- margin-top: 0.24rem;
- .item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0.24rem;
- .title {
- display: flex;
- flex-direction: column;
- }
- .text {
- font-size: 0.3rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #333;
- }
- .timer {
- font-size: 0.22rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #999;
- }
- .is-free {
- width: 44px;
- height: 24px;
- border-radius: 0.06rem;
- font-size: 0.22rem;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .free {
- border: 1px solid #27bb6f;
- color: #27bb6f;
- }
- .charge {
- width: 46px;
- height: 26px;
- background: rgba(48,142,255,0.11);
- color: #308EFF;
- }
- }
- }
- .board {
- margin-top: 0.24rem;
- }
- .course-intro {
- background: #fff;
- margin-top: 0.24rem;
- margin: 0.24rem;
- border-radius: 0.16rem;
- .img-info {
- padding: 0.24rem;
- font-size: 0.28rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #222;
- line-height: 0.48rem;
- word-wrap:break-word;
- word-break:normal;
- }
- }
- .common-title {
- font-size: 0.32rem;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #222;
- padding: 0.24rem;
- display: block;
- position: relative;
- }
- .common-title:before {
- content: '';
- width: 0.04rem;
- height: 0.28rem;
- background: #308EFF;
- position: absolute;
- left: 0;
- top: 0.28rem;
- }
- .questions {
- background:#fff;
- margin-bottom: 0.4rem;
- }
- .pay-content {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- // height: 1.4rem;
- box-shadow: 0px -0.5px 0px 0px #e6e6e6 inset;
- background: #fff;
- display: flex;
- height: calc(1.4rem + constant(safe-area-inset-bottom));
- height: calc(1.4rem + env(safe-area-inset-bottom));
- // height: constant(safe-area-inset-bottom);
- // height: env(safe-area-inset-bottom);
- .btn-study {
- display: flex;
- align-self: center;
- padding: 0 0.4rem;
- width: 100vw;
- .btn {
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 0.84rem;
- background: #308eff;
- border-radius: 0.16rem;
- font-size: 0.3rem;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #fff;
- }
- }
- .btn-buy {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 0.24rem;
- .service {
- display: flex;
- flex-direction: column;
- align-items: center;
- img {
- width: 0.5rem;
- height: 0.46rem;
- }
- span {
- font-size: 0.23rem;
- font-family: PingFangSC, PingFangSC-Regular;
- font-weight: 400;
- color: #666;
- }
- }
- .price {
- display: flex;
- align-items: center;
- .new-price {
- font-size: 0.38rem;
- font-family: PingFangSC, PingFangSC-Semibold;
- font-weight: 600;
- color: #f60;
- margin-right: 0.24rem;
- }
- .btn {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 2.4rem;
- height: 0.84rem;
- background: #308eff;
- border-radius: 0.16rem;
- font-size: 0.3rem;
- font-family: PingFangSC, PingFangSC-Medium;
- font-weight: 500;
- color: #fff;
- }
- }
- }
- }
- // .image-list {
- // width: 100%;
- // height: calc(100vw * 9 / 16);
- // .image-swiper {
- // position: relative;
- // width: 100%;
- // height: 100%;
- // display: flex;
- // justify-content: center;
- // }
- // .swiper-wrapper {
- // width: 100%;
- // height: 100%;
- // .swiper-slide {
- // width: 100%;
- // height: 100%;
- // img {
- // width: 100%;
- // height: 100%;
- // object-fit: scale-down;
- // }
- // }
- // }
- // .swiper-pagination {
- // position: absolute;
- // bottom: 10px;
- // left: auto !important;
- // }
- // }
- // .learn-info {
- // width: 100%;
- // height: 105px;
- // padding: 15px 10px;
- // background: #ffffff;
- // border-radius: 10px 10px 0px 0px;
- // .learn-title {
- // width: 100%;
- // height: 25px;
- // line-height: 25px;
- // font-size: 18px;
- // font-family: PingFangSC, PingFangSC-Semibold;
- // font-weight: 600;
- // color: #222222;
- // overflow: hidden;
- // text-overflow: ellipsis;
- // white-space: nowrap;
- // }
- // .userinfo-wrapper {
- // margin-top: 15px;
- // width: 100%;
- // height: 34px;
- // display: flex;
- // align-items: center;
- // justify-content: space-between;
- // .left-info {
- // display: flex;
- // align-items: center;
- // .avatar {
- // width: 34px;
- // height: 34px;
- // border-radius: 50%;
- // overflow: hidden;
- // }
- // .nickname {
- // margin-left: 9px;
- // height: 20px;
- // line-height: 20px;
- // font-size: 14px;
- // font-family: PingFangSC, PingFangSC-Medium;
- // font-weight: 500;
- // color: #222222;
- // }
- // }
- // }
- // }
- // .learn-content {
- // margin-top: 10px;
- // width: 100%;
- // background: #ffffff;
- // .ql-editor {
- // padding: 20px 12px 30px;
- // }
- // }
- }
|