index.module.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .headImg {
  2. display: flex;
  3. }
  4. .tabs {
  5. margin-top: -42px;
  6. :global {
  7. .van-tabs__wrap {
  8. height: 42px;
  9. }
  10. .van-tabs__nav {
  11. background-color: rgba(0, 0, 0, 0.68);
  12. backdrop-filter: blur(10px);
  13. -webkit-backdrop-filter: blur(10px);
  14. }
  15. .van-tabs__line {
  16. background-color: transparent !important;
  17. height: 0;
  18. width: 0;
  19. border: 8px solid transparent;
  20. border-bottom-color: #fff;
  21. border-radius: 0;
  22. }
  23. .van-empty__image {
  24. width: 100px;
  25. height: 114px;
  26. }
  27. }
  28. }
  29. .tabContent {
  30. position: relative;
  31. padding: 12px;
  32. box-sizing: border-box;
  33. overflow-y: auto;
  34. }
  35. .tabContent.hasUser {
  36. padding-bottom: 80px;
  37. }
  38. .itemContent {
  39. padding: 12px;
  40. border-radius: 12px;
  41. background-color: #fff;
  42. min-height: 100%;
  43. box-sizing: border-box;
  44. }
  45. .item {
  46. display: flex;
  47. padding: 10px 0;
  48. box-sizing: border-box;
  49. align-items: center;
  50. .left {
  51. width: 32px;
  52. margin: 0 21px 0 2px;
  53. text-align: center;
  54. font-weight: bold;
  55. }
  56. .center {
  57. display: flex;
  58. align-items: center;
  59. }
  60. .right {
  61. margin-left: auto;
  62. text-align: right;
  63. .fraction {
  64. font-size: 14px;
  65. font-weight: 600;
  66. color: #fa6400;
  67. margin-bottom: 4px;
  68. }
  69. .time {
  70. font-size: 12px;
  71. color: #999;
  72. }
  73. }
  74. &:first-child {
  75. padding-top: 0;
  76. border-bottom: 1px solid #eee;
  77. }
  78. &:last-child {
  79. padding-bottom: 0;
  80. }
  81. .user {
  82. margin-left: 6px;
  83. .userContent{
  84. display: flex;
  85. align-items: center;
  86. margin-bottom: 4px;
  87. }
  88. .name {
  89. font-size: 15px;
  90. color: #333;
  91. margin-right: 6px;
  92. }
  93. .tag {
  94. font-size: 12px;
  95. background-color: #ffe2b2;
  96. color: #ff8c00;
  97. border-radius: 4px;
  98. margin-right: 4px;
  99. padding: 1px 2px;
  100. }
  101. .times{
  102. font-size: 12px;
  103. color: #999;
  104. }
  105. }
  106. }
  107. .activeUser {
  108. --van-cell-line-height: 20px;
  109. position: absolute;
  110. left: 0;
  111. bottom: 0;
  112. width: 100%;
  113. box-sizing: border-box;
  114. box-shadow: 0 -8px 12px #ebedf0;
  115. background-color: #fff;
  116. :global {
  117. .van-cell__title {
  118. font-weight: bold;
  119. }
  120. .van-cell__label {
  121. font-weight: 400;
  122. }
  123. .van-cell__value {
  124. flex: initial;
  125. margin-left: 8px;
  126. }
  127. }
  128. .avator {
  129. width: 48px;
  130. height: 48px;
  131. margin-right: 12px;
  132. }
  133. .btn {
  134. padding: 4px 10px;
  135. border: none;
  136. background: linear-gradient(180deg, #ffa200 0%, #ff6900 100%);
  137. border-radius: 16px;
  138. }
  139. .num {
  140. font-size: 14px;
  141. font-weight: bold;
  142. color: #fa6400;
  143. }
  144. }