messageCenter.wxss 4.0 KB

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