index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /* pages/user/my_course/my_course.wxss */
  2. .container {
  3. padding-bottom: 56rpx;
  4. overflow: hidden;
  5. width: 100%;
  6. min-height: calc(100vh - 56rpx);
  7. background: #F5F5F5;
  8. }
  9. .container-title {
  10. font-size: 48rpx;
  11. font-weight: 700;
  12. line-height: 64rpx;
  13. margin: 48rpx 32rpx 0;
  14. color: var(--td-text-color-primary);
  15. }
  16. .container-desc {
  17. font-size: 28rpx;
  18. color: var(--td-text-color-secondary);
  19. margin: 16rpx 32rpx 0;
  20. line-height: 44rpx;
  21. }
  22. .pulldown-reflesh__content {
  23. margin: 64rpx 32rpx 0;
  24. position: relative;
  25. }
  26. .row {
  27. display: flex;
  28. justify-content: space-between;
  29. margin-top: 32rpx;
  30. }
  31. .text {
  32. position: absolute;
  33. top: 152rpx;
  34. left: 50%;
  35. transform: translateX(-50%);
  36. text-align: center;
  37. font-size: 32rpx;
  38. color: var(--td-text-color-disabled);
  39. width: 686rpx;
  40. }
  41. .list {
  42. display: flex;
  43. flex-direction: column;
  44. align-items: center;
  45. gap: 20rpx 0;
  46. }
  47. .course_item_container {
  48. width: 670rpx;
  49. background: #FFFFFF;
  50. border-radius: 16rpx 16rpx 16rpx 16rpx;
  51. padding: 20rpx 20rpx 0 20rpx;
  52. display: flex;
  53. flex-direction: column;
  54. }
  55. .course_item {
  56. width: 100%;
  57. height: 126rpx;
  58. display: flex;
  59. flex-direction: row;
  60. justify-content: flex-start;
  61. overflow: hidden;
  62. margin-bottom: 20rpx;
  63. }
  64. .course_item .cover {
  65. width: 220rpx;
  66. height: 126rpx;
  67. }
  68. .course_item .content {
  69. flex: 1;
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: space-between;
  73. }
  74. .course_item.disabled {
  75. pointer-events: none;
  76. opacity: 0.5;
  77. }
  78. .course_item .title {
  79. max-height: 80rpx;
  80. overflow: hidden;
  81. text-overflow: ellipsis;
  82. word-break: break-all;
  83. display: -webkit-box;
  84. -webkit-box-orient: vertical;
  85. -webkit-line-clamp: 2;
  86. font-size: 28rpx;
  87. line-height: 33rpx;
  88. font-weight: 400;
  89. padding: 0 20rpx;
  90. }
  91. .sub_info {
  92. color: rgba(136, 136, 136, 0.9);
  93. display: flex;
  94. flex-direction: row;
  95. justify-content: space-between;
  96. font-size: 24rpx;
  97. padding: 0 20rpx;
  98. line-height: 28rpx;
  99. }
  100. .sub_info .author {
  101. max-width: 300rpx;
  102. text-overflow: ellipsis;
  103. word-break: break-all;
  104. white-space: nowrap;
  105. overflow: hidden;
  106. }
  107. .status {
  108. display: flex;
  109. justify-content: center;
  110. align-items: center;
  111. gap: 0 5rpx;
  112. }
  113. .status .time {
  114. width: 20rpx;
  115. height: 20rpx;
  116. }
  117. .course_item_container .entry {
  118. display: flex;
  119. width: 100%;
  120. flex-direction: row;
  121. height: 100rpx;
  122. justify-content: space-between;
  123. align-items: center;
  124. border-top: 0.5rpx solid rgba(245, 245, 245, 1);
  125. }
  126. .course_item_container .entry .count {
  127. --td-countdown-bg-color: #404040;
  128. --td-countdown-default-color: #404040;
  129. --td-error-color-6: #404040;
  130. --td-font-size-s: 20rpx;
  131. }
  132. .course_item_container .entry .btn {
  133. --td-font-size-s: 20rpx;
  134. --td-button-extra-small-font-size: 24rpx;
  135. --td-button-extra-small-padding-horizontal: 30rpx;
  136. width: 152rpx;
  137. /* background: rgba(0, 0, 0, 0.3); */
  138. }