chat.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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. height:176rpx;
  80. margin: 24rpx 112rpx 17rpx 103rpx;
  81. }
  82. .picture image {
  83. width: 236rpx;
  84. height: 176rpx;
  85. border-radius: 15rpx;
  86. }
  87. .picture image:nth-child(2) {
  88. margin-left: 8rpx;
  89. }
  90. .share-up-box {
  91. position: absolute;
  92. right: -30rpx;
  93. top: -30rpx;
  94. height: 100rpx;
  95. width: 100rpx;
  96. }
  97. .share_up {
  98. position: absolute;
  99. right: 30rpx;
  100. top: 50rpx;
  101. height: 19rpx;
  102. width: 19rpx;
  103. }
  104. .message {
  105. position: absolute;
  106. right: 0;
  107. top: 10rpx;
  108. width: 20rpx;
  109. height: 20rpx;
  110. background: red;
  111. border-radius: 50%;
  112. }
  113. .icon {
  114. display: flex;
  115. align-items: center;
  116. margin: 0 112rpx 17rpx 103rpx;
  117. }
  118. .icon view {
  119. display: flex;
  120. align-items: center;
  121. margin-right: 60rpx;
  122. }
  123. .icon .zan {
  124. width: 26rpx;
  125. height: 23rpx;
  126. }
  127. .icon .weatch {
  128. width: 30rpx;
  129. height: 23rpx;
  130. }
  131. .icon .discuss {
  132. width: 32rpx;
  133. height: 29rpx;
  134. }
  135. .icon view text {
  136. font-size: 24rpx;
  137. color: #878787;
  138. margin-left: 14rpx;
  139. }
  140. .more {
  141. margin-top: 18rpx;
  142. font-size: 28rpx;
  143. text-align: center;
  144. color: #787878;
  145. }
  146. /* 没有分享和答疑内容时的样式 */
  147. .no-con {
  148. margin: 50rpx 0 ;
  149. }
  150. .state {
  151. text-align: center;
  152. font-size: 24rpx;
  153. color: #C0C0C0;
  154. }
  155. .upload-works {
  156. position: relative;
  157. width: 212rpx;
  158. height: 212rpx;
  159. margin: 0 auto;
  160. }
  161. .work-box {
  162. position: absolute;
  163. left: 0;
  164. top: 0;
  165. width: 212rpx;
  166. height: 212rpx;
  167. }
  168. .uploading-works {
  169. position: absolute;
  170. left: 50%;
  171. top: 50%;
  172. z-index: 1;
  173. width: 67rpx;
  174. height: 51rpx;
  175. transform: translate(-50%, -50%);
  176. }
  177. .upload-works text {
  178. position: absolute;
  179. left: 50%;
  180. top: 70%;
  181. z-index: 1;
  182. font-size: 24rpx;
  183. color: #C0C0C0;
  184. transform: translate(-50%);
  185. }
  186. /*分享按钮*/
  187. .transmit {
  188. position: absolute;
  189. right: -20rpx;
  190. top: -20rpx;
  191. height: 100rpx;
  192. width: 100rpx;
  193. background: #fff;
  194. margin:0;
  195. padding:0;
  196. line-height: normal;
  197. }
  198. .transmit:after {
  199. content: '';
  200. border: none;
  201. }
  202. .transmit image {
  203. position: absolute;
  204. right: 20rpx;
  205. top: 20rpx;
  206. height: 19rpx;
  207. width: 19rpx;
  208. }