style.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 #000000;
  20. padding: px2rem(20) px2rem(18);
  21. background-color: #ffffff;
  22. border-radius: 4px;
  23. .title{
  24. line-height: 1;
  25. font-size: px2rem(24);
  26. color: #333333;
  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: -10px;
  38. left: -10px;
  39. width: 13px;
  40. height: 13px;
  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(30);
  49. background-color: #1e1716;
  50. color: #fafafa;
  51. font-size: px2rem(24);
  52. text-decoration: none;
  53. border-radius: 4px;
  54. width: px2rem(194);
  55. line-height: px2rem(64);
  56. text-align: center;
  57. &:hover{
  58. background-color: #2e80ef;
  59. }
  60. }
  61. .nav-btn{
  62. position: absolute;
  63. width: px2rem(100);
  64. height: px2rem(40);
  65. line-height: px2rem(40);
  66. color: #333333;
  67. font-size: px2rem(14);
  68. text-align: center;
  69. border: 1px solid #000000;
  70. background-color: #ffffff;
  71. cursor: pointer;
  72. border-radius: 4px;
  73. &:hover{
  74. background-color: #000000;
  75. color: #ffffff;
  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. cursor: pointer;
  97. img{
  98. width: px2rem(480);
  99. vertical-align: middle;
  100. }
  101. span{
  102. position: absolute;
  103. z-index: 10;
  104. left: 50%;
  105. transform: translateX(-50%);
  106. bottom: px2rem(25);
  107. color: #ffffff;
  108. height: px2rem(30);
  109. line-height: px2rem(30);
  110. font-size: px2rem(16);
  111. }
  112. .watch-icon{
  113. display: inline-block;
  114. margin-left: px2rem(4);
  115. width: px2rem(20);
  116. height: px2rem(20);
  117. background: url('../img/watch-icon.png') no-repeat;
  118. background-size: 100%;
  119. vertical-align: middle;
  120. }
  121. &:hover{
  122. span{
  123. text-decoration: underline;
  124. }
  125. &:after{
  126. opacity: 1;
  127. }
  128. }
  129. &:after{
  130. content: '';
  131. opacity: 0;
  132. position: absolute;
  133. top: 0;
  134. left: 0;
  135. right: 0;
  136. bottom: 0;
  137. background-color: rgba($color: #000000, $alpha: .4);
  138. transition: .4s all ease-in-out;
  139. }
  140. }
  141. .modal-group3{
  142. .left-title{
  143. font-size: px2rem(26);
  144. color: #333333;
  145. margin-bottom: px2rem(26);
  146. }
  147. .left-text{
  148. color: #333333;
  149. font-size: px2rem(14);
  150. margin-bottom: px2rem(10);
  151. }
  152. }
  153. .bottom-gif{
  154. width: px2rem(420);
  155. display: block;
  156. margin-top: px2rem(20);
  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(150);
  167. }
  168. .modal-left-bottom {
  169. top: px2rem(496);
  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(150);
  191. left: px2rem(50);
  192. width: px2rem(480);
  193. .title{
  194. color: #333333;
  195. font-size: px2rem(30);
  196. margin-bottom: px2rem(10);
  197. }
  198. .text{
  199. color: #333333;
  200. font-size: px2rem(14);
  201. line-height: 1.7;
  202. margin-bottom: px2rem(40);
  203. }
  204. img{
  205. display: block;
  206. margin-bottom: px2rem(40);
  207. width: 100%;
  208. }
  209. }
  210. .modal-right{
  211. position: absolute;
  212. display: none;
  213. width: px2rem(480);
  214. top: px2rem(146);
  215. right: px2rem(50);
  216. .title{
  217. color: #333333;
  218. font-size: px2rem(30);
  219. margin-bottom: px2rem(20);
  220. }
  221. >img{
  222. display: block;
  223. width: px2rem(233);
  224. margin: px2rem(30) auto;
  225. }
  226. .text{
  227. color: #333333;
  228. font-size: px2rem(14);
  229. line-height: 1.7;
  230. margin-bottom: px2rem(40);
  231. }
  232. }
  233. .modal-group1{
  234. .video-poster-img{
  235. position: relative;
  236. margin-bottom: px2rem(40);
  237. }
  238. }
  239. .modal-group4{
  240. .text-img{
  241. width: px2rem(288);
  242. }
  243. }
  244. .modal-group3{
  245. .text-img{
  246. width: 100%;
  247. }
  248. .big-title{
  249. font-size: px2rem(48);
  250. }
  251. }
  252. .modal-img-bottom{
  253. bottom: 0;
  254. left: px2rem(50);
  255. width: px2rem(480);
  256. }
  257. .full-video-wrap{
  258. display: none;
  259. position: fixed;
  260. top: 0;
  261. left: 0;
  262. right: 0;
  263. bottom: 0;
  264. z-index: 100;
  265. background-color: #ffffff;
  266. .close-icon{
  267. position: absolute;
  268. top: px2rem(30);
  269. left: px2rem(30);
  270. width: px2rem(37);
  271. height: px2rem(36);
  272. background: url('../img/close-icon.png') center center no-repeat;
  273. background-size: 100%;
  274. cursor: pointer;
  275. }
  276. video{
  277. position: absolute;
  278. display: none;
  279. width: px2rem(1300);
  280. top: 50%;
  281. left: 50%;
  282. transform: translate(-50%, -50%);
  283. }
  284. }
  285. .bottom-more-btn{
  286. position: absolute;
  287. display: none;
  288. bottom: px2rem(30);
  289. left: 50%;
  290. margin-left: -px2rem(72);
  291. .title{
  292. text-align: center;
  293. color: #333333;
  294. font-size: px2rem(24);
  295. margin-bottom: px2rem(10);
  296. }
  297. button{
  298. border: none;
  299. outline: none;
  300. height: px2rem(50);
  301. line-height: px2rem(50);
  302. font-size: px2rem(16);
  303. color: #ffffff;
  304. border-radius: px2rem(25);
  305. background-color: #111111;
  306. width: px2rem(144);
  307. text-align: center;
  308. cursor: pointer;
  309. &:hover{
  310. background-color: #252525;
  311. }
  312. }
  313. .circle-icon{
  314. display: inline-block;
  315. width: px2rem(20);
  316. height: px2rem(20);
  317. line-height: px2rem(20);
  318. border-radius: 50%;
  319. border: 1px solid #ffffff;
  320. font-size: px2rem(18);
  321. margin-right: px2rem(2);
  322. }
  323. }
  324. .entry-tips{
  325. position: fixed;
  326. left: px2rem(60);
  327. top: px2rem(200);
  328. width: px2rem(260);
  329. p{
  330. color: #333333;
  331. font-size: px2rem(28);
  332. line-height: 1.7;
  333. }
  334. img{
  335. display: block;
  336. width: px2rem(100);
  337. margin: px2rem(30) auto;
  338. }
  339. }