myNews.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. .wrapper {
  2. padding-top: 20rpx;
  3. }
  4. .app_page-header {
  5. display: flex;
  6. flex-direction: column;
  7. align-items: center;
  8. padding-top: 40rpx;
  9. .portrait {
  10. width: 165rpx;
  11. height: 165rpx;
  12. border-radius: 50%;
  13. overflow: hidden;
  14. image {
  15. display: block;
  16. width: 100%;
  17. }
  18. }
  19. .user-name {
  20. margin-top: 16rpx;
  21. line-height: 60rpx;
  22. font-size: 36rpx;
  23. color: rgba(51, 51, 51, 1);
  24. }
  25. }
  26. .dashborad-box {
  27. display: flex;
  28. align-items: center;
  29. width: 100%;
  30. margin-top: 14rpx;
  31. view {
  32. width: 50%;
  33. line-height: 40rpx;
  34. font-size: 24rpx;
  35. color: rgba(153, 153, 153, 1);
  36. &:nth-of-type(1) {
  37. padding-right: 47rpx;
  38. text-align: right;
  39. }
  40. &:nth-of-type(2) {
  41. padding-left: 47rpx;
  42. }
  43. }
  44. }
  45. .main {
  46. padding: 42rpx 0 134rpx;
  47. }
  48. .list {
  49. width: 690rpx;
  50. margin: 20rpx auto 0;
  51. }
  52. .top {
  53. display: flex;
  54. align-items: center;
  55. padding-left: 12rpx;
  56. }
  57. .portrait {
  58. width: 88rpx;
  59. height: 88rpx;
  60. border-radius: 50%;
  61. overflow: hidden;
  62. image {
  63. display: block;
  64. width: 100%;
  65. height: 100%;
  66. }
  67. }
  68. .blogger-name-wrap {
  69. width: 450rpx;
  70. padding: 0 16rpx;
  71. view {
  72. width: 100%;
  73. white-space: nowrap;
  74. overflow: hidden;
  75. text-overflow: ellipsis;
  76. }
  77. .user-name {
  78. line-height: 36rpx;
  79. font-size: 30rpx;
  80. font-weight: 500;
  81. color: rgba(29, 29, 31, 1);
  82. }
  83. .business-name {
  84. margin-top: 2rpx;
  85. line-height: 32rpx;
  86. font-size: 24rpx;
  87. color: rgba(0, 0, 0, 0.4);
  88. }
  89. }
  90. .btn-del {
  91. display: flex;
  92. justify-content: flex-end;
  93. align-items: center;
  94. width: 140rpx;
  95. height: 56rpx;
  96. image {
  97. width: 32rpx;
  98. height: 32rpx;
  99. }
  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. .message-list {
  137. margin-bottom: 74rpx;
  138. .list {
  139. display: flex;
  140. margin-top: 20rpx;
  141. }
  142. .message {
  143. width: 100%;
  144. line-height: 44rpx;
  145. font-size: 28rpx;
  146. color: rgba(153, 153, 153, 1);
  147. word-break: break-all;
  148. word-wrap: break-word;
  149. }
  150. .btn-reply {
  151. width: 76rpx;
  152. line-height: 44rpx;
  153. font-size: 24rpx;
  154. color: rgba(153, 153, 153, 1);
  155. text-align: center;
  156. }
  157. }