main.scss 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. @import 'reset.scss';
  2. @import 'mixin.scss';
  3. html,body{
  4. height: 100%;
  5. }
  6. a{
  7. text-decoration: none;
  8. }
  9. body{
  10. background-color: #ffffff;
  11. background-size: cover;
  12. position: relative;
  13. overflow: hidden;
  14. font-family: '微软雅黑';
  15. }
  16. .modal{
  17. display: none;
  18. position: absolute;
  19. border: 1px solid #7bd5e9;
  20. padding: px2rem(20) px2rem(18);
  21. border-radius: 4px;
  22. background: url('../img/arrow-right-icon.png') right top no-repeat;
  23. background-size: px2rem(19) px2rem(20);
  24. background-color: #0d1430;
  25. .title{
  26. line-height: 1;
  27. font-size: px2rem(24);
  28. color: #2dafe2;
  29. padding-left: px2rem(10);
  30. border-left: px2rem(10) solid #ffffff;
  31. }
  32. .content{
  33. color: #2dafe2;
  34. font-size: px2rem(14);
  35. line-height: 1.6;
  36. }
  37. .arrow{
  38. position: absolute;
  39. top: -10px;
  40. left: -10px;
  41. width: 13px;
  42. height: 13px;
  43. border-top: px2rem(4) solid #000000;
  44. border-left: px2rem(4) solid #000000;
  45. }
  46. }
  47. .buy-btn{
  48. position: fixed;
  49. bottom: px2rem(10);
  50. right: px2rem(10);
  51. width: px2rem(196);
  52. height: px2rem(66);
  53. line-height: px2rem(66);
  54. background: url('../img/buy-btn.jpg') center center no-repeat;
  55. background-size: 100%;
  56. &:hover{
  57. background: url('../img/buy-btn-active.jpg') center center no-repeat;
  58. background-size: 100%;
  59. }
  60. }
  61. .nav-btn{
  62. position: absolute;
  63. width: px2rem(100);
  64. height: px2rem(40);
  65. line-height: px2rem(40);
  66. font-size: px2rem(14);
  67. text-align: center;
  68. border: 1px solid #2dafe2;
  69. background-color: #3d97c8;
  70. color: #ffffff;
  71. cursor: pointer;
  72. border-radius: 4px;
  73. &:hover {
  74. background-color: #0d1430;
  75. color: #2dafe2;
  76. }
  77. }
  78. .nav-btn-white{
  79. top: px2rem(30);
  80. right: px2rem(160);
  81. }
  82. .nav-btn-pic{
  83. top: px2rem(30);
  84. right: px2rem(30);
  85. }
  86. .nav-btn-video{
  87. right: px2rem(30);
  88. top: px2rem(30);
  89. }
  90. .modal-left-img {
  91. position: absolute;
  92. display: none;
  93. left: px2rem(50);
  94. }
  95. .video-poster-img{
  96. border: 2px solid #7bd5e9;
  97. border-radius: 4px;
  98. overflow: hidden;
  99. cursor: pointer;
  100. img{
  101. width: px2rem(480);
  102. vertical-align: middle;
  103. }
  104. .watch-icon{
  105. position: absolute;
  106. top: 50%;
  107. left: 50%;
  108. margin-left: -px2rem(39);
  109. margin-top: -px2rem(39);
  110. width: px2rem(78);
  111. height: px2rem(78);
  112. background: url('../img/video-play-icon.png') no-repeat;
  113. background-size: 100%;
  114. z-index: 999;
  115. }
  116. &:hover{
  117. span{
  118. text-decoration: underline;
  119. }
  120. &:after{
  121. opacity: 1;
  122. }
  123. }
  124. &:after{
  125. content: '';
  126. opacity: 0;
  127. position: absolute;
  128. top: 0;
  129. left: 0;
  130. right: 0;
  131. bottom: 0;
  132. background-color: rgba($color: #000000, $alpha: .4);
  133. transition: .4s all ease-in-out;
  134. }
  135. }
  136. .modal-group3{
  137. .left-title{
  138. line-height: 1;
  139. font-size: px2rem(26);
  140. color: #ffffff;
  141. padding: px2rem(16) px2rem(10);
  142. background-image: linear-gradient(to right,rgba(61, 150, 199, 1), rgba(61, 150, 199, 0));
  143. }
  144. .left-text{
  145. color: #ffffff;
  146. font-size: px2rem(14);
  147. background-color: #1c2941;
  148. padding: px2rem(16) px2rem(10);
  149. }
  150. }
  151. .bottom-gif{
  152. width: px2rem(470);
  153. display: block;
  154. margin-top: px2rem(40);
  155. border: 2px solid #7bd5e9;
  156. border-radius: 4px;
  157. }
  158. .camera-tips-pic{
  159. display: none;
  160. position: absolute;
  161. width: px2rem(480);
  162. top: px2rem(500);
  163. left: px2rem(50);
  164. }
  165. .modal-left-top {
  166. top: px2rem(120);
  167. }
  168. .modal-left-bottom {
  169. top: px2rem(466);
  170. &.modal-group3 {
  171. &::after{
  172. display: none;
  173. }
  174. cursor: initial;
  175. }
  176. }
  177. .back-plane-img{
  178. display: none;
  179. position: absolute;
  180. top: px2rem(150);
  181. left: px2rem(50);
  182. width: px2rem(460);
  183. img{
  184. width: 100%;
  185. }
  186. }
  187. .screen-left-modal{
  188. display: none;
  189. position: absolute;
  190. top: px2rem(120);
  191. left: px2rem(50);
  192. width: px2rem(480);
  193. .title{
  194. line-height: 1;
  195. color: #ffffff;
  196. font-size: px2rem(30);
  197. padding: px2rem(16) px2rem(10);
  198. background-image: linear-gradient(to right,rgba(61, 150, 199, 1), rgba(61, 150, 199, 0));
  199. }
  200. .text{
  201. color: #ffffff;
  202. font-size: px2rem(14);
  203. line-height: 1.7;
  204. margin-bottom: px2rem(40);
  205. background-color: #1c2941;
  206. padding: px2rem(16) px2rem(10);
  207. }
  208. img{
  209. display: block;
  210. margin-bottom: px2rem(40);
  211. width: 100%;
  212. }
  213. }
  214. .modal-right{
  215. position: absolute;
  216. display: none;
  217. width: px2rem(480);
  218. top: px2rem(120);
  219. right: px2rem(50);
  220. &.modal-group2{
  221. img{
  222. width: 100%;
  223. border: 2px solid #2dafe2;
  224. border-radius: 4px;
  225. }
  226. }
  227. &.modal-group5{
  228. .text{
  229. margin-bottom: px2rem(100);
  230. }
  231. }
  232. .title{
  233. line-height: 1;
  234. color: #ffffff;
  235. font-size: px2rem(30);
  236. padding: px2rem(16) px2rem(10);
  237. background-image: linear-gradient(to right,rgba(61, 150, 199, 1), rgba(61, 150, 199, 0));
  238. }
  239. >img{
  240. display: block;
  241. width: px2rem(233);
  242. margin: px2rem(30) auto;
  243. }
  244. .text{
  245. color: #ffffff;
  246. font-size: px2rem(14);
  247. line-height: 1.7;
  248. margin-bottom: px2rem(20);
  249. background-color: #1c2941;
  250. padding: px2rem(16) px2rem(10);
  251. }
  252. }
  253. .modal-group1{
  254. .video-poster-img{
  255. position: relative;
  256. margin-bottom: px2rem(40);
  257. }
  258. }
  259. .modal-group4{
  260. .text-img{
  261. width: px2rem(288);
  262. }
  263. }
  264. .modal-group3{
  265. .text-img{
  266. width: 100%;
  267. }
  268. .big-title{
  269. font-size: px2rem(40);
  270. }
  271. &.modal-left-bottom{
  272. top: px2rem(460);
  273. }
  274. }
  275. .modal-img-bottom{
  276. bottom: 0;
  277. left: px2rem(50);
  278. width: px2rem(480);
  279. }
  280. .full-video-wrap{
  281. display: none;
  282. position: fixed;
  283. top: 0;
  284. left: 0;
  285. right: 0;
  286. bottom: 0;
  287. z-index: 100;
  288. background-color: rgba($color: #000000, $alpha: 0.8);
  289. .close-icon{
  290. position: absolute;
  291. top: px2rem(30);
  292. left: px2rem(30);
  293. width: px2rem(33);
  294. height: px2rem(33);
  295. background: url('../img/blue-close-icon.png') center center no-repeat;
  296. background-size: 100%;
  297. cursor: pointer;
  298. }
  299. video{
  300. position: absolute;
  301. display: none;
  302. width: px2rem(1300);
  303. top: 50%;
  304. left: 50%;
  305. transform: translate(-50%, -50%);
  306. border: 4px solid #7bd5e9;
  307. border-radius: 4px;
  308. }
  309. }
  310. .bottom-more-btn{
  311. position: absolute;
  312. display: none;
  313. bottom: px2rem(30);
  314. left: 50%;
  315. margin-left: -px2rem(72);
  316. text-align: center;
  317. .title{
  318. color: #ffffff;
  319. font-size: px2rem(24);
  320. margin-bottom: px2rem(10);
  321. }
  322. button{
  323. border: none;
  324. outline: none;
  325. cursor: pointer;
  326. width: px2rem(99);
  327. height: px2rem(30);
  328. background: url('../img/know-more-btn.png') center center no-repeat;
  329. background-size: 100%;
  330. &:hover {
  331. background: url('../img/know-more-btn-active.png') center center no-repeat;
  332. background-size: 100%;
  333. }
  334. }
  335. .circle-icon{
  336. display: inline-block;
  337. width: px2rem(20);
  338. height: px2rem(20);
  339. line-height: px2rem(20);
  340. border-radius: 50%;
  341. border: 1px solid #ffffff;
  342. font-size: px2rem(18);
  343. margin-right: px2rem(2);
  344. }
  345. }
  346. .entry-tips{
  347. position: fixed;
  348. left: px2rem(60);
  349. top: px2rem(200);
  350. width: px2rem(260);
  351. p{
  352. color: #ffffff;
  353. font-size: px2rem(28);
  354. line-height: 1.7;
  355. }
  356. img{
  357. display: block;
  358. width: px2rem(100);
  359. margin: px2rem(30) auto;
  360. }
  361. }