123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- @mixin threeDot {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .contents {
- width: 100%;
- .diatance{
- width: 100%;
- height: 85rpx;
- background-color: #007AFF;
- display: flex;
- align-items: center;
- margin-top: 8rpx;
- .clock {
- width: 44rpx;
- height: 41rpx;
- margin: 0rpx 22rpx 0rpx 65rpx;
- }
- >text {
- color: #fff;
- font-size: 28rpx;
- }
- }
- }
- .had_courses{
- width: 100%;
- padding: 39rpx 24rpx 31rpx;
- }
- .lives {
- width: 100%;
- .live_item {
- position: relative;
- top: 0;
- left: 0;
- width: 100%;
- height: 150rpx;
- border-radius: 16rpx;
- padding: 14rpx 0rpx 0rpx 43rpx;
- margin-bottom: 15rpx;
- .my_bg {
- position:absolute;
- left:0;
- top:0;
- width:100%;
- height:100%;
- }
- .live_con {
- position: relative;
- z-index: 10;
- }
- .live_status {
- display: flex;
- align-items: center;
- .liv_icon {
- width: 32rpx;
- height: 23rpx;
- margin-right: 14rpx;
- }
- .status_s {
- font-size: 24rpx;
- font-weight: 500;
- color: #DBE3FF;
- width: 160rpx;
- margin-right: 20rpx;
- }
- .look_bt {
- height: 37rpx;
- line-height: 37rpx;
- font-size: 24rpx;
- padding: 0rpx 18rpx;
- text-align: center;
- // background-color: #FFB102;
- // color: #fff;
- background-color: #fff;
- // background-color: #007AFF;
- color: #9356DE;
- border-radius: 19rpx;
- }
- }
- .liv_time {
- font-size: 20rpx;
- color: #fff;
- margin-top: 17rpx;
- .timeR {
- margin-right: 15rpx;
- }
- }
- .liv_title {
- font-size: 28rpx;
- color: #fff;
- font-weight: bold;
- width: 100%;
- @include threeDot();
- }
- }
-
- }
- .my_courses {
- .titles {
- font-size: 32rpx;
- color: #333333;
- margin: 44rpx 0rpx 24rpx 43rpx;
- font-weight: bold;
- display: block;
- }
- .course_item {
- width: 100%;
- height: 278rpx;
- background: #FFFFFF;
- box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1,99,235,0.1000);
- border-radius: 24rpx;
- padding: 29rpx 29rpx 20rpx 24rpx;
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .lefts {
- width: 202rpx;
- height: 223rpx;
- border-radius: 12rpx;
- margin-right: 35rpx;
- position: relative;
- top: 0;
- left: 0;
- .lefet_img {
- width: 100%;
- height: 100%;
- display: block;
- }
- .live_icon {
- width: 65rpx;
- height: 35rpx;
- line-height: 35rpx;
- border-radius: 22rpx 0rpx 22rpx 0rpx;
- background-color: #FFB102;
- color: #fff;
- font-size: 20rpx;
- text-align: center;
- position: absolute;
- top: 0;
- left: 0;
- }
- }
- .rights {
- width: 400rpx;
- height: 223rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;;
- .cou_titles {
- margin-top: 14rpx;
- color: #333333;
- font-size: 28rpx;
- font-weight: bold;
- width: 100%;
- @include threeDot();
- }
- .learn_ranges {
- color: #999;
- font-size: 24rpx;
- margin-top: 24rpx;
- .l_range {
- width: 20rpx;
- height: 24rpx;
- margin-right: 9rpx;
- }
- .l_time {
- color: #333;
- }
- }
- .learn_progress {
- width: 100%;
- }
- .progress_up {
- font-size: 24rpx;
- // font-weight: 400;
- color: #999999;
- display: flex;
- align-items: center;
- .wk_icon {
- width: 24rpx;
- height: 24rpx;
- margin-right: 8rpx;
- }
- }
- .progress_down {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .enter_into {
- width: 165rpx;
- height: 48rpx;
- line-height: 48rpx;
- background: #FFB102;
- border-radius: 0rpx 16rpx 16rpx 16rpx;
- font-size: 24rpx;
- font-weight: 400;
- color: #FFFFFF;
- text-align: center;
- }
- }
- // 收藏集,做题记录
- .bottoms {
- display: flex;
- justify-content: space-between;
- margin-bottom: 32rpx;
- .item {
- width: 335rpx;
- &.collect {
- position: relative;
- font-size: 32rpx;
- color: #FFFFFF;
- height: 240rpx;
- border-radius: 24rpx;
- padding:32rpx;
-
- .text {
- position:relative;
- z-index: 10;
- font-size: 32rpx;
- font-weight: bold;
- color: #FFFFFF;
- }
-
- .img {
- position:absolute;
- left:0;
- top:0;
- width:100%;
- height:100%;
-
- }
- }
-
- &.list {
- .list-in {
- position:relative;
- width: 335rpx;
- height: 112rpx;
- background: #007AFF;
- border-radius: 24rpx;
- display: flex;
- align-items: center;
- font-size: 32rpx;
- color: #fff;
-
- &:first-of-type {
- margin-bottom:16rpx;
- }
-
- .text {
- padding-left:91rpx;
- position:relative;
- z-index: 10;
- font-size: 32rpx;
- font-weight: bold;
- color: #FFFFFF;
- }
-
- .img {
- position:absolute;
- left:0;
- top:0;
- width:100%;
- height:100%;
- }
- }
- }
- }
- }
- }
- .no_datas {
- margin-top: 70rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- .courses {
- width: 360rpx;
- height: 349rpx;
- }
- .no_learns {
- font-size: 32rpx;
- color: #999;
- margin: 46rpx 0rpx 56rpx;
- }
- .choose {
- width: 280rpx;
- height: 64rpx;
- line-height: 64rpx;
- border-radius: 32rpx;
- background-color: #007AFF;
- color: #fff;
- font-size: 30rpx;
- text-align: center;
- }
- }
|