homePage.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. <template>
  2. <div class="homePage">
  3. <div class="banner">
  4. <el-carousel height="900px" arrow='never' indicator-position='none'>
  5. <el-carousel-item v-for="item in 3" :key="item">
  6. <div v-bind:class="{'banner1':item==1,'banner2':item==2,'banner3':item==3}">
  7. </div>
  8. </el-carousel-item>
  9. </el-carousel>
  10. <div class="bottom-line">
  11. <span class="btn" @click="apply">申请代理</span>
  12. <span class="tel">热线电话:4001-566-899</span>
  13. </div>
  14. <login @chuanzhi="chuanzhi" :isquit='isquit'></login>
  15. </div>
  16. <div class="coin-block">
  17. <div class="coin-title">
  18. <h1>主流交易币种</h1>
  19. <h2>Mainstream Trading Crypto-currency</h2>
  20. <div class="underline"></div>
  21. </div>
  22. <div class="coin-content">
  23. <ul>
  24. <li>
  25. <div class="smallBox">
  26. <div class="iconfont icon-BTC1 icon"></div>
  27. <p>BTC( 比特币 )</p>
  28. </div>
  29. </li>
  30. <li>
  31. <div class="smallBox">
  32. <div class="iconfont icon-bty1 icon"></div>
  33. <p>BTY( 比特元 )</p>
  34. </div>
  35. </li>
  36. <li>
  37. <div class="smallBox">
  38. <div class="iconfont icon-BCC1 icon"></div>
  39. <p>BCC( 比特现金 )</p>
  40. </div>
  41. </li>
  42. <li>
  43. <div class="smallBox">
  44. <div class="iconfont icon-ETH1 icon"></div>
  45. <p>ETH( 以太坊 )</p>
  46. </div>
  47. </li>
  48. <li>
  49. <div class="smallBox">
  50. <div class="iconfont icon-ETC1 icon"></div>
  51. <p>ETC( 以太坊经典 )</p>
  52. </div>
  53. </li>
  54. <li>
  55. <div class="smallBox">
  56. <div class="iconfont icon-ZEC1 icon"></div>
  57. <p>ZEC( 零币 )</p>
  58. </div>
  59. </li>
  60. <li>
  61. <div class="smallBox">
  62. <div class="iconfont icon-LTC1 icon"></div>
  63. <p>LTC( 莱特币 )</p>
  64. </div>
  65. </li>
  66. <li>
  67. <div class="smallBox">
  68. <div class="iconfont icon-BTS1 icon"></div>
  69. <p>BTS( 比特股 )</p>
  70. </div>
  71. </li>
  72. <li>
  73. <div class="smallBox">
  74. <div class="iconfont icon-SC1 icon"></div>
  75. <p>SC( 云储币 )</p>
  76. </div>
  77. </li>
  78. <li>
  79. <div class="smallBox">
  80. <div class="iconfont icon-DCR3 icon"></div>
  81. <p>DCR( 德信币 )</p>
  82. </div>
  83. </li>
  84. </ul>
  85. </div>
  86. </div>
  87. <div class="join">
  88. <div class="title">
  89. <hr>
  90. <h1>加入我们,可以获得</h1>
  91. <hr>
  92. </div>
  93. <h2>To join our agent you will gain the following advantages</h2>
  94. <div class="content">
  95. <div class="line">
  96. <div class="line-item">
  97. <h4>超高返佣</h4>
  98. <h5>High commission</h5>
  99. <p>推荐FX66给他人,可以获取被推荐人等比例的交易手续费做为佣金。</p>
  100. <img src="../assets/img/add01.png">
  101. <div class="apply-btn">
  102. <span>立即申请经纪商</span>
  103. <i class="el-icon-arrow-right"></i>
  104. </div>
  105. </div>
  106. <div class="line-item">
  107. <h4>VIP奖励</h4>
  108. <h5>VIP rewards</h5>
  109. <p>每个经纪商都会有相应的业绩排名,凡是每个月业绩排名靠前者,均可以得到我们平台的VIP级别奖励。</p>
  110. <img src="../assets/img/add02.png">
  111. <div class="apply-btn">
  112. <span>立即申请经纪商</span>
  113. <i class="el-icon-arrow-right"></i>
  114. </div>
  115. </div>
  116. </div>
  117. <div class="line">
  118. <div class="line-item">
  119. <h4>市场支持</h4>
  120. <h5>Marketing support</h5>
  121. <p>FX66经纪商可以使用我们所可以提供的全部交易工具和交易资源,并且会在市场宣传方面给予相应的支持!</p>
  122. <img src="../assets/img/add03.png">
  123. <div class="apply-btn">
  124. <span>立即申请经纪商</span>
  125. <i class="el-icon-arrow-right"></i>
  126. </div>
  127. </div>
  128. <div class="line-item">
  129. <h4>技术支持</h4>
  130. <h5>Technical support</h5>
  131. <p>我们拥有强大的技术开发团队,可以制定符合客户营销特点的网站,只收成本费。</p>
  132. <img src="../assets/img/add04.png">
  133. <div class="apply-btn">
  134. <span>立即申请经纪商</span>
  135. <i class="el-icon-arrow-right"></i>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <div class="plat">
  142. <div class="plat-back">
  143. <div class="word-box">
  144. <img src="../assets/img/platBlock.png">
  145. <div class="left">
  146. <p class="word1">专业严谨</p>
  147. <p class="word2">的交易平台</p>
  148. <p class="word3">
  149. Professional and rigorous trading<br>
  150. platform
  151. </p>
  152. <hr>
  153. </div>
  154. <p class="right">
  155. <span>FX66是基于区块链底层技术的数字资产交易所,</span>
  156. <span>拥有撮合交易系统低延迟、高并发的核心技术</span>
  157. <span>勇于突破传统交易所的局限,</span>
  158. <span>把交易、资产写入区块链当中。</span>
  159. </p>
  160. </div>
  161. </div>
  162. </div>
  163. <div class="service">
  164. <div class="title">
  165. <hr>
  166. <h3>全方位 一站式服务</h3>
  167. <hr>
  168. </div>
  169. <h4>All-around one-stop service</h4>
  170. <ul class="service-list">
  171. <li>
  172. <div class="item">
  173. <i class="iconfont icon-shandian"></i>
  174. </div>
  175. <div class="item2">
  176. FX66具备一键交易功能,<br>闪电交易,专业快捷!
  177. </div>
  178. </li>
  179. <li>
  180. <div class="item">
  181. <i class="iconfont icon-shouji"></i>
  182. </div>
  183. <div class="item2">
  184. 手机客户端,<br>随时随地,紧跟市场!
  185. </div>
  186. </li>
  187. <li>
  188. <div class="item">
  189. <i class="iconfont icon-jiazhipinggu-"></i>
  190. </div>
  191. <div class="item2">
  192. 专业分析指导,<br>价值评估市场!
  193. </div>
  194. </li>
  195. <li>
  196. <div class="item">
  197. <i class="iconfont icon-kefu1"></i>
  198. </div>
  199. <div class="item2">
  200. 新手帮帮帮,<br>一小时教您炒币入门
  201. </div>
  202. </li>
  203. </ul>
  204. </div>
  205. <div class="bottom-shadow" v-bind:class="{flex:isFlex}">
  206. <div class="btn" @click='apply'>申请经纪商</div>
  207. <span>热线电话:+86 173 5471 8363</span>
  208. </div>
  209. <contactWe/>
  210. </div>
  211. </template>
  212. <script>
  213. import login from '../components/login.vue'
  214. import contactWe from '../components/contact-we.vue'
  215. export default {
  216. name: 'homePage',
  217. data () {
  218. return {
  219. isFlex: false
  220. }
  221. },
  222. props:['isquit'],
  223. components:{
  224. login,contactWe
  225. },
  226. methods:{
  227. bottomShadow(){
  228. let t = document.documentElement.scrollTop || document.body.scrollTop
  229. if (t>850) {
  230. this.isFlex=true
  231. }else {
  232. this.isFlex=false
  233. }
  234. },
  235. chuanzhi(data){
  236. this.$emit('chuanzhi',data)
  237. },
  238. apply(){
  239. if (window.localStorage.username) {
  240. this.$router.push('/apply')
  241. }else{
  242. alert('请先登陆')
  243. }
  244. }
  245. },
  246. mounted(){
  247. window.addEventListener('scroll',this.bottomShadow, false)
  248. },
  249. }
  250. </script>
  251. <!-- Add "scoped" attribute to limit CSS to this component only -->
  252. <style scoped>
  253. .homePage{
  254. .banner{
  255. position: relative;
  256. .banner1{
  257. background: url('../assets/img/banner1.png');
  258. background-size:auto 100%;
  259. height: 900px;
  260. background-position: center;
  261. }
  262. .banner2{
  263. background: url('../assets/img/banner2.png');
  264. background-size:auto 100%;
  265. height: 900px;
  266. background-position: center;
  267. }
  268. .banner3{
  269. background: url('../assets/img/banner3.png');
  270. background-size:auto 100%;
  271. height: 900px;
  272. background-position: center;
  273. }
  274. .bottom-line{
  275. height: 100px;
  276. background-color: rgba(0,0,0,.5);
  277. width: 100%;
  278. line-height: 100px;
  279. margin: 0 auto;
  280. position: absolute;
  281. top: 800px;
  282. z-index: 99;
  283. text-align: center;
  284. .btn{
  285. display: inline-block;
  286. width: 140px;
  287. height: 40px;
  288. line-height: 40px;
  289. border-radius: 20px;
  290. font-size: 18px;
  291. font-weight: bold;
  292. margin-right: 60px;
  293. color: white;
  294. background: #1a6fa6;
  295. cursor: pointer;
  296. }
  297. .tel{
  298. color: #fff;
  299. font-size: 25px;
  300. font-weight: bold;
  301. }
  302. }
  303. }
  304. .coin-block{
  305. height: 900px;
  306. background: url('../assets/img/coinBg.png') no-repeat bottom;
  307. .coin-title{
  308. padding-top: 78px;
  309. text-align: center;
  310. h1{
  311. font-size: 35px;
  312. font-weight: 700;
  313. color: #333;
  314. }
  315. h2{
  316. font-size: 20px;
  317. color: hsla(0,0%,60%,.8);
  318. margin-top: 12px;
  319. }
  320. .underline{
  321. width: 60px;
  322. height: 2px;
  323. margin: 20px auto 0;
  324. background-color: #1a6fa6;
  325. }
  326. }
  327. .coin-content{
  328. width: 1200px;
  329. margin: 80px auto 0;
  330. ul{
  331. width: 915px;
  332. height:363px;
  333. margin: 0 auto;
  334. li{
  335. width: 180px;
  336. height: 180px;
  337. background-color: #fff;
  338. display: inline-block;
  339. float: left;
  340. margin-right: 3px;
  341. margin-bottom: 3px;
  342. .smallBox{
  343. height: 100%;
  344. width: 100%;
  345. text-align: center;
  346. .icon{
  347. font-size: 62px;
  348. margin-top: 30px;
  349. margin-bottom: 30px;
  350. color: #1a6fa6;
  351. }
  352. p{
  353. font-size: 20px;
  354. color: #999;
  355. }
  356. }
  357. }
  358. }
  359. }
  360. }
  361. .join{
  362. width: 1200px;
  363. margin: 0 auto;
  364. padding-top: 60px;
  365. height: 900px;
  366. .title{
  367. display: flex;
  368. align-items: center;
  369. justify-content: space-between;
  370. hr{
  371. width: 420px;
  372. height: 1px;
  373. background-color: #e5e5e5;
  374. border: 0;
  375. }
  376. h1{
  377. font-size: 35px;
  378. font-weight: 700;
  379. line-height: 35px;
  380. }
  381. }
  382. h2{
  383. font-size: 20px;
  384. color: #999;
  385. margin-top: 12px;
  386. text-align: center;
  387. font-weight: 500;
  388. }
  389. .content{
  390. .line{
  391. margin-top: 80px;
  392. display: flex;
  393. .line-item{
  394. position: relative;
  395. text-align: left;
  396. width: 430px;
  397. height: 250px;
  398. border:1px solid #eee;
  399. color: #333;
  400. padding: 32px 0 0 20px;
  401. background-color: #fff;
  402. &:first-child{
  403. margin-right: 200px;
  404. }
  405. &:hover{
  406. border:1px solid #1a6fa6;
  407. border-left:3px solid #1a6fa6;
  408. box-shadow: 0 0 20px 1px #e5e5e5;
  409. }
  410. &:hover .apply-btn{
  411. display: block;
  412. }
  413. h4{
  414. font-size: 25px;
  415. font-weight: bold;
  416. line-height: 1;
  417. }
  418. h5{
  419. font-size: 20px;
  420. line-height: 1;
  421. color: #999;
  422. font-weight: 500;
  423. margin-top: 10px;
  424. margin-bottom: 40px;
  425. }
  426. p{
  427. width: 255px;
  428. font-size: 15px;
  429. }
  430. img{
  431. position: absolute;
  432. top:20px;
  433. right: -135px;
  434. width: 270px;
  435. }
  436. .apply-btn{
  437. display: none;
  438. position: absolute;
  439. bottom:-22px;
  440. width: 170px;
  441. height: 45px;
  442. background-color: #1a6fa6;
  443. color: #fff;
  444. padding-left: 18px;
  445. cursor: pointer;
  446. span{
  447. line-height: 45px;
  448. font-size: 15px;
  449. }
  450. i{
  451. display: inline-block;
  452. width: 45px;
  453. height: 45px;
  454. text-align: center;
  455. line-height: 45px;
  456. font-size: 16px;
  457. position: absolute;
  458. right: 0;
  459. top: 0;
  460. background-color: #2580bb;
  461. }
  462. }
  463. }
  464. }
  465. }
  466. }
  467. .plat{
  468. height: 900px;
  469. background: url('../assets/img/platBg.png') no-repeat center;
  470. background-size: auto 100%;
  471. min-width: 1200px;
  472. position: relative;
  473. .plat-back{
  474. width: 100%;
  475. height: 458px;
  476. position: absolute;
  477. bottom: 0;
  478. .word-box{
  479. width: 1200px;
  480. height: 250px;
  481. position: absolute;
  482. left:50%;
  483. transform: translateX(-50%);
  484. bottom: 85px;
  485. background-color:rgba(2,134,219,0.83);
  486. padding-left: 195px;
  487. text-align: left;
  488. color: #fff;
  489. }
  490. img{
  491. position: absolute;
  492. top: -37px;
  493. left: 158px;
  494. }
  495. .left{
  496. line-height: 1;
  497. .word1{
  498. font-size: 35px;
  499. margin-top: 30px;
  500. font-weight: 700;
  501. }
  502. .word2{
  503. font-size: 24px;
  504. margin-left: 80px;
  505. margin-top: 10px;
  506. font-weight: 700;
  507. }
  508. .word3{
  509. margin-top: 16px;
  510. font-size: 12px;
  511. line-height: 1.5;
  512. }
  513. hr{
  514. width: 45px;
  515. height: 2px;
  516. background: #fff;
  517. margin-top: 20px;
  518. border: none;
  519. }
  520. }
  521. .right{
  522. position: absolute;
  523. width: 400px;
  524. right: 250px;
  525. top:56px;
  526. font-size: 18px;
  527. text-align: center;
  528. line-height: 1.6;
  529. span{
  530. display: block;
  531. padding: 5px 0;
  532. }
  533. }
  534. }
  535. }
  536. .service{
  537. width: 1200px;
  538. height: 600px;
  539. margin: 0 auto;
  540. padding-top: 68px;
  541. .title{
  542. display: flex;
  543. justify-content: space-between;
  544. align-items: center;
  545. hr{
  546. width: 420px;
  547. height: 1px;
  548. background-color: #e5e5e5;
  549. border: none;
  550. }
  551. h3{
  552. font-size: 35px;
  553. font-weight: 700;
  554. line-height: 1;
  555. }
  556. }
  557. h4{
  558. font-size: 20px;
  559. color: #999;
  560. margin-top: 12px;
  561. text-align: center;
  562. }
  563. .service-list{
  564. margin-top: 80px;
  565. display: -webkit-flex;
  566. display: -moz-flex;
  567. display: -ms-flex;
  568. display: -o-flex;
  569. display: flex;
  570. justify-content: center;
  571. li{
  572. border: 1px solid #dcdcdc;
  573. width: 176px;
  574. height: 176px;
  575. transform: rotate(45deg);
  576. margin-right: 72px;
  577. background-color: #fff;
  578. .item{
  579. width: 100%;
  580. height: 100%;
  581. line-height: 176px;
  582. text-align: center;
  583. transform: rotate(-45deg);
  584. i{
  585. font-size: 60px;
  586. color: #2580bb;
  587. }
  588. }
  589. .item2{
  590. width: 100%;
  591. height: 100%;
  592. display: none;
  593. justify-content: center;
  594. align-items: center;
  595. transform: rotate(-45deg);
  596. color: #fff;
  597. font-size: 15px;
  598. }
  599. &:hover .item2{
  600. display: flex;
  601. }
  602. &:hover .item{
  603. display: none;
  604. }
  605. &:hover{
  606. background: #1a6fa6;
  607. }
  608. }
  609. }
  610. }
  611. .bottom-shadow {
  612. position: fixed;
  613. bottom: -1px;
  614. height: 80px;
  615. background-color: rgba(0,0,0,0.6);
  616. z-index: 11;
  617. width: 100%;
  618. margin: 0 auto;
  619. justify-content: center;
  620. align-items: center;
  621. display: none;
  622. &.flex{
  623. display: flex;
  624. }
  625. .btn{
  626. width: 140px;
  627. height: 40px;
  628. line-height: 40px;
  629. text-align: center;
  630. border-radius: 20px;
  631. border: 0;
  632. font-size: 18px;
  633. font-weight: 700;
  634. margin-right: 60px;
  635. cursor: pointer;
  636. background-color: #1a6fa6;
  637. color: #fff;
  638. }
  639. span{
  640. line-height: 80px;
  641. color: #fff;
  642. font-size: 25px;
  643. font-weight: 700;
  644. }
  645. }
  646. }
  647. </style>