飞天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.

486 lines
8.4 KiB

11 months ago
  1. .contanier{
  2. width: 100%;
  3. height: calc(100vh);
  4. background: url('../images/bg.gif') no-repeat top left;
  5. background-size: cover;
  6. overflow: hidden;
  7. }
  8. .return {
  9. position: fixed;
  10. bottom: 50%;
  11. right: 20px;
  12. width: 1.25rem;
  13. height: 1.25rem;
  14. border-radius: 100%;
  15. text-align: center;
  16. font-size: .375rem;
  17. line-height: 1.25rem;
  18. background-color: yellow;
  19. font-weight: bold;
  20. color: #000;
  21. z-index: 9999;
  22. cursor: pointer;
  23. }
  24. /* nav部分 */
  25. .flex-container {
  26. position: relative;
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. justify-items: center;
  31. margin: 30px;
  32. z-index: 99;
  33. }
  34. .flex-container .flex-middle{
  35. width: 500px;
  36. height: 400px;
  37. line-height: 400px;
  38. text-align: center;
  39. color: #fff;
  40. font-size: .25rem;
  41. font-weight: bold;
  42. border: 1px solid #fff;
  43. }
  44. .flex-container ul {
  45. position: relative;
  46. display: flex;
  47. flex-wrap: wrap;
  48. flex-direction: row;
  49. width: calc((100% - 600px) / 2);
  50. height: 400px;
  51. }
  52. /* .flex-container ul.flex-left {
  53. position: relative;
  54. border: 1px solid red;
  55. } */
  56. .flex-container ul.flex-left li:nth-child(1) {
  57. position: absolute;
  58. left: 0;
  59. top: 0;
  60. }
  61. .flex-container ul.flex-left li:nth-child(2) {
  62. position: absolute;
  63. left: 0;
  64. top: 140px;
  65. animation-delay: .3s;
  66. }
  67. .flex-container ul.flex-left li:nth-child(3) {
  68. position: absolute;
  69. left: 0;
  70. top: 280px;
  71. animation-delay: .6s;
  72. }
  73. .flex-container ul.flex-right li:nth-child(1) {
  74. position: absolute;
  75. right: 0;
  76. top: 0;
  77. }
  78. .flex-container ul.flex-right li:nth-child(2) {
  79. position: absolute;
  80. right: 0;
  81. top: 140px;
  82. animation-delay: .3s;
  83. }
  84. .flex-container ul.flex-right li:nth-child(3) {
  85. position: absolute;
  86. right: 0;
  87. top: 280px;
  88. animation-delay: .6s;
  89. }
  90. .flex-container ul li{
  91. display: flex;
  92. justify-content: center;
  93. align-items: center;
  94. width: 100%;
  95. height: 1.25rem;
  96. line-height: 1.25rem;
  97. text-align: center;
  98. color: #fff;
  99. font-size: .25rem;
  100. font-weight: bold;
  101. background-color: rgb(0, 174, 255);
  102. border: 1px solid #000;
  103. cursor: pointer;
  104. }
  105. .flex-container ul li img{
  106. display: block;
  107. margin-left: .375rem;
  108. height: .625rem;
  109. }
  110. .flex-item-link img.active{
  111. position: fixed;
  112. top: 50%;
  113. left: -50%;
  114. width: 400px;
  115. height: 400px;
  116. margin: -200px 0 0 -200px;
  117. }
  118. .flex-container ul li a{
  119. display: block;
  120. }
  121. /* pdf预览 */
  122. .pdfobject-container {
  123. position: fixed;
  124. top: 0;
  125. left: 0;
  126. width: calc(100vw);
  127. height: calc(100vh);
  128. z-index: 999;
  129. }
  130. .chat-wrapper {
  131. position: relative;
  132. width: 10rem;
  133. height: 10rem;
  134. margin: .375rem auto;
  135. background-color: #fff;
  136. border-radius: .125rem;
  137. z-index: 99;
  138. }
  139. .chat-content {
  140. width: 100%;
  141. height: calc(100% - 2.5rem);
  142. overflow: hidden;
  143. overflow-y: scroll;
  144. }
  145. .chat-message {
  146. display: flex;
  147. justify-content: flex-end;
  148. margin: .125rem;
  149. padding: .125rem;
  150. line-height: .5rem;
  151. font-size: .25rem;
  152. color: #000;
  153. }
  154. .chat-message p {
  155. position: relative;
  156. line-height: .5rem;
  157. padding: 0 .125rem;
  158. margin-right: .125rem;
  159. background-color: burlywood;
  160. border-radius: .05rem;
  161. }
  162. .chat-message p span{
  163. position: absolute;
  164. left: 0;
  165. bottom: -0.45rem;
  166. width: 1rem;
  167. height: .375rem;
  168. text-align: center;
  169. line-height: .375rem;
  170. border: 1px solid #000;
  171. border-radius: .05rem;
  172. font-size: .175rem;
  173. cursor: pointer;
  174. }
  175. .chat-message p span:hover{
  176. background-color: #999;
  177. }
  178. .chat-message p span.remove-btn{
  179. border: none;
  180. color: #999;
  181. }
  182. .chat-message p span.remove-btn:hover{
  183. background-color: #fff;
  184. }
  185. .chat-message img {
  186. display: block;
  187. width: .5rem;
  188. height: .5rem;
  189. border-radius: 50%;
  190. }
  191. .bot-message {
  192. display: flex;
  193. flex-direction: row-reverse;
  194. justify-content: flex-end;
  195. }
  196. .bot-message p {
  197. margin-left: .125rem;
  198. background-color: rgb(0, 209, 112);
  199. }
  200. .loading{
  201. position: relative;
  202. }
  203. .loading img {
  204. display: block;
  205. width: .25rem;
  206. height: .25rem;
  207. margin-top: .125rem;
  208. animation: rotate 2s linear infinite;
  209. }
  210. @keyframes rotate {
  211. from {
  212. transform: rotate(0deg);
  213. }
  214. to {
  215. transform: rotate(360deg);
  216. }
  217. }
  218. .chat-send {
  219. width: 100%;
  220. height: 2.5rem;
  221. background-color: #fff;
  222. border-radius: .125rem;
  223. }
  224. .chat-send textarea {
  225. display: block;
  226. width: calc(100% - .5rem);
  227. height: 1.25rem;
  228. font-size: .3rem;
  229. line-height: .375rem;
  230. border: none;
  231. padding: .25rem;
  232. background-color: #e4e4e4;
  233. }
  234. .send-button-container {
  235. text-align: right;
  236. }
  237. .send-button {
  238. margin: .125rem .25rem 0 0;
  239. padding: 0 .25rem;
  240. line-height: .5rem;
  241. font-size: .325rem;
  242. color: #000;
  243. }
  244. .send-disabled-button {
  245. color: #7c7c7c;
  246. }
  247. .scene-wrapper{
  248. position: relative;
  249. display: flex;
  250. justify-content: space-around;
  251. flex-wrap: wrap;
  252. width: calc(100vw - .525rem);
  253. height: calc(100vh - .525rem);
  254. padding: .25rem;
  255. z-index: 99;
  256. }
  257. .scene-item{
  258. display: flex;
  259. flex-direction: column;
  260. align-self: center;
  261. width: calc(100% / 3 - .525rem);
  262. margin: .25rem;
  263. }
  264. .scene-item img{
  265. display: block;
  266. width: 2.5rem;
  267. height: 2.5rem;
  268. margin: 0 auto;
  269. }
  270. .scene-item p{
  271. margin-top: .25rem;
  272. font-size: .3rem;
  273. color: #fff;
  274. text-align: center;
  275. }
  276. /* 菜单3D */
  277. .show-nav{
  278. position: relative;
  279. width: 1000px;
  280. height: 460px;
  281. display: flex;
  282. justify-content: center;
  283. align-items: center;
  284. margin: 0 auto;
  285. z-index: 99;
  286. }
  287. #showcase {
  288. width: 100%;
  289. height: 360px;
  290. /* border-radius: 8px; */
  291. position: absolute;
  292. transform-style: preserve-3d;
  293. transition: transform 1s;
  294. }
  295. .menu-item{
  296. position: absolute;
  297. width: 240px;
  298. height: 240px;
  299. border-radius: 100%;
  300. background-color: #fff;
  301. text-align: center;
  302. line-height: 240px;
  303. font-size: 26px;
  304. font-weight: bold;
  305. color: #000;
  306. cursor: pointer;
  307. }
  308. /*
  309. .a {
  310. transform: rotateY(0deg);
  311. background: #ed1c24;
  312. }
  313. .b {
  314. transform: rotateY(60deg);
  315. background: #0072bc;
  316. }
  317. .c {
  318. transform: rotateY(120deg);
  319. background: #39b54a;
  320. }
  321. .d {
  322. transform: rotateY(180deg);
  323. background: #f26522;
  324. }
  325. .e {
  326. transform: rotateY(240deg);
  327. background: #630460;
  328. }
  329. .f {
  330. transform: rotateY(300deg);
  331. background: #8c6239;
  332. }
  333. */
  334. #nav {
  335. margin-top: 10px;
  336. text-align: center;
  337. }
  338. #nav > button {
  339. width: 64px;
  340. height: 36px;
  341. color: #666;
  342. font: bold 16px arial;
  343. text-align: center;
  344. margin: 5px;
  345. text-shadow: 0px 1px 0px #f5f5f5;
  346. background: #f6f6f6;
  347. border: solid 2px rgba(0, 0, 0, 0.4);
  348. -webkit-border-radius: 5px;
  349. -moz-border-radius: 5px;
  350. border-radius: 5px;
  351. -webkit-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
  352. -moz-box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
  353. box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.4);
  354. cursor: pointer;
  355. }
  356. #nav > button:active,
  357. #nav > button.down {
  358. background: #dfdfdf;
  359. border: solid 2px rgba(0, 0, 0, 0.6);
  360. box-shadow: none;
  361. }
  362. .container {
  363. width: 250px;
  364. height: 200px;
  365. position: relative;
  366. perspective: 1000px;
  367. }
  368. .carousel {
  369. height: 100%;
  370. width: 100%;
  371. position: absolute;
  372. transform-style: preserve-3d;
  373. transition: transform 1s;
  374. }
  375. .item {
  376. display: block;
  377. position: absolute;
  378. background: #000;
  379. width: 250px;
  380. height: 200px;
  381. line-height: 200px;
  382. font-size: .375rem;
  383. text-align: center;
  384. color: #FFF;
  385. opacity: 0.95;
  386. border-radius: 10px;
  387. cursor: pointer;
  388. }
  389. .item a{
  390. /* display: block; */
  391. }
  392. .a {
  393. transform: rotateY(0deg) translateZ(250px);
  394. background: #ed1c24;
  395. }
  396. .b {
  397. transform: rotateY(60deg) translateZ(250px);
  398. background: #0072bc;
  399. }
  400. .c {
  401. transform: rotateY(120deg) translateZ(250px);
  402. background: #39b54a;
  403. }
  404. .d {
  405. transform: rotateY(180deg) translateZ(250px);
  406. background: #f26522;
  407. }
  408. .e {
  409. transform: rotateY(240deg) translateZ(250px);
  410. background: #630460;
  411. }
  412. .f {
  413. transform: rotateY(300deg) translateZ(250px);
  414. background: #8c6239;
  415. }
  416. .next, .prev {
  417. color: #444;
  418. position: absolute;
  419. top: 50%;
  420. padding: 15px 30px;
  421. cursor: pointer;
  422. background: #CCC;
  423. border-radius: 5px;
  424. border-top: 1px solid #FFF;
  425. box-shadow: 0 5px 0 #999;
  426. transition: box-shadow 0.1s, top 0.1s;
  427. z-index: 999;
  428. }
  429. .next:hover, .prev:hover { color: #000; }
  430. .next:active, .prev:active {
  431. top: 51%;
  432. box-shadow: 0 1px 0 #999;
  433. }
  434. .next { right: .75rem; }
  435. .prev { left: .75rem; }