main.scss 6.8 KB

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