news.scss 3.8 KB

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