exercis-detail.module.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. @img: '@/school/images';
  2. .exercisContainer {
  3. background: url('@{img}/detail-bg.png') top center/ cover no-repeat;
  4. background-size: contain;
  5. }
  6. .topWrap {
  7. // height: 316px;
  8. // margin-bottom: -90px;
  9. .topInfo {
  10. padding: 34px 15px 30px;
  11. display: flex;
  12. flex-direction: row;
  13. align-items: center;
  14. justify-content: space-between;
  15. flex-wrap: nowrap;
  16. .topInfoLeft {
  17. width: 50%;
  18. display: flex;
  19. flex-direction: row;
  20. align-items: center;
  21. .headWrap {
  22. flex-shrink: 0;
  23. border-radius: 50%;
  24. overflow: hidden;
  25. border: 2px solid #fff;
  26. margin-right: 15px;
  27. }
  28. .infoMsg {
  29. p {
  30. display: inline-block;
  31. width: 120px;
  32. text-overflow: ellipsis;
  33. white-space: nowrap;
  34. overflow: hidden;
  35. font-size: 20px;
  36. font-weight: 600;
  37. color: #000000;
  38. line-height: 28px;
  39. margin-bottom: 6px;
  40. }
  41. .tag {
  42. display: inline-block;
  43. padding: 0px 11px;
  44. // min-width: 50px;
  45. background: #ff8057;
  46. border-radius: 12px;
  47. height: 24px;
  48. font-size: 14px;
  49. font-family: PingFangSC-Medium, PingFang SC;
  50. font-weight: 500;
  51. color: #ffffff;
  52. line-height: 24px;
  53. text-align: center;
  54. }
  55. }
  56. }
  57. .topInfoRight {
  58. width: 50%;
  59. display: flex;
  60. flex-direction: row;
  61. align-items: center;
  62. justify-content: flex-end;
  63. .infoDay {
  64. margin-right: 30px;
  65. }
  66. .infoDayMain {
  67. font-size: 25px;
  68. color: #333333;
  69. line-height: 28px;
  70. margin-bottom: 7px;
  71. font-family: 'DINA';
  72. font-weight: bold;
  73. span {
  74. margin-left: 2px;
  75. font-size: 12px;
  76. font-weight: 400;
  77. color: #333333;
  78. line-height: 17px;
  79. }
  80. }
  81. .infoDaysub {
  82. font-size: 12px;
  83. font-weight: 400;
  84. color: #333333;
  85. line-height: 17px;
  86. }
  87. }
  88. }
  89. .chioseWrap {
  90. display: flex;
  91. flex-direction: row;
  92. align-items: center;
  93. // justify-content: space-around;
  94. background-color: transparent;
  95. font-size: 14px;
  96. font-weight: 500;
  97. color: #333333;
  98. line-height: 20px;
  99. font-size: 14px;
  100. }
  101. }
  102. .DialogTitle {
  103. display: flex;
  104. flex-direction: row;
  105. align-items: center;
  106. padding: 20px 25px;
  107. span {
  108. width: 4px;
  109. height: 14px;
  110. background: #ff8057;
  111. border-radius: 2px;
  112. margin-right: 6px;
  113. }
  114. p {
  115. height: 25px;
  116. font-size: 18px;
  117. font-weight: 500;
  118. color: #333333;
  119. line-height: 25px;
  120. }
  121. }
  122. .DialogConent {
  123. padding: 0 25px 30px;
  124. p {
  125. font-size: 16px;
  126. line-height: 22px;
  127. color: #333;
  128. }
  129. }
  130. :global {
  131. .exercisDetailDialog {
  132. border-radius: 10px;
  133. .van-dialog__header {
  134. padding-top: 0px !important;
  135. }
  136. }
  137. .van-dialog {
  138. top: 47%;
  139. }
  140. }