deepSeekHome.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. .deekSeek {
  2. width: 100%;
  3. height: 100vh;
  4. display: flex;
  5. background: #ffffff; /* 移除渐变背景,改为纯白色 */
  6. /* 主要区域 */
  7. &-main {
  8. flex: 1;
  9. display: flex;
  10. flex-direction: column;
  11. background: #ffffff;
  12. padding: 20px;
  13. box-sizing: border-box;
  14. overflow: hidden; /* 防止内容溢出 */
  15. }
  16. &-header {
  17. width: 100%;
  18. height: 60px;
  19. border: 1px solid #e8e8e8; /* 改为浅灰色边框 */
  20. background: #ffffff; /* 改为白色背景 */
  21. display: flex;
  22. color: #333333; /* 改为深灰色文字 */
  23. justify-content: center;
  24. align-items: center;
  25. overflow-x: auto;
  26. overflow-y: hidden;
  27. box-sizing: border-box;
  28. border-radius: 8px; /* 添加圆角 */
  29. margin-bottom: 20px;
  30. flex-shrink: 0; /* 防止 header 被压缩 */
  31. }
  32. &-content {
  33. flex: 1;
  34. display: flex;
  35. justify-content: center;
  36. align-items: center;
  37. flex-direction: column;
  38. background: #ffffff;
  39. min-height: 0; /* 允许内容区域收缩 */
  40. &-title {
  41. display: flex;
  42. justify-content: center;
  43. margin-bottom: 20px;
  44. flex-shrink: 0; /* 防止标题被压缩 */
  45. img {
  46. width: 200px;
  47. height: auto;
  48. }
  49. }
  50. &-title-sm {
  51. font-size: 24px;
  52. color: #333333; /* 改为深灰色文字 */
  53. font-weight: 600;
  54. margin-bottom: 30px;
  55. text-align: center;
  56. flex-shrink: 0; /* 防止副标题被压缩 */
  57. @media (max-width: 768px) {
  58. font-size: 20px;
  59. }
  60. @media (max-width: 480px) {
  61. font-size: 18px;
  62. }
  63. }
  64. &-pc {
  65. width: 100%;
  66. max-width: 800px;
  67. height: 600px;
  68. background: #ffffff;
  69. border: 1px solid #e8e8e8; /* 添加浅灰色边框 */
  70. border-radius: 12px;
  71. overflow: hidden;
  72. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  73. flex-shrink: 1; /* 允许内容区域收缩 */
  74. }
  75. &-mobile {
  76. width: 100%;
  77. height: 500px;
  78. background: #ffffff;
  79. border: 1px solid #e8e8e8; /* 添加浅灰色边框 */
  80. border-radius: 12px;
  81. overflow: hidden;
  82. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 添加轻微阴影 */
  83. flex-shrink: 1; /* 允许内容区域收缩 */
  84. }
  85. }
  86. /* 新增的输入区域样式 */
  87. &-input-section {
  88. width: 100%;
  89. max-width: 800px;
  90. margin-bottom: 30px;
  91. flex-shrink: 0;
  92. }
  93. &-input-tabs {
  94. display: flex;
  95. gap: 12px;
  96. margin-bottom: 16px;
  97. justify-content: flex-start;
  98. }
  99. &-tab-button {
  100. display: flex;
  101. align-items: center;
  102. gap: 8px;
  103. padding: 8px 16px;
  104. border-radius: 6px;
  105. font-size: 14px;
  106. font-weight: 500;
  107. transition: all 0.2s ease;
  108. border: 1px solid #e8e8e8;
  109. background: #ffffff;
  110. color: #666666;
  111. &.active {
  112. background: #1890ff;
  113. color: #ffffff;
  114. border-color: #1890ff;
  115. }
  116. &:hover:not(.active) {
  117. border-color: #1890ff;
  118. color: #1890ff;
  119. }
  120. }
  121. &-tab-icon {
  122. font-size: 16px;
  123. }
  124. &-input-container {
  125. position: relative;
  126. border: 1px solid #e8e8e8;
  127. border-radius: 8px;
  128. background: #ffffff;
  129. padding: 16px;
  130. cursor: pointer;
  131. transition: all 0.2s ease;
  132. &:hover {
  133. border-color: #1890ff;
  134. box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
  135. }
  136. }
  137. &-main-input {
  138. border: none !important;
  139. background: transparent !important;
  140. resize: none;
  141. font-size: 16px;
  142. line-height: 1.5;
  143. color: #333333;
  144. padding: 0 !important;
  145. margin-bottom: 16px;
  146. &::placeholder {
  147. color: #999999;
  148. }
  149. &:focus {
  150. box-shadow: none !important;
  151. }
  152. }
  153. &-input-actions {
  154. display: flex;
  155. justify-content: flex-end;
  156. gap: 8px;
  157. }
  158. &-clear-button {
  159. width: 32px !important;
  160. height: 32px !important;
  161. border-radius: 50% !important;
  162. display: flex !important;
  163. align-items: center !important;
  164. justify-content: center !important;
  165. background: #f5f5f5 !important;
  166. color: #666666 !important;
  167. border: none !important;
  168. transition: all 0.2s ease;
  169. &:hover {
  170. background: #e8e8e8 !important;
  171. color: #333333 !important;
  172. }
  173. }
  174. &-send-button {
  175. width: 32px !important;
  176. height: 32px !important;
  177. border-radius: 50% !important;
  178. display: flex !important;
  179. align-items: center !important;
  180. justify-content: center !important;
  181. background: #1890ff !important;
  182. color: #ffffff !important;
  183. border: none !important;
  184. transition: all 0.2s ease;
  185. &:hover {
  186. background: #40a9ff !important;
  187. }
  188. }
  189. /* 建议问题样式 */
  190. &-suggestions {
  191. display: flex;
  192. flex-wrap: wrap;
  193. gap: 12px;
  194. margin-bottom: 20px;
  195. justify-content: center;
  196. flex-shrink: 0;
  197. }
  198. &-suggestion-button {
  199. display: flex !important;
  200. align-items: center !important;
  201. gap: 8px !important;
  202. padding: 12px 16px !important;
  203. border-radius: 8px !important;
  204. background: #f8f9fa !important;
  205. border: 1px solid #e8e8e8 !important;
  206. color: #333333 !important;
  207. font-size: 14px !important;
  208. transition: all 0.2s ease !important;
  209. cursor: pointer !important;
  210. &:hover {
  211. background: #e9ecef !important;
  212. border-color: #1890ff !important;
  213. color: #1890ff !important;
  214. }
  215. }
  216. &-suggestion-icon {
  217. font-size: 16px;
  218. }
  219. &-suggestion-text {
  220. white-space: nowrap;
  221. }
  222. /* 底部提示文字 */
  223. &-footer-text {
  224. text-align: center;
  225. color: #999999;
  226. font-size: 12px;
  227. margin-top: 20px;
  228. flex-shrink: 0;
  229. }
  230. /* 返回按钮 */
  231. &-back-button {
  232. margin-top: 20px;
  233. padding: 8px 24px;
  234. border-radius: 6px;
  235. background: #1890ff;
  236. color: #ffffff;
  237. border: none;
  238. transition: all 0.2s ease;
  239. &:hover {
  240. background: #40a9ff;
  241. }
  242. }
  243. /* 响应式支持 */
  244. @media (max-width: 768px) {
  245. &-main {
  246. padding: 15px;
  247. }
  248. &-header {
  249. height: 50px;
  250. margin-bottom: 15px;
  251. }
  252. &-content {
  253. &-title {
  254. margin-bottom: 15px;
  255. img {
  256. width: 150px;
  257. }
  258. }
  259. &-title-sm {
  260. margin-bottom: 20px;
  261. }
  262. &-pc,
  263. &-mobile {
  264. height: 400px;
  265. }
  266. }
  267. &-input-section {
  268. margin-bottom: 20px;
  269. }
  270. &-input-tabs {
  271. gap: 8px;
  272. margin-bottom: 12px;
  273. }
  274. &-tab-button {
  275. padding: 6px 12px;
  276. font-size: 13px;
  277. }
  278. &-suggestions {
  279. gap: 8px;
  280. margin-bottom: 15px;
  281. }
  282. &-suggestion-button {
  283. padding: 10px 12px !important;
  284. font-size: 13px !important;
  285. }
  286. }
  287. @media (max-width: 480px) {
  288. &-main {
  289. padding: 10px;
  290. }
  291. &-header {
  292. height: 45px;
  293. margin-bottom: 10px;
  294. }
  295. &-content {
  296. &-title {
  297. margin-bottom: 10px;
  298. img {
  299. width: 120px;
  300. }
  301. }
  302. &-title-sm {
  303. margin-bottom: 15px;
  304. }
  305. &-pc,
  306. &-mobile {
  307. height: 350px;
  308. }
  309. }
  310. &-input-section {
  311. margin-bottom: 15px;
  312. }
  313. &-input-container {
  314. padding: 12px;
  315. }
  316. &-input-tabs {
  317. gap: 6px;
  318. margin-bottom: 10px;
  319. }
  320. &-tab-button {
  321. padding: 5px 10px;
  322. font-size: 12px;
  323. }
  324. &-suggestions {
  325. gap: 6px;
  326. margin-bottom: 12px;
  327. }
  328. &-suggestion-button {
  329. padding: 8px 10px !important;
  330. font-size: 12px !important;
  331. }
  332. }
  333. }