chat.wxss 4.0 KB

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