global.scss 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108
  1. @charset "UTF-8";
  2. $yahei: "Microsoft YaHei",
  3. SimHei,
  4. sans-serif;
  5. $maincolor: #e94646;
  6. $titleFont: PingFang sc,
  7. "Helvetica Neue",
  8. Helvetica,
  9. Tahoma,
  10. Arial,
  11. "Liberation Sans",
  12. "Hiragino Sans GB",
  13. "Source Han Sans CN",
  14. "Source Han Sans SC",
  15. "Microsoft YaHei",
  16. "Wenquanyi Micro Hei",
  17. "WenQuanYi Zen Hei",
  18. "ST Heiti",
  19. SimHei,
  20. "WenQuanYi Zen Hei Sharp",
  21. sans-serif;
  22. @import "lego/lego";
  23. @import "base/mixins";
  24. @import "base/ui-dialog";
  25. @import "page/gallery";
  26. @import "page/bindWx";
  27. $yellow: #CEBE95;
  28. $yellow-lighter: #CAB98D;
  29. html{
  30. font-size: 12px;
  31. height: 100%; // overflow-y: scroll;
  32. font: 12px/1.5 PingFang sc, "Helvetica Neue", Helvetica, Tahoma, Arial, SimSun, TW-Sung, "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", serif; // font-family: $yahei;
  33. text-rendering: optimizeLegibility;
  34. -webkit-font-smoothing: antialiased;
  35. }
  36. body{
  37. font-family: '微软雅黑';
  38. a{
  39. text-decoration: none;
  40. &:hover{
  41. text-decoration: underline;
  42. }
  43. }
  44. p,
  45. a,
  46. span,
  47. em,
  48. i,
  49. h1,
  50. h2,
  51. h3,
  52. h4,
  53. h5,
  54. h6{
  55. text-rendering: optimizeLegibility;
  56. -webkit-font-smoothing: antialiased;
  57. }
  58. }
  59. a:focus{
  60. outline: none;
  61. }
  62. .hide{
  63. display: none;
  64. }
  65. .clearfix{
  66. @include clearfix();
  67. }
  68. .wrapper{
  69. padding: 0;
  70. }
  71. .page-index{
  72. position: relative;
  73. .mod-part{
  74. position: relative;
  75. background: no-repeat top center;
  76. .mod-title{
  77. height: 53px;
  78. background: no-repeat top center;
  79. @for $i from 1 through 4{
  80. &.title#{$i}{
  81. background-image: url(../img/bg-title#{$i}.png);
  82. }
  83. }
  84. }
  85. .mod-inner{
  86. width: 1200px;
  87. margin: 0 auto;
  88. .inner-left{
  89. float: left;
  90. }
  91. .inner-right{
  92. float: right;
  93. }
  94. .bg-horn{
  95. height: 35px;
  96. width: 37px;
  97. position: absolute;
  98. top: 0;
  99. left: 0;
  100. display: block;
  101. background: url(../img/bg-horn.png) no-repeat top left;
  102. }
  103. }
  104. }
  105. .mod-float{
  106. position: fixed;
  107. z-index: 999;
  108. right: 60px;
  109. bottom: 140px;
  110. &::after{
  111. height: 380px;
  112. width: 100%;
  113. position: absolute;
  114. z-index: -1;
  115. top: 0;
  116. left: 0;
  117. content: '';
  118. display: block;
  119. box-shadow: 0 39px 49px rgba(#18233e, 0.3);
  120. }
  121. .mod-inner{
  122. height: 365px;
  123. width: 147px;
  124. padding-top: 20px;
  125. background: url(../img/bg-float.png) no-repeat top center;
  126. position: relative;
  127. z-index: 3;
  128. .QRcode{
  129. width: 107px;
  130. display: block;
  131. margin: 0 auto;
  132. }
  133. .scan-note{
  134. font-size: 12px;
  135. color: #fff;
  136. line-height: 20px;
  137. text-align: center;
  138. margin: 26px 0;
  139. }
  140. .float-nav{
  141. font-size: 14px;
  142. line-height: 32px;
  143. text-align: center;
  144. a{
  145. width: 85px;
  146. display: block;
  147. margin: 0 auto;
  148. color: #ebc57c;
  149. &:hover{
  150. text-decoration: underline;
  151. }
  152. span{
  153. padding-right: 15px;
  154. background: url(../img/bg-float-arrow.png) right center no-repeat;
  155. }
  156. }
  157. }
  158. }
  159. }
  160. .mod-banner{
  161. height: 1010px;
  162. background-image: url(../img/bg-banner.jpg);
  163. // .video-play{
  164. // height: 96px;
  165. // width: 96px;
  166. // cursor: pointer;
  167. // position: absolute;
  168. // top: 480px;
  169. // left: 50%;
  170. // margin-left: 126px;
  171. // }
  172. }
  173. .mod-giftbag{
  174. height: 1142px;
  175. background-image: url(../img/bg-giftbag.jpg);
  176. .mod-inner{
  177. padding-top: 21px;
  178. .part-head{
  179. height: 45px;
  180. padding-top: 22px;
  181. em,span{
  182. font-size: 24px;
  183. color: #a6653e;
  184. font-family: arial,'微软雅黑';
  185. text-shadow: 0 3px 6px rgba(#4c4e55, 0.2);
  186. float: left;
  187. position: relative;
  188. z-index: 3;
  189. &::before, &::after{
  190. height: 100%;
  191. width: 100%;
  192. position: absolute;
  193. top: 0;
  194. left: 0;
  195. content: attr(data-text);
  196. display: block;
  197. }
  198. &::before{
  199. color: #0c0603;
  200. z-index: 1;
  201. -webkit-mask: linear-gradient(transparent 30%, #000);
  202. }
  203. &::after{
  204. color: #a6653e;
  205. z-index: 2;
  206. -webkit-mask: linear-gradient(#000, transparent);
  207. }
  208. }
  209. em{
  210. font-size: 24px;
  211. line-height: 30px;
  212. // font-weight: bold;
  213. }
  214. span{
  215. font-size: 16px;
  216. margin: 7px 0 0 12px;
  217. line-height: 21px;
  218. }
  219. .arrow{
  220. height: 7px;
  221. width: 10px;
  222. margin-left: 11px;
  223. margin-top: 15px;
  224. float: left;
  225. position: relative;
  226. z-index: 3;
  227. i{
  228. height: 100%;
  229. width: 100%;
  230. background: url(../img/bg-part-head1.png) center no-repeat;
  231. position: relative;
  232. z-index: 3;
  233. display: block;
  234. }
  235. &::after{
  236. height: 4px;
  237. width: 4px;
  238. box-shadow: 0 0 5px rgba(#000, 0.6);
  239. content: '';
  240. display: block;
  241. position: absolute;
  242. z-index: -1;
  243. top: 50%;
  244. left: 50%;
  245. transform: translate(-50%, -50%) rotate(45deg);
  246. }
  247. }
  248. b{
  249. font-size: 14px;
  250. color: #030917;
  251. float: left;
  252. position: relative;
  253. bottom: -6px;
  254. margin-left: 22px;
  255. }
  256. }
  257. .part-inner{
  258. border: 2px #A28E6A solid;
  259. border-radius: 3px;
  260. position: relative;
  261. z-index: 3;
  262. }
  263. .inner-left{
  264. width: 339px;
  265. .register{
  266. .part-inner{
  267. height: 464px;
  268. border: none;
  269. border-radius: 0;
  270. padding-top: 10px;
  271. background: url(../img/bg-register.png) top center no-repeat;
  272. iframe{
  273. width: 339px;
  274. margin-left: 40px;
  275. }
  276. }
  277. }
  278. .download{
  279. .part-head{
  280. em, span{
  281. color: #fff3dd;
  282. &::before{
  283. color: #ebc57c;
  284. z-index: 1;
  285. -webkit-mask: linear-gradient(transparent 30%, #000);
  286. }
  287. &::after{
  288. color: #fff3dd;
  289. z-index: 2;
  290. -webkit-mask: linear-gradient(#000, transparent);
  291. }
  292. }
  293. i{
  294. background-image: url(../img/bg-part-head2.png);
  295. }
  296. }
  297. .part-inner{
  298. height: 340px;
  299. background: url(../img/bg-download1.jpg) no-repeat top center;
  300. .bg{
  301. height: 74px;
  302. width: 109px;
  303. position: absolute;
  304. left: 96px;
  305. top: -74px;
  306. background: url(../img/bg-download2.png) no-repeat top center;
  307. }
  308. .btn-warp{
  309. height: 147px;
  310. width: 293px;
  311. position: absolute;
  312. left: 21px;
  313. bottom: 18px;
  314. padding-top: 4px;
  315. background: url(../img/btn-download.png) no-repeat top center;
  316. .btn{
  317. height: 58px;
  318. width: 275px;
  319. display: block;
  320. margin: 0 auto 21px;
  321. }
  322. }
  323. }
  324. }
  325. }
  326. .inner-right{
  327. width: 829px;
  328. .gift{
  329. .part-inner{
  330. height: 868px;
  331. padding-top: 15px;
  332. border-top-left-radius: 0;
  333. .lingqu-wrap{
  334. .linqu-sn{
  335. display: none;
  336. }
  337. &.is-active{
  338. .linqu-sn{
  339. display: block;
  340. }
  341. .btn-lingqu{
  342. display: none;
  343. }
  344. }
  345. }
  346. .item-title{
  347. font-size: 20px;
  348. color: #ffdb9d;
  349. line-height: 66px;
  350. text-align: center;
  351. font-weight: bold;
  352. font-family: '微软雅黑';
  353. }
  354. .item-tip{
  355. font-size: 16px;
  356. color: #fff;
  357. line-height: 21px;
  358. margin: 12px auto;
  359. }
  360. .linqu-sn{
  361. display: table;
  362. margin-left: 132px;
  363. input{
  364. height: 39px;
  365. width: 205px;
  366. border: 1px #4d5a86 solid;
  367. box-sizing: border-box;
  368. padding: 0 8px;
  369. background: none;
  370. font-size: 14px;
  371. color: #D0D2D6;
  372. float: left;
  373. outline: none;
  374. background: #323B54;
  375. }
  376. }
  377. .btn-copy,.btn-active{
  378. display: inline-block;
  379. height: 40px;
  380. cursor: pointer;
  381. color: transparent;
  382. font-size: 0;
  383. margin-left: 10px;
  384. vertical-align: middle;
  385. box-shadow: 0 2px 10px rgba(#030a1b, 0.4);
  386. }
  387. .btn-copy{
  388. width: 85px;
  389. background: url(../img/bg-copy.jpg) no-repeat top center;
  390. }
  391. .btn-active{
  392. width: 135px;
  393. background: url(../img/bg-active.jpg) no-repeat top center;
  394. }
  395. .gift-btn{
  396. height: 40px;
  397. width: 135px;
  398. margin: 0 auto;
  399. cursor: pointer;
  400. background: no-repeat top center;
  401. &.receive-btn{
  402. background-image: url(../img/bg-receive.jpg);
  403. }
  404. &.activation-btn{
  405. background-image: url(../img/bg-active.jpg);
  406. }
  407. }
  408. .gift-item{
  409. width: 730px;
  410. margin: 0 auto;
  411. &.receive{
  412. padding-bottom: 49px;
  413. margin-bottom: 25px;
  414. border-bottom: 1px #4d5a86 solid;
  415. .gift-warp{
  416. height: 103px;
  417. .gift-switch{
  418. height: 60px;
  419. width: 22px;
  420. background: url(../img/gift-switch.png) no-repeat top left;
  421. display: block;
  422. float: left;
  423. position: relative;
  424. &::after{
  425. height: 0;
  426. width: 0;
  427. content: '';
  428. display: block;
  429. position: absolute;
  430. top: 50%;
  431. left: 50%;
  432. border: 8px #3A425A solid;
  433. }
  434. &.prev{
  435. &::after{
  436. margin: -8px 0 0 -12px;
  437. border-color: transparent #3A425A transparent transparent;
  438. }
  439. &.is-disabled::after{
  440. cursor: default;
  441. border-color: transparent #E2E2E2 transparent transparent;
  442. }
  443. }
  444. &.next{
  445. background-position: -22px top;
  446. &::after{
  447. margin: -8px 0 0 -4px;
  448. border-color: transparent transparent transparent #3A425A;
  449. }
  450. &.is-disabled::after{
  451. cursor: default;
  452. border-color: transparent transparent transparent #E2E2E2;
  453. }
  454. }
  455. }
  456. .gift-slider{
  457. height: 103px;
  458. width: 686px;
  459. float: left;
  460. overflow: hidden;
  461. ul{
  462. position: relative;
  463. li{
  464. width: 98px;
  465. float: left;
  466. p{
  467. height: 58px;
  468. width: 58px;
  469. background: #171C2D;
  470. border: 1px #4d5a86 solid;
  471. margin: 0 auto;
  472. img{
  473. height: 100%;
  474. width: 100%;
  475. display: block;
  476. }
  477. }
  478. em{
  479. font-size: 12px;
  480. color: #bba271;
  481. line-height: 29px;
  482. text-align: center;
  483. font-weight: bold;
  484. display: block;
  485. text-overflow: ellipsis;
  486. overflow: hidden;
  487. white-space: nowrap;
  488. }
  489. }
  490. }
  491. }
  492. }
  493. }
  494. &.activation{
  495. .item-title{
  496. height: 45px;
  497. line-height: 45px;
  498. padding-top: 8px;
  499. }
  500. ul{
  501. li{
  502. font-size: 16px;
  503. color: #8799d2;
  504. line-height: 28px;
  505. overflow: hidden;
  506. margin-top: 8px;
  507. &:first-child{
  508. margin-top: 0;
  509. }
  510. p,span{
  511. float: left;
  512. }
  513. p{
  514. color: #d2ddff;
  515. font-weight: bold;
  516. }
  517. span{
  518. width: 90%;
  519. }
  520. }
  521. }
  522. .activation-btn{
  523. margin-top: 6px;
  524. }
  525. }
  526. }
  527. }
  528. }
  529. }
  530. .transparent-bg{
  531. position: absolute;
  532. z-index: -1;
  533. top: 0;
  534. bottom: 0;
  535. left: 0;
  536. right: 0;
  537. background: #1A2039;
  538. opacity: 0.7;
  539. filter: alpha(opacity=70);
  540. }
  541. }
  542. }
  543. .mod-luckdraw{
  544. height: 699px;
  545. background-image: url(../img/bg-luckdraw.jpg);
  546. .mod-inner{
  547. .lottery-tip{
  548. height: 90px;
  549. font-size: 14px;
  550. color: #ebf1ff;
  551. line-height: 36px;
  552. text-align: center;
  553. padding-top: 12px;
  554. .top{
  555. font-size: 24px;
  556. font-weight: bold;
  557. }
  558. em{
  559. font-size: 20px;
  560. color: #ea1003;
  561. line-height: 40px;
  562. }
  563. }
  564. .lottery-cot{
  565. position: relative;
  566. li{
  567. height: 136px;
  568. width: 136px;
  569. position: absolute;
  570. z-index: 1;
  571. &.active{
  572. .img-wrap{
  573. span{
  574. background-image: url(../img/bg-lottery-item-active.png);
  575. }
  576. }
  577. }
  578. &.left{
  579. left: 50%;
  580. }
  581. &.right{
  582. right: 50%;
  583. }
  584. &.item1{
  585. top: 162px;
  586. margin-left: -486px;
  587. }
  588. &.item2{
  589. top: 162px;
  590. margin-left: -282px;
  591. z-index: 2;
  592. }
  593. &.item3{
  594. top: 53px;
  595. margin-left: -174px;
  596. p{
  597. top: -28px;
  598. }
  599. }
  600. &.item4{
  601. top: 53px;
  602. margin-right: -174px;
  603. p{
  604. top: -28px;
  605. }
  606. }
  607. &.item5{
  608. top: 162px;
  609. margin-right: -282px;
  610. z-index: 2;
  611. }
  612. &.item6{
  613. top: 162px;
  614. margin-right: -486px;
  615. }
  616. &.item7{
  617. top: 273px;
  618. margin-right: -174px;
  619. }
  620. &.item8{
  621. top: 273px;
  622. margin-left: -174px;
  623. }
  624. &.is-active{
  625. .img-wrap{
  626. border-color: #fcd538;
  627. }
  628. }
  629. &.btn-lottery{
  630. height: 191px;
  631. width: 190px;
  632. top: 136px;
  633. left: 50%;
  634. margin-left: -95px;
  635. cursor: pointer;
  636. position: relative;
  637. &::after{
  638. height: 131px;
  639. width: 130px;
  640. content: '';
  641. display: block;
  642. position: absolute;
  643. z-index: -1;
  644. top: 30px;
  645. left: 30px;
  646. box-shadow: 0 0 54px rgba(#ffac35, 0.12);
  647. transform: rotate(45deg);
  648. }
  649. span{
  650. height: 100%;
  651. width: 100%;
  652. display: block;
  653. background: url(../img/lottery-btn.png) no-repeat center;
  654. position: relative;
  655. z-index: 3;
  656. }
  657. }
  658. .img-wrap{
  659. height: 100%;
  660. width: 100%;
  661. transform: rotate(45deg);
  662. background: #141415;
  663. position: relative;
  664. overflow: hidden;
  665. span{
  666. height: 100%;
  667. width: 100%;
  668. display: block;
  669. position: absolute;
  670. z-index: 3;
  671. top: 0;
  672. left: 0;
  673. background: url(../img/bg-lottery-item.png) center no-repeat;
  674. }
  675. img{
  676. height: 190px;
  677. width: 190px;
  678. position: relative;
  679. top: 50%;
  680. left: 50%;
  681. margin: -95px 0 0 -95px;
  682. display: block;
  683. transform: rotate(-45deg);
  684. }
  685. }
  686. p{
  687. font-size: 14px;
  688. color: #333;
  689. line-height: 21px;
  690. text-align: center;
  691. font-weight: bold;
  692. text-shadow: 1px 0 #fff,0 1px #fff,-1px 0 #fff,0 -1px #fff;
  693. position: absolute;
  694. left: 0;
  695. right: 0;
  696. bottom: -28px;
  697. }
  698. }
  699. }
  700. }
  701. }
  702. .mod-cash{
  703. height: 883px;
  704. padding-top: 97px;
  705. background-image: url(../img/bg-cash.jpg);
  706. .mod-inner{
  707. margin-top: 49px;
  708. .redbag{
  709. height: 671px;
  710. width: 521px;
  711. float: left;
  712. margin-left: 119px;
  713. background: url(../img/bg-redbag.jpg) no-repeat top center;
  714. .title{
  715. height: 125px;
  716. font-size: 24px;
  717. // color: #fedca9;
  718. color: #FFF3DD;
  719. font-weight: bold;
  720. line-height: 42px;
  721. text-align: center;
  722. padding-top: 65px;
  723. .bottom{
  724. color: #fedca9;
  725. position: relative;
  726. &::before, &::after{
  727. width: 100%;
  728. position: absolute;
  729. top: 0;
  730. left: 0;
  731. content: attr(data-text);
  732. display: block;
  733. }
  734. &::before{
  735. color: #fedca9;
  736. z-index: 2;
  737. -webkit-mask-image: linear-gradient(transparent 60%, #000 25%);
  738. }
  739. &::after{
  740. color: #FFF3DD;
  741. z-index: 1;
  742. -webkit-mask-image: linear-gradient(#000 25%, transparent 60%);
  743. }
  744. }
  745. }
  746. .get-red{
  747. height: 134px;
  748. width: 134px;
  749. display: block;
  750. margin: 0 auto;
  751. background: url(../img/btn-redbag.png?__sprite) no-repeat;
  752. &.is-disabled{
  753. background: url(../img/btn-redbag-disabled.png?__sprite) no-repeat;
  754. }
  755. }
  756. .remain-time{
  757. font-size: 16px;
  758. color: #e4c392;
  759. line-height: 21px;
  760. text-align: center;
  761. margin-top: 50px;
  762. em{
  763. color: #ff6600;
  764. font-weight: bold;
  765. }
  766. }
  767. .desc{
  768. width: 320px;
  769. margin: 34px auto 0;
  770. text-align: justify;
  771. font-size: 16px;
  772. color: #ffddaa;
  773. line-height: 29px;
  774. padding: 14px 16px 14px 18px;
  775. border: 1px #957244 solid;
  776. }
  777. }
  778. .step{
  779. height: 670px;
  780. width: 341px;
  781. float: right;
  782. margin-right: 120px;
  783. position: relative;
  784. background: url(../img/bg-step.png) no-repeat top center;
  785. .title{
  786. font-size: 24px;
  787. color: #fff;
  788. font-weight: bold;
  789. line-height: 80px;
  790. text-align: center;
  791. padding-top: 17px;
  792. }
  793. li{
  794. width: 290px;
  795. margin: 0 auto;
  796. font-size: 16px;
  797. color: #ffddaa;
  798. line-height: 28px;
  799. &.note{
  800. font-size: 14px;
  801. color: #9aacff;
  802. line-height: 25px;
  803. margin: 14px auto;
  804. }
  805. }
  806. .auth{
  807. height: 58px;
  808. width: 309px;
  809. display: block;
  810. cursor: default;
  811. background: url(../img/bg-auth.png) no-repeat top center;
  812. position: absolute;
  813. bottom: 73px;
  814. left: 50%;
  815. margin-left: -154px;
  816. &.authed{
  817. background-image: url(../img/bg-authed.png);
  818. cursor: auto;
  819. }
  820. &.to-auth{
  821. cursor: pointer;
  822. }
  823. }
  824. }
  825. }
  826. }
  827. .mod-preview{
  828. height: 801px;
  829. padding-top: 99px;
  830. background-image: url(../img/bg-preview.jpg);
  831. .mod-inner{
  832. position: relative;
  833. margin-top: 62px;
  834. .preview-slider{
  835. height: 556px;
  836. width: 988px;
  837. margin: 0 auto;
  838. position: relative;
  839. a{
  840. height: 552px;
  841. width: 984px;
  842. padding: 2px;
  843. position: absolute;
  844. top: 0;
  845. left: 0;
  846. &.dg-center{
  847. .bg{
  848. display: block;
  849. }
  850. }
  851. img{
  852. height: 100%;
  853. width: 100%;
  854. display: block;
  855. }
  856. .bg{
  857. display: none;
  858. height: 100%;
  859. width: 100%;
  860. position: absolute;
  861. z-index: 2;
  862. top: 0;
  863. left: 0;
  864. bottom: 0;
  865. right: 0;
  866. background: url(../img/bg-preview-slider.png) top center no-repeat;
  867. }
  868. .txtbox{
  869. position: absolute;
  870. z-index: 3;
  871. bottom: 0;
  872. left: 0;
  873. right: 0;
  874. font-size: 14px;
  875. color: #fff;
  876. line-height: 25px;
  877. text-align: left;
  878. padding: 50px 18px 6px;
  879. box-sizing: border-box;
  880. background: url(../img/bg-gradual.png) repeat-x bottom left;
  881. h3{
  882. font-size: 42px;
  883. font-weight: bold;
  884. line-height: 67px;
  885. }
  886. p{
  887. margin-bottom: 8px;
  888. span{
  889. font-weight: bold;
  890. color: #ffd88c;
  891. }
  892. }
  893. }
  894. }
  895. }
  896. .preview-switch{
  897. height: 60px;
  898. width: 30px;
  899. background: center no-repeat;
  900. cursor: pointer;
  901. display: block;
  902. position: absolute;
  903. top: 50%;
  904. margin-top: -30px;
  905. &.prev{
  906. left: 2px;
  907. background-image: url(../img/bg-switch-left.png?__sprite);
  908. }
  909. &.next{
  910. right: 2px;
  911. background-image: url(../img/bg-switch-right.png?__sprite);
  912. }
  913. }
  914. }
  915. }
  916. }
  917. //弹窗基础样式
  918. .ui-dialog {
  919. border-radius: 6px;
  920. .ui-dialog-title {
  921. font-family: "微软雅黑";
  922. padding-bottom: 5px;
  923. padding-top: 10px;
  924. color: #777;
  925. font-size: 14px;
  926. text-indent: 0;
  927. }
  928. .ui-dialog-close {
  929. background: 0;
  930. color: #777;
  931. text-indent: 0;
  932. font-size: 20px;
  933. top: 0;
  934. right: 0;
  935. &:hover {
  936. color: #30a5ef;
  937. }
  938. }
  939. }
  940. //验证码样式
  941. .dialog-code {
  942. font-size: 14px;
  943. .code-wrap {
  944. @include clearfix;
  945. height: 65px;
  946. padding-bottom: 15px;
  947. .code-img {
  948. width: 205px;
  949. height: 100%;
  950. float: left;
  951. text-align: center;
  952. img {
  953. vertical-align: middle;
  954. }
  955. }
  956. .code-again {
  957. float: left;
  958. line-height: 24px;
  959. color: #333;
  960. margin-top: 5px;
  961. .change-codeimg {
  962. cursor: pointer;
  963. color: #30a5ef;
  964. &:hover {
  965. text-decoration: underline;
  966. }
  967. }
  968. }
  969. }
  970. .input-line {
  971. color: #777;
  972. line-height: 36px;
  973. input {
  974. border: 1px solid #E3E3E3;
  975. width: 163px;
  976. height: 36px;
  977. line-height: 36px;
  978. padding-left: 10px;
  979. }
  980. }
  981. .btn-line {
  982. text-align: center;
  983. margin-top: 20px;
  984. span {
  985. @include inline-block; //width: 130px;
  986. width: 271px;
  987. height: 38px;
  988. line-height: 38px;
  989. text-align: center;
  990. background: #30a5ef;
  991. color: #fff;
  992. border-radius: 4px;
  993. cursor: pointer;
  994. &:hover {
  995. background: #1386cf;
  996. }
  997. }
  998. }
  999. }
  1000. .question-tips-dialog {
  1001. display: table;
  1002. min-width: 337px;
  1003. height: 110px;
  1004. text-align: center;
  1005. .text-wrap {
  1006. p {
  1007. font-size: 16px;
  1008. line-height: 32px;
  1009. }
  1010. span {
  1011. color: $maincolor;
  1012. }
  1013. }
  1014. .btn-wrap {
  1015. margin-top: 30px;
  1016. }
  1017. .btn {
  1018. display: inline-block;
  1019. line-height: 36px;
  1020. height: 36px;
  1021. margin: 0 6px;
  1022. cursor: pointer;
  1023. border-radius: 3px;
  1024. font-size: 16px;
  1025. width: 100px;
  1026. }
  1027. .btn-cancel {
  1028. color: #333;
  1029. background-color: #f9f9f9;
  1030. border: 1px solid #e3e3e3;
  1031. &:hover {
  1032. background-color: #fafafa;
  1033. }
  1034. }
  1035. .btn-submit {
  1036. background: #30a5ef;
  1037. color: #fff;
  1038. &:hover {
  1039. background-color: #55b7f5;
  1040. }
  1041. }
  1042. }
  1043. .pop-flash{
  1044. .btn-close{
  1045. position: absolute;
  1046. top: -40px;
  1047. right: -60px;
  1048. width: 40px;
  1049. height: 40px;
  1050. background: url(../img/icon-close.png?__sprite) no-repeat;
  1051. }
  1052. .video-wrap{
  1053. height : 548px;
  1054. width : 974px;
  1055. background: #000000;
  1056. }
  1057. }
  1058. /*抽奖弹窗*/
  1059. .ui-dialog .ui-dialog-close {
  1060. font-size: 30px;
  1061. }
  1062. .lottery-tip-wrap {
  1063. width: 400px;
  1064. padding-bottom: 35px;
  1065. text-align: center;
  1066. .tip-title {
  1067. font-size: 20px;
  1068. font-weight: bold;
  1069. line-height: 2;
  1070. em {
  1071. color: #ea1003;
  1072. }
  1073. }
  1074. a {
  1075. font-size: 14px;
  1076. color: #0075a9;
  1077. line-height: 40px;
  1078. }
  1079. p {
  1080. font-size: 16px;
  1081. color: #333;
  1082. line-height: 40px;
  1083. }
  1084. .lottery-tips {
  1085. height: 35px;
  1086. margin-top: 15px;
  1087. font-size: 0;
  1088. .comfirm-btn {
  1089. @include reset;
  1090. @include inline-block;
  1091. line-height: 35px;
  1092. background-color: #ea1003;
  1093. padding: 0 40px;
  1094. font-size: 14px;
  1095. color: #fff;
  1096. border: none;
  1097. outline: none;
  1098. }
  1099. }
  1100. }