chat.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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: 36rpx;
  23. font-weight: 600;
  24. border-bottom: 2rpx #dcdcdc 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: 28rpx;
  38. color: #fff;
  39. background-color: #95D4E6;
  40. line-height: 40rpx;
  41. border-radius: 40rpx;
  42. display: block;
  43. height: 40rpx;
  44. padding: 0rpx 20rpx;
  45. }
  46. .share-con,
  47. .questions {
  48. position:relative;
  49. margin-top: 28rpx;
  50. padding-bottom: 10rpx;
  51. border-bottom: 2rpx #dcdcdc solid;
  52. }
  53. .share-con .head {
  54. padding:20rpx 0;
  55. }
  56. .head-img {
  57. width: 86rpx;
  58. height: 86rpx;
  59. float: left;
  60. margin-right: 18rpx;
  61. }
  62. .head-img image {
  63. width: 100%;
  64. height: 100%;
  65. border-radius: 50%;
  66. }
  67. .lesson-name {
  68. display: flex;
  69. flex-direction: column;
  70. margin: 8rpx 16rpx;
  71. }
  72. .lesson-name text:nth-child(1) {
  73. height: 38rpx;
  74. font-size: 36rpx;
  75. font-weight: 600;
  76. }
  77. .lesson-name text:nth-child(2) {
  78. height: 30rpx;
  79. margin-top: 10rpx;
  80. font-size: 28rpx;
  81. color: #C3C3C3;
  82. }
  83. .picture {
  84. display: flex;
  85. height:176rpx;
  86. margin: 24rpx 112rpx 17rpx 103rpx;
  87. }
  88. .picture image {
  89. width: 236rpx;
  90. height: 176rpx;
  91. border-radius: 5rpx;
  92. }
  93. .picture image:nth-child(2) {
  94. margin-left: 8rpx;
  95. }
  96. .share-up-box {
  97. position: absolute;
  98. right: -30rpx;
  99. top: -30rpx;
  100. height: 100rpx;
  101. width: 100rpx;
  102. }
  103. .share_up {
  104. position: absolute;
  105. right: 30rpx;
  106. top: 50rpx;
  107. height: 28rpx;
  108. width: 28rpx;
  109. }
  110. .message {
  111. position: absolute;
  112. right: 0;
  113. top: 10rpx;
  114. width: 20rpx;
  115. height: 20rpx;
  116. background: red;
  117. border-radius: 50%;
  118. }
  119. .icon {
  120. display: flex;
  121. align-items: center;
  122. margin: 0 112rpx 17rpx 103rpx;
  123. }
  124. .icon view {
  125. display: flex;
  126. align-items: center;
  127. margin-right: 60rpx;
  128. }
  129. .icon .zan {
  130. width: 26rpx;
  131. height: 23rpx;
  132. }
  133. .icon .weatch {
  134. width: 30rpx;
  135. height: 23rpx;
  136. }
  137. .icon .discuss {
  138. width: 32rpx;
  139. height: 29rpx;
  140. }
  141. .icon view text {
  142. font-size: 28rpx;
  143. color: #878787;
  144. margin-left: 14rpx;
  145. }
  146. .more {
  147. margin-top: 18rpx;
  148. font-size: 28rpx;
  149. text-align: center;
  150. color: #787878;
  151. }
  152. /* 没有分享和答疑内容时的样式 */
  153. .no-con {
  154. margin: 50rpx 0 ;
  155. }
  156. .state {
  157. text-align: center;
  158. font-size: 28rpx;
  159. color: #bebebe;
  160. }
  161. .upload-works {
  162. position: relative;
  163. width: 240rpx;
  164. height: 210rpx;
  165. margin: 0 auto;
  166. }
  167. .work-box {
  168. position: absolute;
  169. left: 0;
  170. top: 0;
  171. width: 235rpx;
  172. height: 235rpx;
  173. }
  174. .uploading-works {
  175. position: absolute;
  176. left: 50%;
  177. top: 50%;
  178. z-index: 1;
  179. width: 67rpx;
  180. height: 51rpx;
  181. transform: translate(-50%, -50%);
  182. }
  183. .upload-works text {
  184. position: absolute;
  185. left: 50%;
  186. top: 70%;
  187. z-index: 1;
  188. font-size: 28rpx;
  189. color: #bebebe;
  190. transform: translate(-50%);
  191. }
  192. /*分享按钮*/
  193. .transmit {
  194. position: absolute;
  195. right: -20rpx;
  196. top: -20rpx;
  197. height: 100rpx;
  198. width: 100rpx;
  199. background: #fff;
  200. margin:0;
  201. padding:0;
  202. line-height: normal;
  203. }
  204. .transmit:after {
  205. content: '';
  206. border: none;
  207. }
  208. .transmit image {
  209. position: absolute;
  210. right: 20rpx;
  211. top: 20rpx;
  212. height: 30rpx;
  213. width: 30rpx;
  214. }
  215. .content-data{
  216. display:block;
  217. word-break:break-all;
  218. color: #444444;
  219. }