chat.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /* compontents/chat/chat.wxss */
  2. .works,
  3. .share {
  4. width: 100%;
  5. margin: 20rpx 0;
  6. border-radius: 25rpx;
  7. padding: 20rpx 0;
  8. box-sizing: border-box;
  9. background: #fff;
  10. position: relative;
  11. }
  12. /* 分享评论 */
  13. .works,
  14. .share {
  15. padding: 16rpx 25rpx;
  16. }
  17. .works .title,
  18. .share .title {
  19. position:relative;
  20. width: 100%;
  21. text-align: center;
  22. font-size: 32rpx;
  23. font-weight: 600;
  24. border-bottom: 2rpx #878787 solid;
  25. padding-bottom: 16rpx;
  26. background: #fff;
  27. }
  28. .xing {
  29. width: 20rpx;
  30. height: 20rpx;
  31. margin: 0 10rpx;
  32. }
  33. .uploading {
  34. position: absolute;
  35. right: 0;
  36. top: 10rpx;
  37. font-size: 24rpx;
  38. }
  39. .share-con,
  40. .questions {
  41. position:relative;
  42. margin-top: 28rpx;
  43. padding-bottom: 10rpx;
  44. border-bottom: 2rpx #878787 solid;
  45. }
  46. .share-con .head {
  47. padding:20rpx 0;
  48. }
  49. .head-img {
  50. width: 86rpx;
  51. height: 86rpx;
  52. float: left;
  53. margin-right: 18rpx;
  54. }
  55. .head-img image {
  56. width: 100%;
  57. height: 100%;
  58. border-radius: 50%;
  59. }
  60. .lesson-name {
  61. display: flex;
  62. flex-direction: column;
  63. margin: 8rpx 16rpx;
  64. }
  65. .lesson-name text:nth-child(1) {
  66. height: 38rpx;
  67. font-size: 32rpx;
  68. font-weight: 600;
  69. }
  70. .lesson-name text:nth-child(2) {
  71. height: 30rpx;
  72. margin-top: 10rpx;
  73. font-size: 24rpx;
  74. color: #C3C3C3;
  75. }
  76. .picture {
  77. display: flex;
  78. justify-content: center;
  79. margin: 24rpx 112rpx 17rpx 103rpx;
  80. }
  81. .picture image {
  82. width: 236rpx;
  83. height: 176rpx;
  84. border-radius: 15rpx;
  85. }
  86. .picture image:nth-child(2) {
  87. margin-left: 8rpx;
  88. }
  89. .share-up-box {
  90. position: absolute;
  91. right: -30rpx;
  92. top: -30rpx;
  93. height: 100rpx;
  94. width: 100rpx;
  95. }
  96. .share_up {
  97. position: absolute;
  98. right: 30rpx;
  99. top: 50rpx;
  100. height: 19rpx;
  101. width: 19rpx;
  102. }
  103. .message {
  104. position: absolute;
  105. right: 0;
  106. top: 10rpx;
  107. width: 68rpx;
  108. height: 56rpx;
  109. }
  110. .icon {
  111. display: flex;
  112. align-items: center;
  113. margin: 0 112rpx 17rpx 103rpx;
  114. }
  115. .icon view {
  116. display: flex;
  117. align-items: center;
  118. margin-right: 60rpx;
  119. }
  120. .icon .zan {
  121. width: 26rpx;
  122. height: 23rpx;
  123. }
  124. .icon .weatch {
  125. width: 30rpx;
  126. height: 23rpx;
  127. }
  128. .icon .discuss {
  129. width: 32rpx;
  130. height: 29rpx;
  131. }
  132. .icon view text {
  133. font-size: 24rpx;
  134. color: #878787;
  135. margin-left: 14rpx;
  136. }
  137. .more {
  138. margin-top: 18rpx;
  139. font-size: 28rpx;
  140. text-align: center;
  141. color: #787878;
  142. }
  143. /* 没有分享和答疑内容时的样式 */
  144. .no-con {
  145. margin: 50rpx 0 ;
  146. }
  147. .state {
  148. text-align: center;
  149. font-size: 24rpx;
  150. color: #C0C0C0;
  151. }
  152. .upload-works {
  153. position: relative;
  154. width: 212rpx;
  155. height: 212rpx;
  156. margin: 0 auto;
  157. }
  158. .work-box {
  159. position: absolute;
  160. left: 0;
  161. top: 0;
  162. width: 212rpx;
  163. height: 212rpx;
  164. }
  165. .uploading-works {
  166. position: absolute;
  167. left: 50%;
  168. top: 50%;
  169. z-index: 1;
  170. width: 67rpx;
  171. height: 51rpx;
  172. transform: translate(-50%, -50%);
  173. }
  174. .upload-works text {
  175. position: absolute;
  176. left: 50%;
  177. top: 70%;
  178. z-index: 1;
  179. font-size: 24rpx;
  180. color: #C0C0C0;
  181. transform: translate(-50%);
  182. }