chat.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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 {
  91. position: absolute;
  92. right: 0;
  93. top: 20rpx;
  94. height: 19rpx;
  95. width: 19rpx;
  96. }
  97. .icon {
  98. display: flex;
  99. align-items: center;
  100. margin: 0 112rpx 17rpx 103rpx;
  101. }
  102. .icon view {
  103. display: flex;
  104. align-items: center;
  105. margin-right: 60rpx;
  106. }
  107. .icon .zan {
  108. width: 26rpx;
  109. height: 23rpx;
  110. }
  111. .icon .weatch {
  112. width: 30rpx;
  113. height: 23rpx;
  114. }
  115. .icon .discuss {
  116. width: 32rpx;
  117. height: 29rpx;
  118. }
  119. .icon view text {
  120. font-size: 24rpx;
  121. color: #878787;
  122. margin-left: 14rpx;
  123. }
  124. .more {
  125. margin-top: 18rpx;
  126. font-size: 28rpx;
  127. text-align: center;
  128. color: #787878;
  129. }
  130. /* 没有分享和答疑内容时的样式 */
  131. .no-con {
  132. margin: 50rpx 0 ;
  133. }
  134. .state {
  135. text-align: center;
  136. font-size: 24rpx;
  137. color: #C0C0C0;
  138. }
  139. .upload-works {
  140. position: relative;
  141. width: 212rpx;
  142. height: 212rpx;
  143. margin: 0 auto;
  144. }
  145. .work-box {
  146. position: absolute;
  147. left: 0;
  148. top: 0;
  149. width: 212rpx;
  150. height: 212rpx;
  151. }
  152. .uploading-works {
  153. position: absolute;
  154. left: 50%;
  155. top: 50%;
  156. z-index: 1;
  157. width: 67rpx;
  158. height: 51rpx;
  159. transform: translate(-50%, -50%);
  160. }
  161. .upload-works text {
  162. position: absolute;
  163. left: 50%;
  164. top: 70%;
  165. z-index: 1;
  166. font-size: 24rpx;
  167. color: #C0C0C0;
  168. transform: translate(-50%);
  169. }