chat.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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: 58rpx;
  44. border-bottom: 2rpx #878787 solid;
  45. }
  46. .share-con .head {
  47. position:relative;
  48. padding:20rpx 0;
  49. }
  50. .head-img {
  51. width: 86rpx;
  52. height: 86rpx;
  53. float: left;
  54. margin-right: 18rpx;
  55. }
  56. .head-img image {
  57. width: 100%;
  58. height: 100%;
  59. border-radius: 50%;
  60. }
  61. .lesson-name {
  62. display: flex;
  63. flex-direction: column;
  64. margin: 8rpx 16rpx;
  65. }
  66. .lesson-name text:nth-child(1) {
  67. height: 38rpx;
  68. font-size: 32rpx;
  69. font-weight: 600;
  70. }
  71. .lesson-name text:nth-child(2) {
  72. height: 30rpx;
  73. margin-top: 10rpx;
  74. font-size: 24rpx;
  75. color: #C3C3C3;
  76. }
  77. .picture {
  78. display: flex;
  79. justify-content: center;
  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: 68rpx;
  109. height: 56rpx;
  110. }
  111. .icon {
  112. display: flex;
  113. align-items: center;
  114. margin: 0 112rpx 17rpx 103rpx;
  115. }
  116. .icon view {
  117. display: flex;
  118. align-items: center;
  119. margin-right: 60rpx;
  120. }
  121. .icon .zan {
  122. width: 26rpx;
  123. height: 23rpx;
  124. }
  125. .icon .weatch {
  126. width: 30rpx;
  127. height: 23rpx;
  128. }
  129. .icon .discuss {
  130. width: 32rpx;
  131. height: 29rpx;
  132. }
  133. .icon view text {
  134. font-size: 24rpx;
  135. color: #878787;
  136. margin-left: 14rpx;
  137. }
  138. .more {
  139. margin-top: 18rpx;
  140. font-size: 28rpx;
  141. text-align: center;
  142. color: #787878;
  143. }
  144. /* 没有分享和答疑内容时的样式 */
  145. .no-con {
  146. margin: 50rpx 0 ;
  147. }
  148. .state {
  149. text-align: center;
  150. font-size: 24rpx;
  151. color: #C0C0C0;
  152. }
  153. .upload-works {
  154. position: relative;
  155. width: 212rpx;
  156. height: 212rpx;
  157. margin: 0 auto;
  158. }
  159. .work-box {
  160. position: absolute;
  161. left: 0;
  162. top: 0;
  163. width: 212rpx;
  164. height: 212rpx;
  165. }
  166. .uploading-works {
  167. position: absolute;
  168. left: 50%;
  169. top: 50%;
  170. z-index: 1;
  171. width: 67rpx;
  172. height: 51rpx;
  173. transform: translate(-50%, -50%);
  174. }
  175. .upload-works text {
  176. position: absolute;
  177. left: 50%;
  178. top: 70%;
  179. z-index: 1;
  180. font-size: 24rpx;
  181. color: #C0C0C0;
  182. transform: translate(-50%);
  183. }