student-item.module.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. .itemWrap {
  2. width: calc(100% - 30px);
  3. height: 121px;
  4. background: #ffffff;
  5. border-radius: 10px;
  6. margin: 0 15px 12px;
  7. .itemTop {
  8. padding: 8px 15px 8px;
  9. display: flex;
  10. flex-direction: row;
  11. align-items: center;
  12. justify-content: space-between;
  13. border-bottom: 1px solid #f2f2f2;
  14. .itemTopLeft {
  15. display: flex;
  16. flex-direction: row;
  17. align-items: center;
  18. .headIcon {
  19. width: 30px;
  20. height: 30px;
  21. border-radius: 50%;
  22. overflow: hidden;
  23. margin-right: 12px;
  24. img {
  25. width: 100%;
  26. height: 100%;
  27. object-fit: cover;
  28. }
  29. }
  30. .name {
  31. font-size: 16px;
  32. font-family: PingFangSC-Medium, PingFang SC;
  33. font-weight: 500;
  34. color: #333333;
  35. line-height: 30px;
  36. margin-right: 10px;
  37. }
  38. .tag {
  39. padding: 0px;
  40. min-width: 40px;
  41. background: #ffe7da;
  42. display: inline-block;
  43. border-radius: 4px;
  44. font-size: 12px;
  45. font-family: PingFangSC-Medium, PingFang SC;
  46. font-weight: 500;
  47. color: #f67146;
  48. text-align: center;
  49. line-height: 19px;
  50. }
  51. }
  52. .itemTopRight {
  53. width: 24px;
  54. height: 24px;
  55. padding: 2px;
  56. img {
  57. width: 100%;
  58. height: 100%;
  59. }
  60. }
  61. }
  62. .itemBottom {
  63. padding: 10px;
  64. display: flex;
  65. flex-direction: row;
  66. align-items: center;
  67. text-align: center;
  68. .msgMain {
  69. font-size: 26px;
  70. font-family: DINAlternate-Bold, DINAlternate;
  71. font-weight: bold;
  72. color: #f67146;
  73. line-height: 30px;
  74. span {
  75. height: 17px;
  76. font-size: 12px;
  77. font-family: PingFangSC-Regular, PingFang SC;
  78. font-weight: 400;
  79. color: #777777;
  80. line-height: 17px;
  81. }
  82. }
  83. .msgsub {
  84. margin-top: 4px;
  85. height: 20px;
  86. font-size: 14px;
  87. font-family: PingFangSC-Regular, PingFang SC;
  88. font-weight: 400;
  89. color: #333333;
  90. line-height: 20px;
  91. }
  92. .itemBottomLeft {
  93. width: 50%;
  94. position: relative;
  95. &::after {
  96. content: '';
  97. width: 1px;
  98. height: 20px;
  99. background: #f2f2f2;
  100. border-radius: 1px;
  101. right: 0;
  102. top: 50%;
  103. margin-top: -10px;
  104. position: absolute;
  105. }
  106. }
  107. .itemBottomRight {
  108. width: 50%;
  109. position: relative;
  110. .arrow {
  111. position: absolute;
  112. bottom: 14px;
  113. right: 15px;
  114. font-size: 16px;
  115. color: #d8d8d8;
  116. }
  117. }
  118. }
  119. }
  120. :global {
  121. .bottomSheet {
  122. .van-action-sheet__description {
  123. padding: 0 !important;
  124. &::after {
  125. border: none !important;
  126. }
  127. }
  128. }
  129. }
  130. .bottomTitle {
  131. padding: 15px 15px 20px;
  132. text-align: left;
  133. display: flex;
  134. flex-direction: row;
  135. align-items: center;
  136. justify-content: space-between;
  137. height: 22px;
  138. font-size: 16px;
  139. font-family: PingFangSC-Medium, PingFang SC;
  140. font-weight: 500;
  141. color: #333333;
  142. line-height: 22px;
  143. .bottomTitleLeft {
  144. display: flex;
  145. flex-direction: row;
  146. align-items: center;
  147. span {
  148. width: 4px;
  149. height: 12px;
  150. background: #ff8057;
  151. border-radius: 2px;
  152. display: inline-block;
  153. margin-right: 6px;
  154. }
  155. }
  156. }
  157. .bottomConent {
  158. padding: 20px 15px 57px;
  159. display: flex;
  160. flex-direction: row;
  161. align-items: center;
  162. .bottomImgWrap {
  163. width: 47px;
  164. height: 47px;
  165. margin-bottom: 6px;
  166. img {
  167. width: 100%;
  168. height: 100%;
  169. }
  170. }
  171. .bottomConentLeft,
  172. .bottomConentRight {
  173. width: 50%;
  174. display: flex;
  175. flex-direction: column;
  176. align-items: center;
  177. }
  178. }
  179. .recordItem {
  180. width: auto;
  181. margin: 0 13px 12px;
  182. padding: 20px 12px;
  183. border-radius: 10px;
  184. .imgContainer {
  185. position: relative;
  186. margin-right: 15px;
  187. box-sizing: border-box;
  188. i {
  189. width: 18px;
  190. height: 15px;
  191. position: absolute;
  192. right: -4px;
  193. top: 35px;
  194. background: url('../images/icon-member.png') no-repeat center center;
  195. background-size: contain;
  196. }
  197. }
  198. .img {
  199. width: 50px;
  200. height: 50px;
  201. border-radius: 50%;
  202. overflow: hidden;
  203. }
  204. .userInfo {
  205. display: flex;
  206. align-items: center;
  207. .userItem {
  208. flex: 1;
  209. font-size: 12px;
  210. color: #777;
  211. }
  212. .topText {
  213. font-size: 16px;
  214. color: #333333;
  215. line-height: 22px;
  216. white-space: nowrap;
  217. overflow: hidden;
  218. text-overflow: ellipsis;
  219. max-width: 70px;
  220. span {
  221. font-weight: bold;
  222. font-family: DINA;
  223. }
  224. }
  225. }
  226. }