page-test.component.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. // AI禁忌事项
  2. .page {
  3. background-color: #f2f2f2;
  4. height: calc(100% - 114px);
  5. width: 100vw;
  6. overflow-y: scroll;
  7. }
  8. .footer {
  9. position: fixed;
  10. bottom: 60px;
  11. width: 100vw;
  12. }
  13. .chat-container {
  14. padding: 10px;
  15. }
  16. .message-container {
  17. display: flex;
  18. align-items: flex-start;
  19. margin-bottom: 10px;
  20. }
  21. .message-container-mine {
  22. display: flex;
  23. align-items: flex-start;
  24. margin-bottom: 10px;
  25. flex-direction: row-reverse;
  26. }
  27. .avatar-left {
  28. width: 40px;
  29. height: 40px;
  30. border-radius: 50%;
  31. margin-right: 10px;
  32. }
  33. .avatar-right {
  34. width: 40px;
  35. height: 40px;
  36. border-radius: 50%;
  37. margin-left: 10px;
  38. }
  39. .message-box-left {
  40. background-color: #fff;
  41. border-radius: 10px;
  42. padding: 10px;
  43. max-width: 70%;
  44. }
  45. .message-box-right {
  46. background-color: #95ec69;
  47. border-radius: 10px;
  48. padding: 10px;
  49. max-width: 70%;
  50. }
  51. .message-content {
  52. word-wrap: break-word;
  53. }
  54. .send-container {
  55. display: flex;
  56. align-items: center;
  57. padding: 10px;
  58. background-color: #f2f2f2;
  59. }
  60. .message-input {
  61. flex: 1;
  62. padding: 8px;
  63. border: none;
  64. border-radius: 20px;
  65. background-color: #fff;
  66. }
  67. .send-button {
  68. padding: 8px 15px;
  69. border: none;
  70. border-radius: 20px;
  71. background-color: #38c1f5;
  72. color: white;
  73. font-weight: bold;
  74. cursor: pointer;
  75. margin-left: 10px;
  76. }
  77. .navfooter {
  78. width: 100%;
  79. height: 120px;
  80. }
  81. .question {
  82. font-weight: bold;
  83. margin-bottom: 10px;
  84. }
  85. .question-label {
  86. font-size: 18px;
  87. }
  88. .option {
  89. margin-bottom: 8px;
  90. }
  91. .option-label {
  92. font-size: 16px;
  93. }