news.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. .wrapper {
  2. padding-top: 20rpx;
  3. }
  4. .leaving-a-message {
  5. position: relative;
  6. left: 0;
  7. top: 0;
  8. }
  9. .leaving-a-message image {
  10. display: block;
  11. width: 40rpx;
  12. height: 50rpx;
  13. }
  14. .leaving-a-message view {
  15. position: absolute;
  16. top: -9rpx;
  17. right: -9rpx;
  18. z-index: 1;
  19. min-width: 36rpx;
  20. min-height: 36rpx;
  21. border-radius: 18rpx;
  22. background: #FA5151;
  23. font-size: 24rpx;
  24. font-weight: 500;
  25. color: #FFF;
  26. line-height: 36rpx;
  27. text-align: center;
  28. }
  29. .btn-mine {
  30. display: flex;
  31. align-items: center;
  32. margin-left: 18rpx;
  33. image {
  34. width: 44rpx;
  35. height: 50rpx;
  36. }
  37. }
  38. .btn-add {
  39. position: fixed;
  40. right: 30rpx;
  41. bottom: 156rpx;
  42. z-index: 100;
  43. &:after {
  44. display: block;
  45. content: '';
  46. width: 100%;
  47. padding-bottom: constant(safe-area-inset-bottom);
  48. padding-bottom: env(safe-area-inset-bottom);
  49. }
  50. image {
  51. display: block;
  52. width: 134rpx;
  53. height: 134rpx;
  54. }
  55. }
  56. .main {
  57. padding: 42rpx 0 134rpx;
  58. }
  59. .list {
  60. width: 690rpx;
  61. margin: 20rpx auto 0;
  62. }
  63. .top {
  64. display: flex;
  65. align-items: center;
  66. padding-left: 12rpx;
  67. }
  68. .portrait {
  69. width: 88rpx;
  70. height: 88rpx;
  71. border-radius: 50%;
  72. overflow: hidden;
  73. image {
  74. display: block;
  75. width: 100%;
  76. height: 100%;
  77. }
  78. }
  79. .blogger-name-wrap {
  80. width: 450rpx;
  81. padding: 0 16rpx;
  82. view {
  83. width: 100%;
  84. white-space: nowrap;
  85. overflow: hidden;
  86. text-overflow: ellipsis;
  87. }
  88. .user-name {
  89. line-height: 36rpx;
  90. font-size: 30rpx;
  91. font-weight: 500;
  92. color: rgba(29, 29, 31, 1);
  93. }
  94. .business-name {
  95. margin-top: 2rpx;
  96. line-height: 32rpx;
  97. font-size: 24rpx;
  98. color: rgba(0, 0, 0, 0.4);
  99. }
  100. }
  101. .follow {
  102. width: 140rpx;
  103. height: 56rpx;
  104. border-radius: 8rpx;
  105. background: rgba(145, 179, 121, 1);
  106. font-size: 24rpx;
  107. font-weight: 600;
  108. color: rgba(255, 255, 255, 1);
  109. }
  110. .news {
  111. margin-top: 20rpx;
  112. .text {
  113. line-height: 44rpx;
  114. font-size: 28rpx;
  115. color: rgba(102, 102, 102, 1);
  116. word-break: break-all;
  117. word-wrap: break-word;
  118. }
  119. .photo-wrap {
  120. display: flex;
  121. flex-flow: row wrap;
  122. }
  123. .box {
  124. width: 222rpx;
  125. height: 218rpx;
  126. margin-top: 24rpx;
  127. margin-left: 12rpx;
  128. border-radius: 8rpx;
  129. overflow: hidden;
  130. &:nth-of-type(1),
  131. &:nth-of-type(2),
  132. &:nth-of-type(3) {
  133. margin-top: 20rpx;
  134. }
  135. &:nth-of-type(3n + 1) {
  136. margin-left: 0;
  137. }
  138. }
  139. image {
  140. display: block;
  141. width: 100%;
  142. height: 100%;
  143. }
  144. }
  145. .tools-wrap {
  146. display: flex;
  147. align-items: center;
  148. justify-content: space-between;
  149. margin-top: 12rpx;
  150. image {
  151. display: block;
  152. width: 48rpx;
  153. height: 48rpx;
  154. }
  155. .collection-favorite {
  156. display: flex;
  157. justify-content: flex-end;
  158. }
  159. .favorite {
  160. display: flex;
  161. align-items: center;
  162. }
  163. .good-count {
  164. margin-left: 10rpx;
  165. }
  166. }
  167. .message-list {
  168. margin-bottom: 74rpx;
  169. .list {
  170. display: flex;
  171. margin-top: 20rpx;
  172. }
  173. .message {
  174. width: 100%;
  175. line-height: 44rpx;
  176. font-size: 28rpx;
  177. color: rgba(153, 153, 153, 1);
  178. word-break: break-all;
  179. word-wrap: break-word;
  180. }
  181. .btn-reply {
  182. width: 76rpx;
  183. line-height: 44rpx;
  184. font-size: 24rpx;
  185. color: rgba(153, 153, 153, 1);
  186. text-align: center;
  187. }
  188. }
  189. .popup-body {
  190. padding-top: 24rpx;
  191. padding-bottom: 100rpx;
  192. }
  193. .form-item {
  194. position: relative;
  195. left: 0;
  196. top: 0;
  197. width: 688rpx;
  198. height: 76rpx;
  199. margin: 0 auto;
  200. border-radius: 38rpx;
  201. background: rgba(240, 240, 240, 1);
  202. .smile {
  203. position: absolute;
  204. left: 27rpx;
  205. top: 18rpx;
  206. width: 40rpx;
  207. height: 40rpx;
  208. }
  209. input {
  210. width: 383rpx;
  211. height: 100%;
  212. padding: 0 13rpx;
  213. margin-left: 67rpx;
  214. font-size: 32rpx;
  215. color: rgba(51, 51, 51, 1);
  216. }
  217. .placeholder {
  218. color: rgba(166, 166, 166, 1);
  219. }
  220. .btn-send {
  221. position: absolute;
  222. right: 14rpx;
  223. top: 10rpx;
  224. z-index: 99;
  225. width: 108rpx;
  226. height: 56rpx;
  227. border-radius: 38rpx;
  228. background: rgba(96, 169, 252, 1);
  229. font-size: 24rpx;
  230. color: #FFF;
  231. }
  232. }