123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- /* pages/user/my_course/my_course.wxss */
- .container {
- padding-bottom: 56rpx;
- overflow: hidden;
- width: 100%;
- min-height: calc(100vh - 56rpx);
- background: #F5F5F5;
- }
- .container-title {
- font-size: 48rpx;
- font-weight: 700;
- line-height: 64rpx;
- margin: 48rpx 32rpx 0;
- color: var(--td-text-color-primary);
- }
- .container-desc {
- font-size: 28rpx;
- color: var(--td-text-color-secondary);
- margin: 16rpx 32rpx 0;
- line-height: 44rpx;
- }
- .pulldown-reflesh__content {
- margin: 64rpx 32rpx 0;
- position: relative;
- }
- .row {
- display: flex;
- justify-content: space-between;
- margin-top: 32rpx;
- }
- .text {
- position: absolute;
- top: 152rpx;
- left: 50%;
- transform: translateX(-50%);
- text-align: center;
- font-size: 32rpx;
- color: var(--td-text-color-disabled);
- width: 686rpx;
- }
- .list {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 20rpx 0;
- }
- .course_item {
- width: 670rpx;
- height: 126rpx;
- background: #FFFFFF;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- padding: 20rpx;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- overflow: hidden;
- }
- .course_item .cover {
- width: 220rpx;
- height: 126rpx;
- }
- .course_item .content {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .course_item.disabled {
- pointer-events: none;
- opacity: 0.5;
- }
- .course_item .title {
- max-height: 80rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- font-size: 28rpx;
- line-height: 33rpx;
- font-weight: 400;
- padding: 0 20rpx;
- }
- .sub_info {
- color: rgba(136, 136, 136, 0.9);
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- font-size: 24rpx;
- padding: 0 20rpx;
- line-height: 28rpx;
- }
- .sub_info .author {
- max-width: 300rpx;
- text-overflow: ellipsis;
- word-break: break-all;
- white-space: nowrap;
- overflow: hidden;
- }
- .status.live {
- color: rgba(215, 95, 93, 1);
- }
- .empty {
- min-height: 80vh;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .empty .t-empty__image {
- width: 300rpx;
- height: 200rpx;
- }
|