iphonex.scss 12 KB

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