123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- /* 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_container {
- width: 670rpx;
- background: #FFFFFF;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- padding: 20rpx 20rpx 0 20rpx;
- display: flex;
- flex-direction: column;
- }
- .course_item {
- width: 100%;
- height: 126rpx;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- overflow: hidden;
- margin-bottom: 20rpx;
- }
- .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 {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 0 5rpx;
- }
- .status .time {
- width: 20rpx;
- height: 20rpx;
- }
- .course_item_container .entry {
- display: flex;
- width: 100%;
- flex-direction: row;
- height: 100rpx;
- justify-content: space-between;
- align-items: center;
- border-top: 0.5rpx solid rgba(245, 245, 245, 1);
- }
- .course_item_container .entry .count {
- --td-countdown-bg-color: #404040;
- --td-countdown-default-color: #404040;
- --td-error-color-6: #404040;
- --td-font-size-s: 20rpx;
- }
- .course_item_container .entry .btn {
- --td-font-size-s: 20rpx;
- --td-button-extra-small-font-size: 24rpx;
- --td-button-extra-small-padding-horizontal: 30rpx;
- width: 152rpx;
- /* background: rgba(0, 0, 0, 0.3); */
- }
|