index.module.less 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .myClass {
  2. padding: 12px 0;
  3. }
  4. .itemDiv {
  5. border-radius: 10px;
  6. overflow: hidden;
  7. background-color: #fff;
  8. margin: 0 12px 12px 12px;
  9. .userContainer {
  10. :global {
  11. .van-cell__label {
  12. margin-top: 0;
  13. }
  14. }
  15. }
  16. .userContainer::after {
  17. left: 0;
  18. right: 0;
  19. }
  20. .iconImg {
  21. flex-shrink: 0;
  22. width: 44px;
  23. height: 44px;
  24. border-radius: 50%;
  25. overflow: hidden;
  26. margin-right: 8px;
  27. }
  28. .messageImg {
  29. width: 24px;
  30. height: 24px;
  31. }
  32. .tag {
  33. padding: 0 8px;
  34. height: 19px;
  35. line-height: 19px;
  36. background: #ff8057;
  37. border-radius: 4px;
  38. color: #fff;
  39. font-size: 12px;
  40. margin-right: 6px;
  41. }
  42. :global {
  43. .van-cell {
  44. padding: 0 12px;
  45. height: 68px;
  46. box-sizing: border-box;
  47. .van-tag {
  48. margin-left: 4px;
  49. }
  50. .van-cell__label {
  51. color: #777;
  52. }
  53. .van-cell__title {
  54. width: 60vw;
  55. }
  56. .van-cell__value {
  57. flex: none;
  58. }
  59. }
  60. }
  61. .content {
  62. display: flex;
  63. align-items: center;
  64. .teacherName {
  65. font-size: 500;
  66. }
  67. }
  68. }
  69. .grid {
  70. .title {
  71. font-size: 24px;
  72. color: #333;
  73. margin-bottom: 4px;
  74. font-family: DINA;
  75. }
  76. .name {
  77. font-size: 12px;
  78. color: #777;
  79. }
  80. :global {
  81. .van-grid-item__content {
  82. padding-bottom: 20px;
  83. }
  84. }
  85. }