chat.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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: 38rpx;
  108. width: 42rpx;
  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. .Stick {
  120. position: absolute;
  121. left:136px;
  122. top:32rpx;
  123. font-size: 32rpx;
  124. color: skyblue;
  125. }
  126. .icon {
  127. display: flex;
  128. align-items: center;
  129. margin: 0 112rpx 17rpx 103rpx;
  130. }
  131. .icon view {
  132. display: flex;
  133. align-items: center;
  134. margin-right: 60rpx;
  135. }
  136. .icon .zan {
  137. width: 36rpx;
  138. height: 33rpx;
  139. }
  140. .icon .weatch {
  141. width: 40rpx;
  142. height: 33rpx;
  143. }
  144. .icon .discuss {
  145. width: 42rpx;
  146. height: 39rpx;
  147. }
  148. .icon view text {
  149. font-size: 28rpx;
  150. color: #878787;
  151. margin-left: 14rpx;
  152. }
  153. .more {
  154. margin-top: 18rpx;
  155. font-size: 28rpx;
  156. text-align: center;
  157. color: #787878;
  158. }
  159. /* 没有分享和答疑内容时的样式 */
  160. .no-con {
  161. margin: 50rpx 0 ;
  162. }
  163. .state {
  164. text-align: center;
  165. font-size: 28rpx;
  166. color: #bebebe;
  167. }
  168. .upload-works {
  169. position: relative;
  170. width: 240rpx;
  171. height: 210rpx;
  172. margin: 0 auto;
  173. }
  174. .work-box {
  175. position: absolute;
  176. left: 0;
  177. top: 0;
  178. width: 235rpx;
  179. height: 235rpx;
  180. }
  181. .uploading-works {
  182. position: absolute;
  183. left: 50%;
  184. top: 50%;
  185. z-index: 1;
  186. width: 67rpx;
  187. height: 51rpx;
  188. transform: translate(-50%, -50%);
  189. }
  190. .upload-works text {
  191. position: absolute;
  192. left: 50%;
  193. top: 70%;
  194. z-index: 1;
  195. font-size: 28rpx;
  196. color: #bebebe;
  197. transform: translate(-50%);
  198. }
  199. /*分享按钮*/
  200. .transmit {
  201. position: absolute;
  202. right: -20rpx;
  203. top: -20rpx;
  204. height: 100rpx;
  205. width: 100rpx;
  206. background: #fff;
  207. margin:0;
  208. padding:0;
  209. line-height: normal;
  210. }
  211. .transmit:after {
  212. content: '';
  213. border: none;
  214. }
  215. .transmit image {
  216. position: absolute;
  217. right: 20rpx;
  218. top: 20rpx;
  219. height: 30rpx;
  220. width: 30rpx;
  221. }
  222. .content-data{
  223. display:block;
  224. word-break:break-all;
  225. color: #444444;
  226. }