iphonex1.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  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: #ffffff;
  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: #ffffff;
  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.jpg') 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. position: absolute;
  205. top: 50%;
  206. left: 50%;
  207. transform: translate(-50%, -50%);
  208. width: px2rem(78);
  209. height: px2rem(78);
  210. background: url('../img/video-play-icon.png') no-repeat;
  211. background-size: 100%;
  212. z-index: 999;
  213. }
  214. &:hover{
  215. span{
  216. text-decoration: underline;
  217. }
  218. &:after{
  219. opacity: 1;
  220. }
  221. }
  222. &:after{
  223. content: '';
  224. opacity: 0;
  225. position: absolute;
  226. top: 0;
  227. left: 0;
  228. right: 0;
  229. bottom: 0;
  230. background-color: rgba($color: #000000, $alpha: .4);
  231. transition: .4s all ease-in-out;
  232. }
  233. }
  234. }
  235. .p2-right-side{
  236. position: absolute;
  237. top: px2rem(270);
  238. right: px2rem(390);
  239. width: px2rem(470);
  240. .title{
  241. color: #ffffff;
  242. font-weight: bold;
  243. font-size: px2rem(40);
  244. }
  245. .text{
  246. margin: px2rem(30) 0;
  247. color: #ffffff;
  248. font-size: px2rem(18);
  249. line-height: 1.7;
  250. }
  251. }
  252. .p3-info{
  253. position: absolute;
  254. width: px2rem(684);
  255. top: px2rem(30);
  256. left: px2rem(510);
  257. h3{
  258. font-size: px2rem(40);
  259. font-weight: bold;
  260. color: #ffffff;
  261. line-height: 1.5;
  262. }
  263. p{
  264. color: #ffffff;
  265. font-size: px2rem(18);
  266. line-height: 1.6;
  267. margin-top: px2rem(10);
  268. }
  269. }
  270. .p3-video{
  271. position: absolute;
  272. top: px2rem(280);
  273. left: px2rem(510);
  274. width: px2rem(900);
  275. video{
  276. width: 100%;
  277. }
  278. .reset-video-btn{
  279. margin: px2rem(10) 0;
  280. }
  281. }
  282. }
  283. .swiper-slide{
  284. box-sizing: border-box;
  285. background: url('../img/swiper-bg.jpg') center center no-repeat;
  286. background-size: cover;
  287. }
  288. .screen-swiper {
  289. .p2{
  290. padding-top: px2rem(100);
  291. .p1-swiper-text{
  292. width: px2rem(900);
  293. margin: 0 auto;
  294. text-align: left;
  295. }
  296. img{
  297. display: block;
  298. width: px2rem(1163);
  299. margin: px2rem(100) auto 0 auto;
  300. }
  301. }
  302. .p3{
  303. padding-top: px2rem(100);
  304. img{
  305. display: block;
  306. width: px2rem(1340);
  307. margin: 0 auto;
  308. margin-bottom: px2rem(60);
  309. }
  310. .bottom-info{
  311. width: px2rem(1340);
  312. margin: 0 auto;
  313. }
  314. .left-side{
  315. float: left;
  316. p{
  317. font-size: px2rem(28);
  318. color: #ffffff;
  319. margin-bottom: px2rem(10);
  320. }
  321. }
  322. .right-side{
  323. float: right;
  324. font-size: px2rem(16);
  325. color: #ffffff;
  326. line-height: 1.7;
  327. width: px2rem(750);
  328. margin-right: px2rem(20);
  329. }
  330. }
  331. .p4{
  332. padding-top: px2rem(80);
  333. .p1-swiper-title{
  334. padding-top: 0;
  335. width: px2rem(1340);
  336. margin: 0 auto;
  337. text-align: left;
  338. margin-bottom: px2rem(2);
  339. }
  340. .p1-swiper-text {
  341. width: px2rem(1340);
  342. margin: 0 auto;
  343. text-align: left;
  344. }
  345. img{
  346. display: block;
  347. width: px2rem(1053);
  348. margin: px2rem(50) auto;
  349. }
  350. }
  351. }
  352. .plane-swiper{
  353. .p1-swiper-text{
  354. width: px2rem(1392);
  355. margin: 0 auto;
  356. text-align: left;
  357. }
  358. .p1-swiper-title {
  359. width: px2rem(1392);
  360. margin: 0 auto px2rem(10) auto;
  361. text-align: left;
  362. }
  363. .center-img{
  364. display: block;
  365. width: px2rem(1392);
  366. margin: 0 auto;
  367. }
  368. .p1 {
  369. .center-img{
  370. margin-top: px2rem(70);
  371. }
  372. }
  373. .p2{
  374. padding-top: px2rem(80);
  375. .p1-swiper-title{
  376. padding-top: px2rem(20);
  377. }
  378. }
  379. }
  380. .face-swiper{
  381. .faceId-gif{
  382. width: px2rem(775);
  383. display: block;
  384. margin: px2rem(30) auto 0 auto;
  385. }
  386. .p1{
  387. background: url('../img/faceId-pic4-blue.jpg') center -px2rem(40) no-repeat;
  388. // background-size: px2rem(900) auto;
  389. }
  390. .p2{
  391. background: url('../img/faceId-pic5-blue.jpg') center -px2rem(40) no-repeat;
  392. // background-size: px2rem(1400) auto;
  393. padding-top: px2rem(80);
  394. .p1-swiper-title{
  395. width: px2rem(1600);
  396. padding-top: 0;
  397. margin: 0 auto px2rem(10) auto;
  398. text-align: left;
  399. }
  400. .p1-swiper-text{
  401. width: px2rem(1600);
  402. margin: 0 auto px2rem(6) auto;
  403. text-align: left;
  404. }
  405. }
  406. .p3{
  407. padding-top: px2rem(30);
  408. .p1-swiper-title{
  409. width: px2rem(770);
  410. margin: 0 auto;
  411. padding-top: 0;
  412. text-align: left;
  413. }
  414. .mg-bottom{
  415. margin-bottom: px2rem(30);
  416. }
  417. .p1-swiper-text{
  418. width: px2rem(770);
  419. margin: 0 auto;
  420. text-align: left;
  421. }
  422. }
  423. }
  424. .back-camera-swiper{
  425. .p1{
  426. background: url('../img/back-camera-pic5-blue.jpg') center bottom no-repeat;
  427. // background-size: px2rem(1200) auto;
  428. }
  429. .p2{
  430. padding-top: px2rem(70);
  431. background: url('../img/back-camera-pic6-blue.jpg') center bottom no-repeat;
  432. .center-box{
  433. width: px2rem(1000);
  434. margin: px2rem(20) auto;
  435. .left-side{
  436. float: left;
  437. width: px2rem(420);
  438. }
  439. .right-side{
  440. float: right;
  441. width: px2rem(420);
  442. }
  443. .title{
  444. font-size: px2rem(38);
  445. color: #ffffff;
  446. margin-bottom: px2rem(10);
  447. }
  448. .text{
  449. font-size: px2rem(14);
  450. color: #ffffff;
  451. line-height: 1.7;
  452. }
  453. }
  454. }
  455. .p3{
  456. background: url('../img/back-camera-pic7.jpg') center center no-repeat;
  457. background-size: cover;
  458. }
  459. }
  460. .center-video{
  461. display: block;
  462. width: px2rem(1000);
  463. margin: px2rem(125) auto 0 auto;
  464. }
  465. .close-swiper-btn{
  466. position: absolute;
  467. z-index: 99;
  468. bottom: px2rem(20);
  469. transform: translateX(-50%);
  470. left: 50%;
  471. border: none;
  472. outline: none;
  473. width: px2rem(99);
  474. height: px2rem(30);
  475. background: url('../img/close-btn.png') center center no-repeat;
  476. background-size: 100%;
  477. cursor: pointer;
  478. &:hover{
  479. background: url('../img/close-btn-active.png') center center no-repeat;
  480. background-size: 100%;
  481. }
  482. }
  483. .swiper-container {
  484. width: 100%;
  485. height: 100%;
  486. }
  487. .swiper-pagination{
  488. position: absolute;
  489. right: px2rem(10);
  490. top: 40%;
  491. }
  492. .reset-video-btn{
  493. color: #000000;
  494. width: px2rem(80);
  495. text-align: center;
  496. cursor: pointer;
  497. margin: px2rem(40) auto;
  498. font-size: px2rem(14);
  499. .reset-icon{
  500. display: inline-block;
  501. width: px2rem(16);
  502. height: px2rem(16);
  503. vertical-align: top;
  504. margin-left: px2rem(6);
  505. background: url('../img/reset-icon.png') center center no-repeat;
  506. background-size: 100%;
  507. }
  508. }