iphonex.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. @import 'mixin.scss';
  2. .iphonex-wrapper{
  3. position: fixed;
  4. display: flex;
  5. justify-content: center;
  6. align-items: center;
  7. z-index: 10;
  8. top: 0;
  9. left: 0;
  10. right: 0;
  11. bottom: 0;
  12. overflow: hidden;
  13. background-color: #ffffff;
  14. color: #000000;
  15. .iphone-pic{
  16. width: px2rem(194);
  17. }
  18. .down-iphone-pic {
  19. display: none;
  20. width: px2rem(460);
  21. margin-top: px2rem(70);
  22. }
  23. .img-box{
  24. img{
  25. position: absolute;
  26. top: 50%;
  27. left: 50%;
  28. transform: translate(-50%, -50%);
  29. }
  30. height: px2rem(386);
  31. position: relative;
  32. text-align: center;
  33. }
  34. .arrow{
  35. display: block;
  36. cursor: pointer;
  37. width: px2rem(50);
  38. margin: px2rem(40) auto 0 auto;
  39. animation: jump 1.4s ease-in-out 1500ms infinite;
  40. }
  41. .arrow-tips{
  42. margin-top: px2rem(120);
  43. animation: jump 1.4s ease-in-out 1500ms infinite;
  44. }
  45. h3{
  46. text-align: center;
  47. font-size: px2rem(36);
  48. margin-top: px2rem(16);
  49. margin-bottom: px2rem(30);
  50. }
  51. p{
  52. text-align: center;
  53. font-size: px2rem(26);
  54. margin-bottom: px2rem(22);
  55. }
  56. }
  57. .fade-In{
  58. opacity: 0;
  59. }
  60. .delay-300 {
  61. animation-delay: 600ms;
  62. }
  63. .delay-600 {
  64. animation-delay: 900ms;
  65. }
  66. .delay-900 {
  67. animation-delay: 1200ms;
  68. }
  69. .delay-1200 {
  70. animation-delay: 1500ms;
  71. }
  72. .delay-1500 {
  73. animation-delay: 1800ms;
  74. }
  75. @keyframes jump {
  76. 0% {
  77. transform: translateY(0);
  78. opacity: 1;
  79. }
  80. 50% {
  81. transform: translateY(15px);
  82. opacity: 1;
  83. }
  84. 100% {
  85. transform: translateY(0);
  86. opacity: 1;
  87. }
  88. }
  89. .full-video{
  90. position: fixed;
  91. z-index: 1999;
  92. top: 0;
  93. left: 0;
  94. right: 0;
  95. bottom: 0;
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. background-color: #000;
  100. video{
  101. width: 100%;
  102. }
  103. }
  104. .logo-wrap{
  105. position: fixed;
  106. top: 0;
  107. left: px2rem(40);
  108. }
  109. .vr-logo{
  110. float: left;
  111. width: px2rem(140);
  112. }
  113. .xingshijie-logo{
  114. float: left;
  115. width: px2rem(140);
  116. }
  117. .video-next-btn{
  118. position: absolute;
  119. right: px2rem(30);
  120. bottom: px2rem(30);
  121. width: px2rem(100);
  122. height: px2rem(40);
  123. line-height: px2rem(40);
  124. text-align: center;
  125. cursor: pointer;
  126. border-radius: 4px;
  127. border: 1px solid #000000;
  128. background-color: rgba($color: #ffffff, $alpha: .8);
  129. font-size: px2rem(24);
  130. color: #000000;
  131. }
  132. .pub-swiper-box{
  133. display: none;
  134. position: absolute;
  135. z-index: 99;
  136. top: 0;
  137. left: 0;
  138. right: 0;
  139. bottom: 0;
  140. background-color: #ffffff;
  141. }
  142. .p1-swiper-title{
  143. text-align: center;
  144. color: #333333;
  145. font-size: px2rem(52);
  146. padding-top: px2rem(160);
  147. margin-bottom: px2rem(44);
  148. font-weight: bold;
  149. }
  150. .p1-swiper-text{
  151. text-align: center;
  152. color: #333333;
  153. font-size: px2rem(26);
  154. line-height: 1.8;
  155. }
  156. .camera-swiper {
  157. .modal-left-img{
  158. display: block;
  159. position: relative;
  160. left: 0;
  161. width: px2rem(475);
  162. overflow: hidden;
  163. }
  164. .p1{
  165. background: url('../img/m/faceId-pic3.jpg') center center no-repeat;
  166. background-size: px2rem(750) auto;
  167. }
  168. .p2{
  169. .video-border-box{
  170. position: absolute;
  171. top: px2rem(120);
  172. left: px2rem(350);
  173. width: px2rem(352);
  174. height: px2rem(700);
  175. padding: px2rem(20);
  176. box-sizing: border-box;
  177. video{
  178. width: px2rem(312);
  179. height: px2rem(660);
  180. }
  181. .video-border{
  182. position: absolute;
  183. top: 0;
  184. left: 0;
  185. width: px2rem(352);
  186. height: px2rem(700);
  187. background: url('../img/ipx-border.png') center center no-repeat;
  188. background-size: 100%;
  189. }
  190. }
  191. .swiper-poster{
  192. position: relative;
  193. cursor: pointer;
  194. img{
  195. width: 100%;
  196. vertical-align: middle;
  197. }
  198. span{
  199. position: absolute;
  200. z-index: 10;
  201. left: 50%;
  202. transform: translateX(-50%);
  203. bottom: px2rem(25);
  204. color: #ffffff;
  205. height: px2rem(30);
  206. line-height: px2rem(30);
  207. font-size: px2rem(16);
  208. }
  209. .watch-icon{
  210. display: inline-block;
  211. margin-left: px2rem(4);
  212. width: px2rem(20);
  213. height: px2rem(20);
  214. background: url('../img/watch-icon.png') no-repeat;
  215. background-size: 100%;
  216. vertical-align: middle;
  217. }
  218. &:hover{
  219. span{
  220. text-decoration: underline;
  221. }
  222. &:after{
  223. opacity: 1;
  224. }
  225. }
  226. &:after{
  227. content: '';
  228. opacity: 0;
  229. position: absolute;
  230. top: 0;
  231. left: 0;
  232. right: 0;
  233. bottom: 0;
  234. background-color: rgba($color: #000000, $alpha: .4);
  235. transition: .4s all ease-in-out;
  236. }
  237. }
  238. }
  239. .p3{
  240. img{
  241. display: block;
  242. width: px2rem(750);
  243. }
  244. }
  245. .p2{
  246. img{
  247. display: block;
  248. width: px2rem(360);
  249. margin: px2rem(36) auto;
  250. }
  251. }
  252. .p2-side{
  253. margin-top: px2rem(50);
  254. margin-left: px2rem(70);
  255. width: px2rem(500);
  256. .title{
  257. color: #000000;
  258. font-weight: bold;
  259. font-size: px2rem(52);
  260. }
  261. .text{
  262. margin: px2rem(30) 0;
  263. color: #000000;
  264. font-size: px2rem(26);
  265. line-height: 1.7;
  266. }
  267. }
  268. .p3-info{
  269. width: px2rem(640);
  270. margin: px2rem(200) auto px2rem(28) auto;
  271. h3{
  272. font-size: px2rem(52);
  273. font-weight: bold;
  274. color: #000000;
  275. line-height: 1.5;
  276. }
  277. p{
  278. color: #000000;
  279. font-size: px2rem(26);
  280. line-height: 1.6;
  281. margin-top: px2rem(10);
  282. }
  283. }
  284. .p3-video{
  285. position: absolute;
  286. top: px2rem(280);
  287. left: px2rem(510);
  288. width: px2rem(900);
  289. video{
  290. width: 100%;
  291. }
  292. .reset-video-btn{
  293. margin: px2rem(10) 0;
  294. }
  295. }
  296. }
  297. .swiper-slide{
  298. box-sizing: border-box;
  299. }
  300. .screen-swiper {
  301. .p1{
  302. .p1-swiper-title{
  303. padding-top: px2rem(40);
  304. }
  305. img{
  306. display: block;
  307. width: px2rem(740);
  308. margin: px2rem(100) auto 0 auto;
  309. }
  310. }
  311. .p2{
  312. padding-top: px2rem(100);
  313. .p1-swiper-text{
  314. text-align: center;
  315. }
  316. .p1-swiper-title{
  317. font-size: px2rem(40);
  318. }
  319. img{
  320. display: block;
  321. width: px2rem(700);
  322. margin: px2rem(100) auto 0 auto;
  323. }
  324. }
  325. .p3{
  326. .bottom-info{
  327. width: 100%;
  328. margin-top: px2rem(20);
  329. }
  330. .left-side{
  331. float: left;
  332. p{
  333. padding-left: px2rem(20);
  334. font-size: px2rem(28);
  335. color: #000000;
  336. margin: px2rem(15) 0;
  337. }
  338. }
  339. .right-side{
  340. float: right;
  341. font-size: px2rem(18);
  342. color: #000000;
  343. line-height: 1.7;
  344. width: px2rem(450);
  345. margin-right: px2rem(10);
  346. }
  347. }
  348. .p4{
  349. padding-top: px2rem(200);
  350. .p1-swiper-title{
  351. padding-top: 0;
  352. margin: 0 auto;
  353. text-align: left;
  354. margin-bottom: px2rem(16);
  355. padding-left: px2rem(20);
  356. }
  357. .p1-swiper-text {
  358. margin: 0 auto;
  359. text-align: left;
  360. padding: 0 px2rem(20);
  361. }
  362. img{
  363. display: block;
  364. width: 100%;
  365. margin: px2rem(100) auto;
  366. }
  367. }
  368. }
  369. .plane-swiper{
  370. .p1-swiper-text{
  371. padding: 0 px2rem(20);
  372. }
  373. // .p1-swiper-title {
  374. // margin: 0 auto px2rem(10) auto;
  375. // text-align: left;
  376. // }
  377. .p1-swiper-title{
  378. padding-top: px2rem(40);
  379. margin-bottom: px2rem(20);
  380. }
  381. .p2{
  382. .center-img{
  383. width: px2rem(400);
  384. }
  385. }
  386. .center-img{
  387. display: block;
  388. width: px2rem(700);
  389. margin: 0 auto;
  390. margin-top: px2rem(30);
  391. }
  392. }
  393. .face-swiper{
  394. .p1-swiper-title{
  395. padding-top: px2rem(40);
  396. margin-bottom: px2rem(10);
  397. }
  398. .p1{
  399. .bottom-img{
  400. margin: 0;
  401. width: 100%;
  402. }
  403. }
  404. .p1-swiper-text{
  405. padding: 0 px2rem(10);
  406. }
  407. img{
  408. display: block;
  409. width: px2rem(700);
  410. margin: px2rem(40) auto;
  411. }
  412. .faceId-gif{
  413. width: px2rem(775);
  414. display: block;
  415. margin: px2rem(30) auto 0 auto;
  416. }
  417. .p2{
  418. padding-top: px2rem(10);
  419. img{
  420. display: block;
  421. width: px2rem(540);
  422. margin: px2rem(40) auto 0 auto;
  423. }
  424. }
  425. .p3{
  426. padding-top: px2rem(80);
  427. }
  428. .p4{
  429. padding-top: px2rem(220);
  430. .p1-swiper-title{
  431. padding-top: 0;
  432. padding-left: px2rem(20);
  433. text-align: left;
  434. margin-bottom: px2rem(20);
  435. }
  436. img{
  437. width: 100%;
  438. }
  439. }
  440. }
  441. .back-camera-swiper{
  442. img{
  443. display: block;
  444. margin: px2rem(50) auto;
  445. width: 100%;
  446. }
  447. .p1{
  448. padding-top: px2rem(50);
  449. }
  450. .p2{
  451. padding-top: px2rem(70);
  452. .center-box{
  453. margin: px2rem(20) auto;
  454. .left-side{
  455. padding: 0 px2rem(20);
  456. .title{
  457. text-align: left;
  458. }
  459. .text{
  460. text-align: left;
  461. }
  462. }
  463. .right-side{
  464. padding: 0 px2rem(20);
  465. .title{
  466. text-align: right;
  467. }
  468. .text{
  469. text-align: right;
  470. }
  471. }
  472. .title{
  473. font-size: px2rem(38);
  474. color: #000;
  475. margin-bottom: px2rem(10);
  476. font-weight: bold;
  477. }
  478. .text{
  479. font-size: px2rem(24);
  480. color: #000;
  481. line-height: 1.7;
  482. }
  483. }
  484. }
  485. .p3{
  486. background: url('../img/m/back-camera-p3-bg.jpg') center center no-repeat;
  487. background-size: cover;
  488. .white-title{
  489. color: #ffffff;
  490. font-size: px2rem(52);
  491. font-weight: bold;
  492. margin-top: px2rem(20);
  493. padding-left: px2rem(30);
  494. }
  495. .white-text{
  496. width: px2rem(500);
  497. line-height: 1.7;
  498. color: #ffffff;
  499. font-size: px2rem(26);
  500. margin-top: px2rem(60);
  501. padding-left: px2rem(30);
  502. }
  503. }
  504. }
  505. .center-video{
  506. display: block;
  507. width: px2rem(1000);
  508. margin: px2rem(125) auto 0 auto;
  509. }
  510. .close-swiper-btn{
  511. position: absolute;
  512. z-index: 99;
  513. bottom: px2rem(30);
  514. transform: translateX(-50%);
  515. left: 50%;
  516. border: none;
  517. outline: none;
  518. height: px2rem(60);
  519. line-height: px2rem(60);
  520. font-size: px2rem(16);
  521. color: #ffffff;
  522. border-radius: px2rem(30);
  523. background-color: #111111;
  524. width: px2rem(140);
  525. text-align: center;
  526. cursor: pointer;
  527. &:hover{
  528. background-color: #252525;
  529. }
  530. .circle-icon{
  531. display: inline-block;
  532. width: px2rem(20);
  533. height: px2rem(20);
  534. line-height: px2rem(20);
  535. border-radius: 50%;
  536. border: 1px solid #ffffff;
  537. font-size: px2rem(18);
  538. margin-right: px2rem(10);
  539. }
  540. }
  541. .swiper-container {
  542. width: 100%;
  543. height: 100%;
  544. }
  545. .swiper-pagination{
  546. position: absolute;
  547. right: px2rem(10);
  548. top: 40%;
  549. }
  550. .reset-video-btn{
  551. color: #000000;
  552. width: px2rem(80);
  553. text-align: center;
  554. cursor: pointer;
  555. margin: px2rem(40) auto;
  556. font-size: px2rem(14);
  557. .reset-icon{
  558. display: inline-block;
  559. width: px2rem(16);
  560. height: px2rem(16);
  561. vertical-align: top;
  562. margin-left: px2rem(6);
  563. background: url('../img/reset-icon.png') center center no-repeat;
  564. background-size: 100%;
  565. }
  566. }
  567. .video-poster{
  568. position: relative;
  569. margin-top: px2rem(20);
  570. i{
  571. position: absolute;
  572. top: 50%;
  573. left: 50%;
  574. transform: translate(-50%, -50%);
  575. background: url('../img/m/player-icon.png') center center no-repeat;
  576. width: px2rem(60);
  577. height: px2rem(60);
  578. background-size: 100%;
  579. }
  580. img{
  581. width: px2rem(240);
  582. vertical-align: middle;
  583. }
  584. }