community.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. /* pages/community/community.wxss */
  2. .container {
  3. padding: 20rpx;
  4. }
  5. .checkin-section {
  6. width: 600rpx;
  7. padding: 20rpx;
  8. border-radius: 12rpx;
  9. margin-bottom: 20rpx;
  10. display: flex;
  11. justify-content: space-between;
  12. align-items: center;
  13. }
  14. .checkin-info {
  15. display: flex;
  16. flex-direction: column;
  17. }
  18. .checkin-info text {
  19. font-size: 24rpx;
  20. margin-bottom: 10rpx;
  21. }
  22. .checkin-btn {
  23. padding: 0 30rpx;
  24. height: 60rpx;
  25. line-height: 60rpx;
  26. border-radius: 30rpx;
  27. text-align: center;
  28. }
  29. .post-creator {
  30. width: 600rpx;
  31. padding: 20rpx;
  32. border-radius: 12rpx;
  33. margin-bottom: 20rpx;
  34. }
  35. .post-creator textarea {
  36. width: 100%;
  37. height: 150rpx;
  38. font-size: 28rpx;
  39. margin-bottom: 15rpx;
  40. padding: 15rpx;
  41. box-sizing: border-box;
  42. border-radius: 12rpx;
  43. }
  44. .post-meta {
  45. display: flex;
  46. justify-content: space-between;
  47. align-items: center;
  48. }
  49. .duration-text {
  50. font-size: 24rpx;
  51. color: #999;
  52. }
  53. .post-button {
  54. font-size: 26rpx;
  55. padding: 0 30rpx;
  56. height: 60rpx;
  57. line-height: 60rpx;
  58. border-radius: 30rpx;
  59. text-align: center;
  60. }
  61. .post-card {
  62. border-radius: 12rpx;
  63. padding: 20rpx;
  64. margin-bottom: 20rpx;
  65. }
  66. .post-header {
  67. display: flex;
  68. align-items: center;
  69. margin-bottom: 15rpx;
  70. }
  71. .avatar {
  72. width: 80rpx;
  73. height: 80rpx;
  74. border-radius: 50%;
  75. margin-right: 15rpx;
  76. }
  77. .user-info {
  78. display: flex;
  79. flex-direction: column;
  80. }
  81. .username {
  82. font-size: 28rpx;
  83. font-weight: bold;
  84. }
  85. .post-time {
  86. font-size: 22rpx;
  87. color: #999;
  88. margin-top: 5rpx;
  89. }
  90. .post-content {
  91. font-size: 28rpx;
  92. line-height: 1.5;
  93. margin-bottom: 15rpx;
  94. }
  95. .focus-data {
  96. width: 600rpx;
  97. padding: 15rpx;
  98. border-radius: 8rpx;
  99. margin-bottom: 15rpx;
  100. display: flex;
  101. justify-content: space-between;
  102. font-size: 24rpx;
  103. }
  104. .post-actions {
  105. display: flex;
  106. padding-top: 15rpx;
  107. border-top: 1rpx solid #eee;
  108. }
  109. .action {
  110. display: flex;
  111. align-items: center;
  112. margin-right: 30rpx;
  113. }
  114. .action image {
  115. width: 40rpx;
  116. height: 40rpx;
  117. margin-right: 10rpx;
  118. }
  119. .comments-section {
  120. margin-top: 15rpx;
  121. padding-top: 15rpx;
  122. border-top: 1rpx solid #f0f0f0;
  123. }
  124. .comments-list {
  125. margin-bottom: 15rpx;
  126. }
  127. .comment-item {
  128. margin-bottom: 10rpx;
  129. font-size: 26rpx;
  130. line-height: 1.5;
  131. }
  132. .comment-user {
  133. font-weight: bold;
  134. margin-right: 10rpx;
  135. }
  136. .comment-input {
  137. display: flex;
  138. margin-top: 15rpx;
  139. }
  140. .comment-input input {
  141. flex: 1;
  142. height: 60rpx;
  143. padding: 0 15rpx;
  144. background-color: #f5f5f5;
  145. border-radius: 30rpx;
  146. font-size: 26rpx;
  147. }
  148. .send-button {
  149. width: 120rpx;
  150. height: 60rpx;
  151. line-height: 60rpx;
  152. margin-left: 15rpx;
  153. border-radius: 30rpx;
  154. font-size: 26rpx;
  155. text-align: center;
  156. }
  157. .placeholder {
  158. color: #999;
  159. }