qa.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. #qa {
  2. width: 100%;
  3. height: 100%;
  4. display: -webkit-box;
  5. display: -ms-flexbox;
  6. display: flex;
  7. -webkit-box-orient: vertical;
  8. -webkit-box-direction: normal;
  9. -ms-flex-direction: column;
  10. flex-direction: column;
  11. -webkit-box-sizing: border-box;
  12. box-sizing: border-box;
  13. padding-bottom: 100rpx;
  14. }
  15. .qa-content {
  16. -webkit-box-flex: 1;
  17. -ms-flex: 1 1 auto;
  18. flex: 1 1 auto;
  19. min-height: 100%;
  20. -webkit-box-sizing: border-box;
  21. box-sizing: border-box;
  22. padding: 28rpx 32rpx 0;
  23. position: relative;
  24. }
  25. .qa-content .qa-wrapper {
  26. display: -webkit-box;
  27. display: -ms-flexbox;
  28. display: flex;
  29. -webkit-box-flex: 1;
  30. -ms-flex: 1 0 auto;
  31. flex: 1 0 auto;
  32. width: 100%;
  33. height: 200rpx;
  34. }
  35. .qa-content .qa-item {
  36. display: -webkit-box;
  37. display: -ms-flexbox;
  38. display: flex;
  39. margin-bottom: 26rpx;
  40. }
  41. .qa-content .avatar {
  42. -webkit-box-flex: 0;
  43. -ms-flex: 0 0 auto;
  44. flex: 0 0 auto;
  45. width: 70rpx;
  46. height: 70rpx;
  47. }
  48. .qa-content .avatar image {
  49. width: 100%;
  50. height: 100%;
  51. border-radius: 50%;
  52. }
  53. .qa-content .msg-wrapper {
  54. width: 100%;
  55. margin-left: 15rpx;
  56. display: -webkit-box;
  57. display: -ms-flexbox;
  58. display: flex;
  59. -webkit-box-orient: vertical;
  60. -webkit-box-direction: normal;
  61. -ms-flex-direction: column;
  62. flex-direction: column;
  63. }
  64. .q-name-wrapper {
  65. display: -webkit-box;
  66. display: -ms-flexbox;
  67. display: flex;
  68. -webkit-box-pack: justify;
  69. -ms-flex-pack: justify;
  70. justify-content: space-between;
  71. }
  72. .qa-content .q-name {
  73. -webkit-box-flex: 1;
  74. -ms-flex: 1 1 auto;
  75. flex: 1 1 auto;
  76. margin-right: 10rpx;
  77. font-size: 30rpx;
  78. color: #214a93;
  79. }
  80. #qa .teacher {
  81. color: #fd6826;
  82. }
  83. #qa .qa-content .time {
  84. -webkit-box-flex: 0;
  85. -ms-flex: 0 0 160rpx;
  86. flex: 0 0 160rpx;
  87. font-size: 26rpx;
  88. color: #a1a1a1;
  89. margin: 0;
  90. }
  91. .qa-content .question {
  92. margin-top: 5rpx;
  93. font-size: 30rpx;
  94. }
  95. .qa-content .features {
  96. display: -webkit-box;
  97. display: -ms-flexbox;
  98. display: flex;
  99. -webkit-box-align: center;
  100. -ms-flex-align: center;
  101. align-items: center;
  102. height: 50rpx;
  103. color: #a1a1a1;
  104. margin-top: 15rpx;
  105. margin-right: 30rpx;
  106. margin-bottom: 10rpx;
  107. }
  108. .feature-item {
  109. width: 150rpx;
  110. display: -webkit-box;
  111. display: -ms-flexbox;
  112. display: flex;
  113. margin-right: 10rpx;
  114. height: 50rpx;
  115. }
  116. .share-wrapper {
  117. width: 50rpx;
  118. height: 50rpx;
  119. }
  120. .feature-item view {
  121. display: inline-block;
  122. width: 50rpx;
  123. height: 50rpx;
  124. margin-right: 4rpx;
  125. }
  126. .feature-item button {
  127. outline: none;
  128. border: 0;
  129. display: inline-block;
  130. width: 50rpx;
  131. height: 50rpx;
  132. padding: 0;
  133. }
  134. .feature-item text {
  135. display: inline-block;
  136. height: 50rpx;
  137. font-size: 30rpx;
  138. line-height: 50rpx;
  139. padding-top: 5rpx;
  140. -webkit-box-sizing: border-box;
  141. box-sizing: border-box;
  142. }
  143. .praise-icon{
  144. background: url('https://efunimgs.ai160.com/resource/wechat/live/good.png') no-repeat center/90%;
  145. }
  146. .praised-icon{
  147. background: url('https://efunimgs.ai160.com/resource/wechat/live/better.png') no-repeat center/90%;
  148. }
  149. .answer-icon{
  150. background: url('https://efunimgs.ai160.com/resource/wechat/live/comment.png') no-repeat center/90%;
  151. }
  152. .collection-icon{
  153. background: url('https://efunimgs.ai160.com/resource/wechat/live/collect.png') no-repeat center/90%;
  154. }
  155. .collected-icon{
  156. background: url('https://efunimgs.ai160.com/resource/wechat/live/collected.png') no-repeat center/90%;
  157. }
  158. .share-icon{
  159. background: url('https://efunimgs.ai160.com/resource/wechat/subject/schedule/share.png') no-repeat center/80%;
  160. }
  161. .answer-wrapper{
  162. font-size: 30rpx;
  163. line-height: 50rpx;
  164. }
  165. .answer-wrapper .name{
  166. color: #214a93;
  167. }
  168. .no-info {
  169. position: absolute;
  170. left: 50%;
  171. top: 40%;
  172. -webkit-transform: translate(-50%, -50%);
  173. transform: translate(-50%, -50%);
  174. }