AI数字人2160大机器透明背景
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.

754 lines
14 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: 40px;
  149. top: 50%;
  150. transform: translateY(-50%);
  151. }
  152. .three-chat-container{
  153. position: absolute;
  154. left: 40px;
  155. top: 10%;
  156. }
  157. .chat-message {
  158. position: relative;
  159. margin-bottom: 40px;
  160. }
  161. .message-content {
  162. display: flex;
  163. justify-content: flex-start;
  164. align-items: flex-start;
  165. }
  166. .message-avatar {
  167. width: 80px;
  168. height: 80px;
  169. margin-right: 20px;
  170. }
  171. .message-text {
  172. max-width: 40%;
  173. max-height: 184px;
  174. overflow: hidden;
  175. overflow-y: scroll;
  176. padding: 20px 32px;
  177. font-size: 28px;
  178. border-radius: 4px 24px 24px 24px;
  179. background: rgba(27,85,202,0.6);
  180. color: #fff;
  181. line-height: 40px;
  182. }
  183. /* 针对Webkit内核的浏览器隐藏滚动条 */
  184. .message-text::-webkit-scrollbar {
  185. display: none;
  186. }
  187. /* 确保滚动内容的宽度足够宽,以显示滚动条 */
  188. .message-text {
  189. scrollbar-width: none; /* Firefox */
  190. }
  191. .ai-message .message-text {
  192. background: rgba(214,230,255,0.7);
  193. color: #1A1A1A;
  194. }
  195. .loading{
  196. display: block;
  197. width: 57px;
  198. height: 28px;
  199. padding: 6px 0;
  200. }
  201. .ai-tip{
  202. /* position: absolute;
  203. top: 0;
  204. right: 0; */
  205. width: 972px;
  206. height: 257px;
  207. line-height: 257px;
  208. font-size: 30px;
  209. background: url('../images/tittle.png') no-repeat left top;
  210. background-size: 100% 100%;
  211. font-family: "DOUYU-Regular";
  212. color: #000;
  213. text-align: center;
  214. margin: -40px auto 0 auto;
  215. /* 动画持续时间 */
  216. /* animation-duration: 2s; */
  217. /* 动画立即开始 */
  218. /* animation-delay: 1s; */
  219. /* 保持最后一个动画帧的状态 */
  220. /* animation-fill-mode: forwards; */
  221. /* 无限次迭代 */
  222. /* animation-iteration-count: infinite; */
  223. }
  224. .ai-nav{
  225. position: absolute;
  226. right: 40px;
  227. top: 50%;
  228. transform: translateY(-50%);
  229. z-index: 99999;
  230. }
  231. .ai-nav li{
  232. position: relative;
  233. width: 100px;
  234. margin-bottom: 30px;
  235. font-size: 30px;
  236. font-family: "DOUYU-Regular";
  237. text-align: center;
  238. padding-top: 104px;
  239. }
  240. .ai-nav li p{
  241. width: 120px;
  242. height: 60px;
  243. line-height: 60px;
  244. text-align: center;
  245. background: rgba(27,85,202,0.6);
  246. border-radius: 36px;
  247. margin: 0 auto;
  248. }
  249. .ai-nav li span{
  250. display: block;
  251. width: 100%;
  252. padding-top: 6px;
  253. background: -webkit-linear-gradient(90deg, #FFFFFF 0%, #86CAFF 100%);
  254. background: linear-gradient(90deg, #FFFFFF 0%, #86CAFF 100%);
  255. -webkit-background-clip: text;
  256. background-clip: text;
  257. -webkit-text-fill-color: transparent;
  258. color: transparent;
  259. }
  260. .ai-nav li::before{
  261. content: "";
  262. position: absolute;
  263. top: 0;
  264. left: 10px;
  265. width: 100px;
  266. height: 100px;
  267. }
  268. .ai-nav li.nav-home::before{
  269. background: url('../images/home.webp') no-repeat left top;
  270. background-size: 100% 100%;
  271. }
  272. .ai-nav li.nav-talk::before{
  273. background: url('../images/talk.webp') no-repeat left top;
  274. background-size: 100% 100%;
  275. }
  276. .ai-nav li.talk-ing::before{
  277. background: url('../images/talk-1.webp') no-repeat left top;
  278. background-size: 100% 100%;
  279. }
  280. .ai-nav li.talk-end::before{
  281. background: url('../images/talk-2.webp') no-repeat left top;
  282. background-size: 100% 100%;
  283. }
  284. .ai-nav li.nav-help::before{
  285. background: url('../images/help.webp') no-repeat left top;
  286. background-size: 100% 100%;
  287. }
  288. .other-content{
  289. position: fixed;
  290. top: 50%;
  291. left: 40px;
  292. transform: translateY(-50%);
  293. }
  294. .book-box{
  295. position: relative;
  296. }
  297. .layer-book-box {
  298. display: none;
  299. width: 800px;
  300. /* height: 1014px; */
  301. background: url('../images/2160_3.png') no-repeat left top;
  302. background-size: 100% 100%;
  303. overflow: hidden;
  304. }
  305. .layer-header{
  306. position: relative;
  307. display: flex;
  308. justify-content: space-between;
  309. width: calc(100% - 82px);
  310. height: 80px;
  311. line-height: 80px;
  312. padding: 0 40px;
  313. margin-left: 2px;
  314. border-radius: 14px 14px 0 0;
  315. background: linear-gradient( 90deg, #5B9DFF 0%, rgba(91,157,255,0) 100%);
  316. }
  317. .layer-header h3{
  318. font-size: 40px;
  319. font-weight: 600;
  320. color: #fff;
  321. /* text-shadow: 0px 0px 20px #0B88FC, 0px 0px 35px #0B0B88, 0px 0px 51px #0B88FC; */
  322. display: -webkit-box;
  323. -webkit-box-orient: vertical;
  324. -webkit-line-clamp: 1;
  325. overflow: hidden;
  326. text-overflow: ellipsis;
  327. }
  328. .layer-closed{
  329. position: absolute;
  330. right: 40px;
  331. top: 0;
  332. width: 32px;
  333. height: 32px;
  334. background: url('../images/1080_15.png') no-repeat left top;
  335. background-size: 100% 100%;
  336. margin-top: 24px;
  337. cursor: pointer;
  338. }
  339. .mySwiper{
  340. width: 100%;
  341. height: 100%;
  342. padding-bottom: 40px;
  343. }
  344. .book-last{
  345. position: relative;
  346. display: flex;
  347. justify-content: flex-start;
  348. align-items: center;
  349. height: 44px;
  350. line-height: 46px;
  351. padding: 0 40px;
  352. }
  353. .book-result{
  354. width: 500px;
  355. font-size: 28px;
  356. color: rgba(255,255,255,0.7);
  357. }
  358. .swiper-button-prev{
  359. width: 44px;
  360. height: 44px;
  361. position: relative;
  362. left: auto;
  363. right: auto;
  364. top: auto;
  365. bottom: auto;
  366. margin-top: 1px;
  367. }
  368. .swiper-button-prev::after{
  369. content: "";
  370. width: 44px;
  371. height: 44px;
  372. background: url('../images/2160_5.png') no-repeat left center;
  373. background-size: 100% 100%;
  374. }
  375. .swiper-button-next{
  376. width: 44px;
  377. height: 44px;
  378. position: relative;
  379. left: auto;
  380. right: auto;
  381. top: auto;
  382. bottom: auto;
  383. margin-top: 1px;
  384. }
  385. .swiper-button-next::after{
  386. content: "";
  387. width: 44px;
  388. height: 44px;
  389. background: url('../images/2160_6.png') no-repeat left center;
  390. background-size: 100% 100%;
  391. }
  392. .swiper-pagination-fraction{
  393. position: static;
  394. left: auto;
  395. right: auto;
  396. top: auto;
  397. bottom: auto;
  398. flex: 1;
  399. font-size: 28px;
  400. text-align: center;
  401. color: rgba(255,255,255,0.7);
  402. }
  403. .book-wrapper{
  404. padding: 40px;
  405. }
  406. .book-info{
  407. display: flex;
  408. justify-content: space-between;
  409. margin-bottom: 20px;
  410. }
  411. .info-img{
  412. display: flex;
  413. align-items: center;
  414. width: 340px;
  415. height: 380px;
  416. background-color: #fff;
  417. }
  418. .info-img img{
  419. display: block;
  420. width: 100%;
  421. height: 100%;
  422. object-fit: contain;
  423. }
  424. .info-img img.dxh-class{
  425. display: block;
  426. width: 200px;
  427. height: 200px;
  428. margin: 0 auto;
  429. }
  430. .info-text{
  431. flex: 1;
  432. margin-left: 30px;
  433. color: #fff;
  434. font-size: 28px;
  435. line-height: 48px;
  436. }
  437. .info-text p{
  438. display: flex;
  439. justify-content: flex-start;
  440. align-items: center;
  441. }
  442. .info-text p i{
  443. display: block;
  444. width: 120px;
  445. text-align: right;
  446. }
  447. .info-text p span{
  448. display: block;
  449. flex: 1;
  450. }
  451. .info-text p:nth-child(1){
  452. font-size: 40px;
  453. line-height: 66px;
  454. height: 122px;
  455. display: -webkit-box;
  456. -webkit-box-orient: vertical;
  457. -webkit-line-clamp: 2;
  458. overflow: hidden;
  459. text-overflow: ellipsis;
  460. }
  461. .info-text p:nth-child(2){
  462. /* opacity: .7; */
  463. margin-top: 20px;
  464. }
  465. .info-text p:nth-child(2) span{
  466. text-overflow: -o-ellipsis-lastline;
  467. overflow: hidden;
  468. text-overflow: ellipsis;
  469. display: -webkit-box;
  470. -webkit-line-clamp: 1;
  471. line-clamp: 1;
  472. -webkit-box-orient: vertical;
  473. }
  474. .info-text p:nth-child(3) span{
  475. text-overflow: -o-ellipsis-lastline;
  476. overflow: hidden;
  477. text-overflow: ellipsis;
  478. display: -webkit-box;
  479. -webkit-line-clamp: 1;
  480. line-clamp: 1;
  481. -webkit-box-orient: vertical;
  482. }
  483. .info-text p.gist-content{
  484. align-items: flex-start;
  485. }
  486. .info-text p.gist-content span{
  487. max-height: 96px;
  488. overflow: hidden;
  489. overflow-y: auto;
  490. display: block;
  491. word-wrap: break-word;
  492. }
  493. .place-book{
  494. max-height: 400px;
  495. margin-bottom: 20px;
  496. overflow: hidden;
  497. overflow-y: scroll;
  498. }
  499. .place-book a{
  500. position: relative;
  501. display: block;
  502. height: 80px;
  503. line-height: 80px;
  504. padding: 0 32px;
  505. margin-bottom: 20px;
  506. font-size: 28px;
  507. color: #fff;
  508. background: rgba(27,85,202,0.6);
  509. border-radius: 24px;
  510. }
  511. .place-book a::after{
  512. content: "";
  513. position: absolute;
  514. right: 32px;
  515. top: 50%;
  516. width: 40px;
  517. height: 40px;
  518. margin-top: -20px;
  519. background: url('../images/2160_9.png') no-repeat left top;
  520. background-size: 100% 100%;
  521. transform: rotate(180deg);
  522. }
  523. .place-book a:last-child{
  524. margin-bottom: 0;
  525. }
  526. .place-book a.no-data::after{
  527. content: "";
  528. background: none;
  529. }
  530. .layer-video-box{
  531. display: none;
  532. width: 800px;
  533. height: 712px;
  534. background: url('../images/2160_3.png') no-repeat left top;
  535. background-size: 100% 100%;
  536. overflow: hidden;
  537. }
  538. .video-box{
  539. padding: 40px;
  540. width: calc(100% - 80px);
  541. height: calc(100% - 160px);
  542. }
  543. .video-box video{
  544. background-color: #000;
  545. }
  546. .layer-place-box{
  547. display: none;
  548. position: absolute;
  549. left: 0;
  550. top: 0;
  551. width: 800px;
  552. height: 1000px;
  553. background: url('../images/2160_3.png') no-repeat left top;
  554. background-size: 100% 100%;
  555. overflow: hidden;
  556. z-index: 999;
  557. }
  558. .layer-place-header{
  559. padding-left: 50px;
  560. font-size: 40px;
  561. color: #fff;
  562. height: 56px;
  563. line-height: 56px;
  564. background: url('../images/2160_9.png') no-repeat left center;
  565. background-size: 40px 40px;
  566. }
  567. .layer-place2-box{
  568. display: none;
  569. width: 800px;
  570. height: 1000px;
  571. background: url('../images/2160_3.png') no-repeat left top;
  572. background-size: 100% 100%;
  573. overflow: hidden;
  574. z-index: 999;
  575. }
  576. .map-content,
  577. .map-content2{
  578. width: calc(100% - 128px);
  579. height: calc(100% - 208px);
  580. margin: 64px;
  581. background-color: #fff;
  582. overflow: hidden;
  583. }
  584. .layer-img3-box{
  585. display: none;
  586. position: relative;
  587. width: 800px;
  588. height: 800px;
  589. overflow: hidden;
  590. z-index: 999;
  591. }
  592. .threeImg-content{
  593. width: calc(100% - 120px);
  594. height: calc(100%);
  595. overflow: hidden;
  596. }
  597. .layer-img3-box .layer-closed{
  598. right: 220px;
  599. top: -15px;
  600. background: url('../images/black-closed.png') no-repeat left top;
  601. background-size: 100% 100%;
  602. }
  603. .threeImg-info{
  604. position: absolute;
  605. top: 50%;
  606. right: 135px;
  607. display: flex;
  608. flex-direction: column;
  609. justify-content: space-between;
  610. align-items: center;
  611. background-color: rgba(0,0,0,.5);
  612. padding: 30px 20px;
  613. transform: translateY(-50%);
  614. color: #fff;
  615. border-radius: 4px;
  616. }
  617. .three-name{
  618. position: relative;
  619. font-size: 30px;
  620. line-height: 32px;
  621. padding: 6px 0 ;
  622. writing-mode: vertical-rl;
  623. text-orientation: mixed;
  624. max-height: 230px;
  625. }
  626. .three-name::before,
  627. .three-name::after{
  628. content: "";
  629. position: absolute;
  630. left: 0;
  631. width: 100%;
  632. height: 2px;
  633. background-color: #fff;
  634. }
  635. .three-name::before{
  636. top: 0;
  637. }
  638. .three-name::after{
  639. bottom: 0;
  640. }
  641. .three-size{
  642. text-align: center;
  643. font-size: 22px;
  644. margin: 20px 0;
  645. }
  646. .three-dimension{
  647. display: block;
  648. }
  649. .three-unit{
  650. position: relative;
  651. font-size: 16px;
  652. margin-top: 20px;
  653. }
  654. .three-unit::before{
  655. content: "";
  656. position: absolute;
  657. top: 0;
  658. left: 0;
  659. width: 100%;
  660. height: 1px;
  661. background-color: #fff;
  662. }
  663. .three-date{
  664. position: relative;
  665. max-width: 100px;
  666. font-size: 22px;
  667. padding: 6px 0;
  668. text-align: center;
  669. }
  670. .three-date::before{
  671. content: "";
  672. position: absolute;
  673. top: 0;
  674. left: 0;
  675. width: 100%;
  676. height: 1px;
  677. background-color: #fff;
  678. }