index.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. .intelligentQA{
  2. display: flex;
  3. width: 100%;
  4. height: calc(100vh - 160px);
  5. }
  6. .history,
  7. .statistics{
  8. background-color: #11536771;
  9. border: 1px solid #209cc1;
  10. width: 250px;
  11. height: calc(100vh - 200px);
  12. color: #fff;
  13. // line-height: 200px;
  14. }
  15. .history{
  16. .historyTitle{
  17. height: 50px;
  18. line-height: 50px;
  19. text-align: center;
  20. }
  21. .historyContent{
  22. width: 100%;
  23. box-sizing: border-box;
  24. height: calc(100vh - 300px);
  25. overflow: hidden;
  26. padding: 0px 20px;
  27. .historyItem{
  28. height: 40px;
  29. width: 100%;
  30. line-height: 40px;
  31. overflow: hidden;
  32. .historyMore{
  33. font-size: 1.2rem;
  34. float: right;
  35. height: 40px;
  36. line-height: 40px;
  37. }
  38. .historyMore:hover{
  39. cursor: pointer;
  40. }
  41. }
  42. }
  43. }
  44. .statistics{
  45. .statisticsTitle{
  46. height: 50px;
  47. line-height: 50px;
  48. text-align: center;
  49. }
  50. .statisticsContent{
  51. width: 100%;
  52. box-sizing: border-box;
  53. height: calc(100vh - 300px);
  54. overflow: hidden;
  55. padding: 0px 20px;
  56. .statisticsItem{
  57. height: 40px;
  58. width: 100%;
  59. line-height: 40px;
  60. overflow: hidden;
  61. position: relative;
  62. }
  63. li:after{
  64. content: "";
  65. display: inline-block;
  66. width: 20px;
  67. height: 20px;
  68. line-height: 20px;
  69. text-align: center;
  70. color: #FFF;
  71. background: #999999;
  72. text-align: center;
  73. position: absolute;
  74. left: 0;
  75. top: 8px;
  76. }
  77. li:first-child:after {content: "1";background: #FD8C84;}
  78. li:nth-child(2):after {content: "2";background: #FFCC99;}
  79. li:nth-child(3):after {content: "3";background: #7FD75A;}
  80. li:nth-child(4):after {content: "4";background: #CCCCFF;}
  81. li:nth-child(5):after {content: "5";background: #60C4FD;}
  82. li:nth-child(6):after {content: "6";}
  83. li:nth-child(7):after {content: "7";}
  84. li:nth-child(8):after {content: "8";}
  85. li:nth-child(9):after {content: "9";}
  86. li:nth-child(10):after {content: "10";}
  87. }
  88. }
  89. .chat{
  90. flex: 1;
  91. width: 100%;
  92. // max-width: 1400px;
  93. margin: 0 auto;
  94. overflow-y: auto;
  95. display: flex;
  96. flex-direction: column;
  97. .header{
  98. height: 60px;
  99. line-height: 60px;
  100. width: 100%;
  101. text-align: center;
  102. color: #fff;
  103. background-color: #f8eaea9b;
  104. }
  105. .main{
  106. flex: 1;
  107. // background-color: #f8f8fc4c;
  108. display: flex;
  109. flex-direction: column;
  110. overflow: scroll;
  111. .chatLine {
  112. flex: 1;
  113. width: 100%;
  114. max-width: 1200px;
  115. margin: 0 auto;
  116. }
  117. .chatRow {
  118. margin: 20px 10px;
  119. display: flex;
  120. }
  121. .chatQ {
  122. justify-content: flex-end;
  123. .questionContent {
  124. max-width: 800px;
  125. display: inline-block;
  126. border-radius: 8px;
  127. padding: 6px 12px;
  128. background: #11536771;
  129. box-shadow: 0 16px 20px 0 rgba(174, 167, 223, 0.06);
  130. color: #fff;
  131. }
  132. }
  133. .answerData{
  134. max-width: 800px;
  135. display: inline-block;
  136. border-radius: 8px;
  137. padding: 6px 12px;
  138. background: #11536771;
  139. box-shadow: 0 16px 20px 0 rgba(174, 167, 223, 0.06);
  140. color: #fff;
  141. position: relative;
  142. .answer{
  143. margin: 20px 0;
  144. }
  145. }
  146. .more{
  147. border-radius: 50%;
  148. position: absolute;
  149. font-size: 1.5rem;
  150. right: -30px;
  151. bottom: 0;
  152. }
  153. .more:hover{
  154. cursor: pointer;
  155. }
  156. }
  157. .footer{
  158. width: 100%;
  159. text-align: center;
  160. .footerContent{
  161. width: 60%;
  162. margin: auto;
  163. position: relative;
  164. textarea {
  165. width: 100%;
  166. min-height: 50px;
  167. max-height: 200px;
  168. padding: 15px;
  169. box-sizing: border-box;
  170. border: 1px solid #209cc1;
  171. border-radius: 4px;
  172. color: #fff !important;
  173. background-color: #11536771;
  174. font-size: 14px;
  175. resize: none; /* 禁止用户手动调整大小 */
  176. overflow: hidden; /* 隐藏溢出内容 */
  177. transition: height 0.2s ease; /* 平滑过渡效果 */
  178. }
  179. .icon{
  180. position: absolute;
  181. right: 10px;
  182. bottom: 15px;
  183. font-size: 1.5rem;
  184. color: #fff;
  185. }
  186. }
  187. }
  188. }
  189. .dialogContent{
  190. width: 100%;
  191. height: calc(100vh - 350px);
  192. display: flex;
  193. flex-direction: row;
  194. justify-content: space-around;
  195. .contentLeft{
  196. width: 620px;
  197. height: 100%;
  198. // background-color: #cfcbcb;
  199. border-right: 1px solid #cfcbcb;
  200. .moreAnswer{
  201. font-size: 1rem;
  202. color: #fff;
  203. margin-bottom: 20px;
  204. }
  205. }
  206. .contentRight{
  207. width: calc(100% - 620px);
  208. height: 100%;
  209. .source{
  210. float: right;
  211. color: #fff;
  212. margin-bottom: 20px;
  213. }
  214. }
  215. }
  216. .statistics{
  217. .statisticsTitle{
  218. height: 50px;
  219. line-height: 50px;
  220. text-align: center;
  221. }
  222. }
  223. ::-webkit-scrollbar{
  224. display: none; //隐藏滚动条
  225. width: 5px;
  226. height: 1px;
  227. }
  228. ::-webkit-scrollbar-thumb{
  229. border-radius: 5px;
  230. background: #cfcbcb;
  231. }
  232. ::-webkit-scrollbar-track{ /*滚动条里面轨道*/
  233. border-radius: 5px;
  234. background: #ededed;
  235. }