index.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .my-card {
  2. width: 690rpx;
  3. background: #FFFFFF;
  4. border-radius: 16rpx;
  5. margin: 0 auto;
  6. margin-top: 20rpx;
  7. box-sizing: border-box;
  8. overflow: hidden;
  9. .mtitle {
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. width: 100%;
  14. height: 90rpx;
  15. padding: 0 20rpx 0 30rpx;
  16. border-bottom: 1px solid #EEEEEE;
  17. box-sizing: border-box;
  18. .title-l {
  19. font-size: 28rpx;
  20. font-family: PingFang SC-Bold, PingFang SC;
  21. font-weight: bold;
  22. color: #333333;
  23. }
  24. }
  25. }
  26. .hover:hover {
  27. opacity: .95;
  28. // background: #f4f5f7;
  29. }
  30. page {
  31. padding: 0 !important;
  32. overflow: hidden;
  33. }
  34. /* 课程 */
  35. .course {
  36. display: flex;
  37. height: 180rpx;
  38. padding: 30rpx;
  39. .cover-img {
  40. border-radius: 8rpx;
  41. overflow: hidden;
  42. }
  43. .explian {
  44. width: 370rpx;
  45. height: 100%;
  46. margin-left: 30rpx;
  47. .title {
  48. height: 40rpx;
  49. line-height: 40rpx;
  50. font-size: 28rpx;
  51. font-family: PingFang SC-Bold, PingFang SC;
  52. font-weight: bold;
  53. color: #333333;
  54. }
  55. .details {
  56. height: 34rpx;
  57. line-height: 34rpx;
  58. font-size: 24rpx;
  59. font-family: PingFang SC-Regular, PingFang SC;
  60. color: #666666;
  61. margin-top: 10rpx;
  62. }
  63. .read {
  64. height: 28rpx;
  65. font-size: 20rpx;
  66. font-family: PingFang SC-Regular, PingFang SC;
  67. color: #999999;
  68. margin-top: 8rpx;
  69. }
  70. }
  71. }
  72. /* 未读 */
  73. .unread {
  74. width: 750rpx;
  75. height: 34rpx;
  76. text-align: center;
  77. font-size: 24rpx;
  78. font-family: PingFang SC-Regular, PingFang SC;
  79. color: #999999;
  80. margin: 12rpx 0 -5rpx 0;
  81. }
  82. .switch {
  83. display: flex;
  84. align-items: center;
  85. justify-content: flex-end;
  86. width: 500rpx;
  87. padding-right: 30rpx;
  88. }
  89. .main-active {
  90. color: var(--assist) !important;
  91. }
  92. .content-active {
  93. color: var(--assist) !important;
  94. }
  95. page {
  96. padding: 0 !important;
  97. }