AI数字人小屏带背景
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

647 lines
12 KiB

3 months ago
  1. /**滚动条的宽度*/
  2. ::-webkit-scrollbar {
  3. width: 8px;
  4. height: 8px;
  5. }
  6. /**滚动条的滑块*/
  7. ::-webkit-scrollbar-thumb {
  8. background-color: rgba(0,0,0,.3);
  9. border-radius: 4px;
  10. }
  11. /**只需要加上这一行*/
  12. ::-webkit-scrollbar-corner {
  13. background-color: transparent;
  14. }
  15. @font-face {
  16. font-family: "DOUYU-Regular";
  17. src: url('../fonts/斗鱼追光体.ttf');
  18. font-weight: normal;
  19. font-style: normal;
  20. }
  21. @font-face {
  22. font-family: "PingFang";
  23. src: url('../fonts/PingFang.ttc');
  24. font-weight: normal;
  25. font-style: normal;
  26. }
  27. .ai-wrapper{
  28. position: relative;
  29. width: 100vw;
  30. height: 100%;
  31. min-height: 100vh;
  32. }
  33. .ai-bg{
  34. width: 100%;
  35. height: 100%;
  36. min-height: 100vh;
  37. object-fit: cover;
  38. position: absolute;
  39. top: 0;
  40. left: 0;
  41. bottom: 0;
  42. right: 0;
  43. z-index: 3;
  44. }
  45. .page-content{
  46. position: absolute;
  47. top: 0;
  48. left: 0;
  49. width: 100%;
  50. height: 100%;
  51. z-index: 10;
  52. font-family: 'PingFang';
  53. }
  54. /* 帮助 */
  55. .layer-help-box {
  56. display: none;
  57. position: absolute;
  58. left: 50%;
  59. top: 36%;
  60. width: 672px;
  61. height: 810px;
  62. margin-left: -405px;
  63. padding: 64px;
  64. color: #fff;
  65. background: url('../images/1080_12.png') no-repeat left top;
  66. background-size: 100% 100%;
  67. overflow: hidden;
  68. }
  69. .layer-help-box h4{
  70. font-family: "DOUYU-Regular";
  71. font-size: 40px;
  72. }
  73. .help-top-text{
  74. padding: 20px 0;
  75. font-size: 28px;
  76. color: rgba(255,255,255,0.7);
  77. }
  78. .help-tip li{
  79. position: relative;
  80. display: flex;
  81. justify-content: flex-start;
  82. align-items: center;
  83. width: 576px;
  84. height: 109px;
  85. padding-left: 110px;
  86. background: url('../images/1080_1.png') no-repeat left top;
  87. background-size: 100% 100%;
  88. }
  89. .help-tip li span{
  90. display: block;
  91. flex: 1;
  92. padding-top: 10px;
  93. font-size: 32px;
  94. font-family: "DOUYU-Regular";
  95. }
  96. .help-tip li p{
  97. width: 360px;
  98. padding: 0 20px;
  99. font-size: 24px;
  100. line-height: 30px;
  101. }
  102. .help-tip li::before{
  103. content: "";
  104. position: absolute;
  105. left: 28px;
  106. top: 50%;
  107. width: 54px;
  108. height: 54px;
  109. margin-top: -27px;
  110. }
  111. .help-tip li:nth-child(1)::before{
  112. background: url('../images/1080_10.png') no-repeat left top;
  113. background-size: 100% 100%;
  114. }
  115. .help-tip li:nth-child(1){
  116. animation-delay: 1s;
  117. }
  118. .help-tip li:nth-child(2)::before{
  119. background: url('../images/1080_9.png') no-repeat left top;
  120. background-size: 100% 100%;
  121. }
  122. .help-tip li:nth-child(2){
  123. animation-delay: 1.2s;
  124. }
  125. .help-tip li:nth-child(3)::before{
  126. background: url('../images/1080_13.png') no-repeat left top;
  127. background-size: 100% 100%;
  128. }
  129. .help-tip li:nth-child(3){
  130. animation-delay: 1.4s;
  131. }
  132. .help-tip li:nth-child(4)::before{
  133. background: url('../images/1080_14.png') no-repeat left top;
  134. background-size: 100% 100%;
  135. }
  136. .help-tip li:nth-child(4){
  137. animation-delay: 1.6s;
  138. }
  139. .help-tip li:nth-child(5)::before{
  140. background: url('../images/1080_11.png') no-repeat left top;
  141. background-size: 100% 100%;
  142. }
  143. .help-tip li:nth-child(5){
  144. animation-delay: 1.8s;
  145. }
  146. .chat-container {
  147. /* position: absolute;
  148. left: 80px;
  149. top: 50%;
  150. transform: translateY(-50%); */
  151. position: absolute;
  152. left: 40px;
  153. bottom: 4%;
  154. }
  155. .chat-message {
  156. position: relative;
  157. margin-bottom: 40px;
  158. }
  159. .message-content {
  160. display: flex;
  161. justify-content: flex-start;
  162. align-items: flex-start;
  163. }
  164. .message-avatar {
  165. width: 80px;
  166. height: 80px;
  167. margin-right: 20px;
  168. }
  169. .message-text {
  170. max-width: 60%;
  171. max-height: 184px;
  172. overflow: hidden;
  173. overflow-y: scroll;
  174. padding: 20px 32px;
  175. font-size: 28px;
  176. border-radius: 4px 24px 24px 24px;
  177. background: rgba(27,85,202,0.6);
  178. color: #fff;
  179. line-height: 40px;
  180. }
  181. /* 针对Webkit内核的浏览器隐藏滚动条 */
  182. .message-text::-webkit-scrollbar {
  183. display: none;
  184. }
  185. /* 确保滚动内容的宽度足够宽,以显示滚动条 */
  186. .message-text {
  187. scrollbar-width: none; /* Firefox */
  188. }
  189. .ai-message .message-text {
  190. background: rgba(255,255,255,0.7);
  191. color: #1A1A1A;
  192. }
  193. .loading{
  194. display: block;
  195. width: 57px;
  196. height: 28px;
  197. padding: 6px 0;
  198. }
  199. .ai-tip{
  200. /* position: absolute;
  201. top: 0;
  202. right: 0; */
  203. width: 972px;
  204. height: 257px;
  205. line-height: 257px;
  206. font-size: 30px;
  207. background: url('../images/tittle.png') no-repeat left top;
  208. background-size: 100% 100%;
  209. font-family: "DOUYU-Regular";
  210. color: #fff;
  211. text-align: center;
  212. margin: -40px auto 0 auto;
  213. /* 动画持续时间 */
  214. /* animation-duration: 2s; */
  215. /* 动画立即开始 */
  216. /* animation-delay: 1s; */
  217. /* 保持最后一个动画帧的状态 */
  218. /* animation-fill-mode: forwards; */
  219. /* 无限次迭代 */
  220. /* animation-iteration-count: infinite; */
  221. }
  222. .ai-nav{
  223. position: absolute;
  224. right: 40px;
  225. top: 50%;
  226. transform: translateY(-50%);
  227. z-index: 99999;
  228. }
  229. .ai-nav li{
  230. position: relative;
  231. width: 100px;
  232. margin-bottom: 30px;
  233. font-size: 36px;
  234. font-family: "DOUYU-Regular";
  235. text-align: center;
  236. padding-top: 104px;
  237. }
  238. /* .ai-nav li p{
  239. width: 100px;
  240. height: 100px;
  241. line-height: 100px;
  242. text-align: center;
  243. background: rgba(27,85,202,0.6);
  244. border-radius: 27px;
  245. margin: 0 auto;
  246. } */
  247. .ai-nav li span{
  248. display: block;
  249. width: 100%;
  250. padding-top: 10px;
  251. background: -webkit-linear-gradient(90deg, #FFFFFF 0%, #86CAFF 100%);
  252. background: linear-gradient(90deg, #FFFFFF 0%, #86CAFF 100%);
  253. -webkit-background-clip: text;
  254. background-clip: text;
  255. -webkit-text-fill-color: transparent;
  256. color: transparent;
  257. }
  258. .ai-nav li::before{
  259. content: "";
  260. position: absolute;
  261. top: 0;
  262. left: 0;
  263. width: 100px;
  264. height: 100px;
  265. }
  266. .ai-nav li.nav-home::before{
  267. background: url('../images/home.webp') no-repeat left top;
  268. background-size: 100% 100%;
  269. }
  270. .ai-nav li.nav-talk::before{
  271. background: url('../images/talk.webp') no-repeat left top;
  272. background-size: 100% 100%;
  273. }
  274. .ai-nav li.talk-ing::before{
  275. background: url('../images/talk-1.webp') no-repeat left top;
  276. background-size: 100% 100%;
  277. }
  278. .ai-nav li.talk-end::before{
  279. background: url('../images/talk-2.webp') no-repeat left top;
  280. background-size: 100% 100%;
  281. }
  282. .ai-nav li.nav-help::before{
  283. background: url('../images/help.webp') no-repeat left top;
  284. background-size: 100% 100%;
  285. }
  286. .other-content{
  287. position: fixed;
  288. top: 50%;
  289. left: 40px;
  290. transform: translateY(-50%);
  291. }
  292. .book-box{
  293. position: relative;
  294. }
  295. .layer-book-box {
  296. display: none;
  297. width: 800px;
  298. /* height: 1014px; */
  299. background: url('../images/2160_3.png') no-repeat left top;
  300. background-size: 100% 100%;
  301. overflow: hidden;
  302. }
  303. .layer-header{
  304. position: relative;
  305. display: flex;
  306. justify-content: space-between;
  307. width: calc(100% - 82px);
  308. height: 80px;
  309. line-height: 80px;
  310. padding: 0 40px;
  311. margin-left: 2px;
  312. border-radius: 14px 14px 0 0;
  313. background: linear-gradient( 90deg, #5B9DFF 0%, rgba(91,157,255,0) 100%);
  314. }
  315. .layer-header h3{
  316. font-size: 40px;
  317. font-weight: 600;
  318. color: #fff;
  319. text-shadow: 0px 0px 20px #0B88FC, 0px 0px 35px #0B0B88, 0px 0px 51px #0B88FC;
  320. display: -webkit-box;
  321. -webkit-box-orient: vertical;
  322. -webkit-line-clamp: 1;
  323. overflow: hidden;
  324. text-overflow: ellipsis;
  325. }
  326. .layer-closed{
  327. position: absolute;
  328. right: 40px;
  329. top: 0;
  330. width: 32px;
  331. height: 32px;
  332. background: url('../images/1080_15.png') no-repeat left top;
  333. background-size: 100% 100%;
  334. margin-top: 24px;
  335. cursor: pointer;
  336. }
  337. .mySwiper{
  338. width: 100%;
  339. height: 100%;
  340. padding-bottom: 40px;
  341. }
  342. .book-last{
  343. position: relative;
  344. display: flex;
  345. justify-content: flex-start;
  346. align-items: center;
  347. height: 44px;
  348. line-height: 46px;
  349. padding: 0 40px;
  350. }
  351. .book-result{
  352. width: 500px;
  353. font-size: 28px;
  354. color: rgba(255,255,255,0.7);
  355. }
  356. .swiper-button-prev{
  357. width: 44px;
  358. height: 44px;
  359. position: relative;
  360. left: auto;
  361. right: auto;
  362. top: auto;
  363. bottom: auto;
  364. margin-top: 1px;
  365. }
  366. .swiper-button-prev::after{
  367. content: "";
  368. width: 44px;
  369. height: 44px;
  370. background: url('../images/2160_5.png') no-repeat left center;
  371. background-size: 100% 100%;
  372. }
  373. .swiper-button-next{
  374. width: 44px;
  375. height: 44px;
  376. position: relative;
  377. left: auto;
  378. right: auto;
  379. top: auto;
  380. bottom: auto;
  381. margin-top: 1px;
  382. }
  383. .swiper-button-next::after{
  384. content: "";
  385. width: 44px;
  386. height: 44px;
  387. background: url('../images/2160_6.png') no-repeat left center;
  388. background-size: 100% 100%;
  389. }
  390. .swiper-pagination-fraction{
  391. position: static;
  392. left: auto;
  393. right: auto;
  394. top: auto;
  395. bottom: auto;
  396. flex: 1;
  397. font-size: 28px;
  398. text-align: center;
  399. color: rgba(255,255,255,0.7);
  400. }
  401. .book-wrapper{
  402. padding: 40px;
  403. }
  404. .book-info{
  405. display: flex;
  406. justify-content: space-between;
  407. margin-bottom: 20px;
  408. }
  409. .info-img{
  410. display: flex;
  411. align-items: center;
  412. width: 340px;
  413. height: 380px;
  414. background-color: #fff;
  415. }
  416. .info-img img{
  417. display: block;
  418. width: 100%;
  419. height: 100%;
  420. object-fit: contain;
  421. }
  422. .info-img img.dxh-class{
  423. display: block;
  424. width: 200px;
  425. height: 200px;
  426. margin: 0 auto;
  427. }
  428. .info-text{
  429. flex: 1;
  430. margin-left: 30px;
  431. color: #fff;
  432. font-size: 28px;
  433. line-height: 48px;
  434. }
  435. .info-text p{
  436. display: flex;
  437. justify-content: flex-start;
  438. align-items: center;
  439. }
  440. .info-text p i{
  441. display: block;
  442. width: 120px;
  443. text-align: right;
  444. }
  445. .info-text p span{
  446. display: block;
  447. flex: 1;
  448. }
  449. .info-text p:nth-child(1){
  450. font-size: 40px;
  451. line-height: 66px;
  452. height: 122px;
  453. display: -webkit-box;
  454. -webkit-box-orient: vertical;
  455. -webkit-line-clamp: 2;
  456. overflow: hidden;
  457. text-overflow: ellipsis;
  458. }
  459. .info-text p:nth-child(2){
  460. /* opacity: .7; */
  461. margin-top: 20px;
  462. }
  463. .info-text p:nth-child(2) span{
  464. text-overflow: -o-ellipsis-lastline;
  465. overflow: hidden;
  466. text-overflow: ellipsis;
  467. display: -webkit-box;
  468. -webkit-line-clamp: 1;
  469. line-clamp: 1;
  470. -webkit-box-orient: vertical;
  471. }
  472. .info-text p:nth-child(3) span{
  473. text-overflow: -o-ellipsis-lastline;
  474. overflow: hidden;
  475. text-overflow: ellipsis;
  476. display: -webkit-box;
  477. -webkit-line-clamp: 1;
  478. line-clamp: 1;
  479. -webkit-box-orient: vertical;
  480. }
  481. .info-text p.gist-content{
  482. align-items: flex-start;
  483. }
  484. .info-text p.gist-content span{
  485. max-height: 96px;
  486. overflow: hidden;
  487. overflow-y: auto;
  488. display: block;
  489. word-wrap: break-word;
  490. }
  491. .place-book{
  492. max-height: 400px;
  493. margin-bottom: 20px;
  494. overflow: hidden;
  495. overflow-y: scroll;
  496. }
  497. .place-book a{
  498. position: relative;
  499. display: block;
  500. height: 80px;
  501. line-height: 80px;
  502. padding: 0 32px;
  503. margin-bottom: 20px;
  504. font-size: 28px;
  505. color: #fff;
  506. background: rgba(27,85,202,0.6);
  507. border-radius: 24px;
  508. }
  509. .place-book a::after{
  510. content: "";
  511. position: absolute;
  512. right: 32px;
  513. top: 50%;
  514. width: 40px;
  515. height: 40px;
  516. margin-top: -20px;
  517. background: url('../images/2160_9.png') no-repeat left top;
  518. background-size: 100% 100%;
  519. transform: rotate(180deg);
  520. }
  521. .place-book a:last-child{
  522. margin-bottom: 0;
  523. }
  524. .place-book a.no-data::after{
  525. content: "";
  526. background: none;
  527. }
  528. .layer-video-box{
  529. display: none;
  530. width: 800px;
  531. height: 712px;
  532. background: url('../images/2160_3.png') no-repeat left top;
  533. background-size: 100% 100%;
  534. overflow: hidden;
  535. }
  536. .video-box{
  537. padding: 40px;
  538. width: calc(100% - 80px);
  539. height: calc(100% - 160px);
  540. }
  541. .video-box video{
  542. background-color: #000;
  543. }
  544. .layer-place-box{
  545. display: none;
  546. position: absolute;
  547. left: 0;
  548. top: 0;
  549. width: 800px;
  550. height: 1000px;
  551. background: url('../images/2160_3.png') no-repeat left top;
  552. background-size: 100% 100%;
  553. overflow: hidden;
  554. z-index: 999;
  555. }
  556. .layer-place-header{
  557. padding-left: 50px;
  558. font-size: 40px;
  559. color: #fff;
  560. height: 56px;
  561. line-height: 56px;
  562. background: url('../images/2160_9.png') no-repeat left center;
  563. background-size: 40px 40px;
  564. }
  565. .layer-place2-box{
  566. display: none;
  567. width: 800px;
  568. height: 1000px;
  569. background: url('../images/2160_3.png') no-repeat left top;
  570. background-size: 100% 100%;
  571. overflow: hidden;
  572. z-index: 999;
  573. }
  574. .map-content,
  575. .map-content2{
  576. width: calc(100% - 128px);
  577. height: calc(100% - 208px);
  578. margin: 64px;
  579. background-color: #fff;
  580. overflow: hidden;
  581. }