iphonex.scss 12 KB

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