dialogGeneration.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. page{
  2. padding: 0;
  3. margin: 0;
  4. }
  5. .dialog-generation {
  6. height: 100vh;
  7. background: linear-gradient(180deg, #181c3a 0%, #2a1c3a 100%);
  8. padding: 0;
  9. margin: 0;
  10. position: relative;
  11. font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  12. background: url("../../static/makedetail/dialog-generation-bg.png") top
  13. center/100% 100% no-repeat;
  14. box-sizing: border-box;
  15. padding-top: var(--status-bar-height);
  16. padding-bottom: var(--window-bottom);
  17. box-sizing: border-box;
  18. }
  19. .subject-matter-ofText{
  20. width: 100vw;
  21. height: 100%;
  22. box-sizing: border-box;
  23. }
  24. .navbar {
  25. width: calc(100vw - 60rpx);
  26. height: 180rpx;
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. padding: 0 30rpx;
  31. // z-index: 99;
  32. // padding-top: var(--status-bar-height);
  33. .navbar-left {
  34. width: 435rpx;
  35. display: flex;
  36. align-items: center;
  37. justify-content: space-between;
  38. .back {
  39. width: 32rpx;
  40. height: 32rpx;
  41. }
  42. .elf-name {
  43. color: #fff;
  44. font-family: "CustomFont";
  45. font-size: 36rpx;
  46. transform: skewX(-5deg);
  47. }
  48. .deepseek {
  49. width: 168rpx;
  50. height: 36rpx;
  51. }
  52. }
  53. .navbar-right {
  54. width: 130rpx;
  55. display: flex;
  56. align-items: center;
  57. justify-content: space-between;
  58. .primary {
  59. width: 48rpx;
  60. height: 48rpx;
  61. }
  62. .createChat {
  63. width: 48rpx;
  64. height: 48rpx;
  65. }
  66. }
  67. }
  68. .navbar-reserveASeat {
  69. width: 100vw;
  70. height: calc(180rpx + var(--status-bar-height));
  71. }
  72. .chat-content {
  73. flex: 1;
  74. // overflow-y: auto;
  75. background: transparent;
  76. height: calc( 100% - 370rpx );
  77. width: 100vw;
  78. box-sizing: border-box;
  79. padding: 0 28rpx;
  80. }
  81. .chat-bubble {
  82. font-size: 32rpx;
  83. word-break: break-all;
  84. margin: 28rpx 0;
  85. }
  86. .chat-bubble.user {
  87. margin-left: calc( 100% - 514rpx );
  88. width: 514rpx;
  89. color: #fff;
  90. background: linear-gradient( 270deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.2 ) 100%);
  91. border-radius: 36rpx 36rpx 12rpx 36rpx;
  92. border: 1px solid rgba(255, 255, 255, 0.25);
  93. padding: 22rpx 32rpx 20rpx 34rpx;
  94. backdrop-filter: blur(10px);
  95. }
  96. .chat-bubble.ai {
  97. color: rgba(255,255,255,0.9);
  98. }
  99. .chat-bubble .chat-bubble span {
  100. color: #fff;
  101. }
  102. .bom-reserveASeat {
  103. width: 100vw;
  104. height: calc(190rpx + var(--window-bottom));
  105. }
  106. .bom-box {
  107. width: 100vw;
  108. height: calc(190rpx + var(--window-bottom));
  109. // position: fixed;
  110. bottom: 0;
  111. left: 0;
  112. padding-bottom: var(--window-bottom);
  113. box-sizing: border-box;
  114. padding-top: 30rpx;
  115. .input-bar {
  116. display: flex;
  117. min-height: 90rpx;
  118. width: 700rpx;
  119. background: rgba(255, 255, 255, 0.26);
  120. border-radius: 46rpx;
  121. border: 2rpx solid rgba(255, 255, 255, 0.25);
  122. margin: 0 25rpx;
  123. align-items: center;
  124. .input-box {
  125. flex: 1;
  126. height: 60rpx;
  127. border: none;
  128. outline: none;
  129. background: transparent;
  130. color: #fff;
  131. font-size: 30rpx;
  132. padding-left: 10rpx;
  133. }
  134. .send-btn {
  135. margin-left: 18rpx;
  136. background: linear-gradient(90deg, #ffb86c 0%, #ff6e7f 100%);
  137. color: #fff;
  138. border: none;
  139. border-radius: 32rpx;
  140. font-size: 30rpx;
  141. padding: 0 38rpx;
  142. height: 60rpx;
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. }
  147. }
  148. .footer-tip {
  149. text-align: center;
  150. color: rgba(255, 255, 255, 0.5);
  151. font-size: 24rpx;
  152. width: 100vw;
  153. padding: 20rpx 0;
  154. }
  155. }
  156. .chat-content-empty{
  157. width: 100%;
  158. height: 100%;
  159. display: flex;
  160. flex-direction: column;
  161. align-items: center;
  162. justify-content: center;
  163. image{
  164. width: 182rpx;
  165. height: 182rpx;
  166. }
  167. .chat-content-empty-title{
  168. font-family: "PingFang SC-Bold";
  169. font-weight: 400;
  170. font-size: 36rpx;
  171. color: rgba(255,255,255,0.9);
  172. padding-top: 8rpx;
  173. padding-bottom: 12rpx;
  174. }
  175. .chat-content-empty-desc{
  176. font-family:'PingFang SC-Medium';
  177. font-size: 28rpx;
  178. color: rgba(255,255,255,0.5);
  179. }
  180. }