messageCenter.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /* 切换栏 */
  2. .navbar-box {
  3. width: 100%;
  4. /* height: 100%; */
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. background-color: #ffffff;
  9. display: flex;
  10. justify-content: center;
  11. }
  12. .navbar-box-container {
  13. box-sizing: border-box;
  14. position: absolute;
  15. display: flex;
  16. align-items: center;
  17. z-index: 999;
  18. }
  19. .navbar-box-container .navbar-location {
  20. width: 48rpx;
  21. height: 48rpx;
  22. margin-left: 20rpx;
  23. }
  24. .navbar-box-container .navbar-tips {
  25. color: #333333;
  26. font-weight: 500;
  27. font-size: 36rpx;
  28. text-align: center;
  29. }
  30. .navbar-box-container .navbar-arrow {
  31. width: 40rpx;
  32. height: 40rpx;
  33. }
  34. .message-box {
  35. padding: 0 20rpx;
  36. padding-bottom: 40rpx;
  37. }
  38. .tabs-wrap {
  39. height: 120rpx;
  40. background: #fff;
  41. position: relative;
  42. }
  43. .tabs-wrap .item {
  44. height: 100%;
  45. font-size: 28rpx;
  46. color: #666666;
  47. position: relative;
  48. font-family: PingFangSC-Regular, PingFang SC;
  49. font-weight: 400;
  50. margin-left: 48rpx;
  51. }
  52. .tabs-wrap .item:first-child {
  53. margin-left: 30rpx;
  54. }
  55. .tabs-wrap image {
  56. width: 30rpx;
  57. height: 30rpx;
  58. position: absolute;
  59. right: 40rpx;
  60. }
  61. .message-icon {
  62. padding: 2rpx;
  63. min-width: 27rpx;
  64. min-height: 27rpx;
  65. background-color: #FF4414;
  66. border-radius: 50%;
  67. position: absolute;
  68. top: 33rpx;
  69. right: -16rpx;
  70. color: #FFFFFF;
  71. font-size: 24rpx;
  72. line-height: 27rpx;
  73. text-align: center;
  74. }
  75. .tabs-wrap .item.line::before {
  76. content: '';
  77. position: absolute;
  78. right: -80rpx;
  79. top: 26rpx;
  80. width: 2rpx;
  81. height: 44rpx;
  82. background-color: #EEEEEE;
  83. border-radius: 16rpx;
  84. }
  85. .tabs-wrap .item.active {
  86. font-family: PingFangSC-Medium, PingFang SC;
  87. font-weight: 600;
  88. color: #333333;
  89. font-size: 36rpx;
  90. }
  91. .tabs-wrap .item.active::before {
  92. content: '';
  93. position: absolute;
  94. top: 90rpx;
  95. width: 40rpx;
  96. height: 8rpx;
  97. background: linear-gradient(144deg, #FA7D22 0%, #FA4622 100%);
  98. border-radius: 4rpx;
  99. }
  100. /* 消息内容 */
  101. .message-item {
  102. width: 710rpx;
  103. /* height: 456rpx; */
  104. background-color: #FFFFFF;
  105. border-radius: 10px;
  106. margin-top: 20rpx;
  107. padding: 20rpx 20rpx 22rpx 20rpx;
  108. box-sizing: border-box;
  109. }
  110. .message-item:first-child {
  111. margin-top: 40rpx;
  112. }
  113. .line {
  114. width: 672rpx;
  115. height: 1rpx;
  116. background-color: #EAEAEA;
  117. margin-top: 20rpx;
  118. }
  119. .message-content {
  120. font-size: 28rpx;
  121. color: #222222;
  122. /* min-height: 367rpx; */
  123. }
  124. .message-location {
  125. font-size: 28rpx;
  126. color: #FA7D22;
  127. }
  128. .message-time {
  129. font-size: 28rpx;
  130. color: #333333;
  131. }
  132. .message-bottom {
  133. color: #CCCCCC;
  134. font-size: 22rpx;
  135. margin-top: 16rpx;
  136. display: flex;
  137. align-items: center;
  138. justify-content: flex-end
  139. }
  140. .message-cicle {
  141. height: 20rpx;
  142. width: 20rpx;
  143. background: #FF4414;
  144. border-radius: 50%;
  145. align-items: center;
  146. margin-left: 20rpx;
  147. }
  148. /* 通知内容 */
  149. .inform {
  150. /* height: 352rpx; */
  151. width: 710rpx;
  152. background-color: #FFFFFF;
  153. border-radius: 10px;
  154. position: relative;
  155. padding: 20rpx 20rpx 30rpx 20rpx;
  156. box-sizing: border-box;
  157. margin-top: 20rpx;
  158. }
  159. .inform:first-child {
  160. margin-top: 40rpx;
  161. }
  162. .inform-line {
  163. width: 672rpx;
  164. height: 1rpx;
  165. background-color: #EAEAEA;
  166. margin-top: 30rpx;
  167. }
  168. .inform-title {
  169. width: 90%;
  170. font-size: 36rpx;
  171. color: #222222;
  172. font-weight: 600;
  173. white-space: nowrap;
  174. overflow: hidden;
  175. text-overflow: ellipsis;
  176. }
  177. .inform-time {
  178. color: #CCCCCC;
  179. font-size: 22rpx;
  180. margin-top: 20rpx;
  181. }
  182. .inform-content {
  183. color: #666666;
  184. font-size: 28rpx;
  185. margin-top: 20rpx;
  186. /* height: 120rpx; */
  187. width: 100%;
  188. }
  189. .inform-content-item {
  190. width: 100%;
  191. /* height: 80rpx; */
  192. overflow: hidden;
  193. text-overflow: ellipsis;
  194. display: -webkit-box;
  195. white-space: normal;
  196. -webkit-line-clamp: 2;
  197. -webkit-box-orient: vertical;
  198. }
  199. .inform-see {
  200. display: flex;
  201. justify-content: flex-end;
  202. align-items: center;
  203. color: #FA7D22;
  204. font-size: 28rpx;
  205. margin-top: 30rpx;
  206. }
  207. .inform image {
  208. width: 11rpx;
  209. height: 18rpx;
  210. margin-left: 26rpx;
  211. margin-top: 6rpx;
  212. }
  213. .inform-icon {
  214. width: 20rpx;
  215. height: 20rpx;
  216. border-radius: 50%;
  217. background-color: #FF4414;
  218. position: absolute;
  219. top: 36rpx;
  220. right: 20rpx;
  221. }