message.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .page {
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. }
  6. .card {
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. width: 700rpx;
  11. margin: 50rpx 0rpx;
  12. padding-bottom: 20rpx;
  13. background-color: #ffffff;
  14. border-radius: 28rpx;
  15. box-shadow: 5rpx 5rpx 8rpx 0rpx rgba(0, 0, 0, 0.16);
  16. }
  17. .card1 {
  18. margin-top: 20rpx;
  19. }
  20. .avatar-name {
  21. display: flex;
  22. align-items: center;
  23. }
  24. .publisher-avatar {
  25. width: 50rpx;
  26. height: 50rpx;
  27. border-radius: 25rpx;
  28. margin-left: 10rpx;
  29. z-index: 1;
  30. border-color: #9E9E9E;
  31. border-style: solid;
  32. border-width: 2rpx;
  33. background-color: #ffffff;
  34. }
  35. .profile {
  36. display: flex;
  37. justify-content: space-between;
  38. position: relative;
  39. top: -20rpx;
  40. margin-right: 10rpx;
  41. }
  42. .publisher-name {
  43. font-size: 24rpx;
  44. background-color: #ffffff;
  45. padding: 5rpx 20rpx 5rpx 30rpx;
  46. margin-left: -20rpx;
  47. border-radius: 20rpx;
  48. box-shadow: 5rpx 5rpx 8rpx 0rpx rgba(0, 0, 0, 0.16);
  49. }
  50. .time {
  51. margin-left: 10rpx;
  52. font-size: 20rpx;
  53. }
  54. .message-attribute {
  55. font-size: 24rpx;
  56. align-self: center;
  57. padding-top: 5rpx;
  58. padding-bottom: 5rpx;
  59. padding-right: 20rpx;
  60. padding-left: 20rpx;
  61. border-radius: 28rpx;
  62. box-shadow: 5rpx 5rpx 8rpx 0rpx rgba(0, 0, 0, 0.16);
  63. }
  64. .title {
  65. font-size: 28rpx;
  66. }
  67. .title2 {
  68. font-size: 32rpx;
  69. }
  70. .title-time {
  71. margin-left: 50rpx;
  72. margin-right: 30rpx;
  73. margin-bottom: 20rpx;
  74. display: flex;
  75. justify-content: space-between;
  76. align-items: flex-end;
  77. }
  78. .bottom-line {
  79. display: flex;
  80. justify-content: space-between;
  81. align-items: center;
  82. margin: 10rpx 10rpx 30rpx 10rpx;
  83. }
  84. .message-poster {
  85. height: 330rpx;
  86. width: 700rpx;
  87. border-radius: 20rpx 20rpx 0rpx 0rpx;
  88. }
  89. .message-block {
  90. width: 650rpx;
  91. padding-bottom: 100rpx;
  92. }
  93. .like {
  94. height: 50rpx;
  95. width: 50rpx;
  96. }
  97. .question {
  98. display: flex;
  99. justify-content: space-between;
  100. align-items: center;
  101. height: 80rpx;
  102. padding-left: 20rpx;
  103. padding-right: 20rpx;
  104. position: fixed;
  105. bottom: 0rpx;
  106. left: 0rpx;
  107. right: 0rpx;
  108. }
  109. .question-inside {
  110. border-radius: 20rpx;
  111. background: #dadada;
  112. }
  113. .question-input {
  114. font-size: 35rpx;
  115. }
  116. .question-button {
  117. height: 80rpx;
  118. width: 100rpx;
  119. line-height: 80rpx;
  120. font-size: 30rpx;
  121. text-align: center;
  122. }
  123. .text {
  124. font-size: 24rpx;
  125. margin-left: 50rpx;
  126. margin-bottom: 20rpx;
  127. margin-right: 20rpx;
  128. }
  129. .line {
  130. height: 2rpx;
  131. margin: 10rpx 20rpx 20rpx 20rpx;
  132. }
  133. .btn-icon {
  134. height: 30rpx;
  135. width: 30rpx;
  136. margin-right: 10rpx;
  137. }
  138. .btn {
  139. display: flex;
  140. font-size: 24rpx;
  141. padding: 5rpx 20rpx;
  142. border-radius: 28rpx;
  143. box-shadow: 5rpx 5rpx 8rpx 0rpx rgba(0, 0, 0, 0.16);
  144. margin-right: 20rpx;
  145. }
  146. .bottom {
  147. display: flex;
  148. width: 100%;
  149. justify-content: flex-end;
  150. }