index.scss 5.9 KB

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