index.vue 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. <template>
  2. <div>
  3. <header-component></header-component>
  4. <el-carousel indicator-position="none" arrow="never" height="900px">
  5. <el-carousel-item v-for="item,index in 3" :key="index">
  6. <div class="banner" :id="'banner'+index">
  7. <div class="position-box">
  8. <button class="carousel-apply-btn">申请代理</button>
  9. </div>
  10. </div>
  11. </el-carousel-item>
  12. </el-carousel>
  13. <div class="position-box">
  14. <div class="login-box">
  15. <div class="box-inner">
  16. <login-box></login-box>
  17. </div>
  18. </div>
  19. </div>
  20. <proxy-banner></proxy-banner>
  21. <div class="main-currency-container">
  22. <div class="header-title">
  23. <h1 class="title">主流交易币种</h1>
  24. <h2 class="eng-title">Mainstream Trading Crypto-currency</h2>
  25. <p class="blue-line"></p>
  26. </div>
  27. <div class="currency-container">
  28. <div class="currency-layer">
  29. <currency-block v-for="item,index in currencyDataList" :currency-data="item"></currency-block>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="join-gain-container">
  34. <special-title title="加入我们,可以获得" eng-title="To join our agent you will gain the following advantages"></special-title>
  35. <join-gain-block
  36. class="jg-block"
  37. v-for="item,index in joinGainInfoDataList"
  38. :join-gain-info-data="item">
  39. </join-gain-block>
  40. </div>
  41. <div class="full-pic">
  42. <div class="introduce">
  43. <img class="plat-block" :src="require('../assets/platBlock.png')">
  44. <h1 class="title-main">专业严谨</h1>
  45. <h2 class="title-sub">的交易平台</h2>
  46. <p class="eng-title">Professional and rigorous trading platform</p>
  47. <hr class="short-white-line"/>
  48. <pre class="introduce-block">
  49. Fx66是基于区块链底层技术的数字货币交易所,
  50. 拥有撮合交易系统低延时、高并发的核心技术,
  51. 勇于突破传统交易所的局限,
  52. 将交易、资产写入区块链。
  53. </pre>
  54. </div>
  55. </div>
  56. <div class="one-stop-container">
  57. <special-title title="全方位 一站式服务" eng-title="All-around one-stop service"></special-title>
  58. <div class="intro-container">
  59. <rhombus-block v-for="item,index in infoDataList" :info-data="item"></rhombus-block>
  60. </div>
  61. </div>
  62. <right-helper></right-helper>
  63. </div>
  64. </template>
  65. <script>
  66. import HeaderComponent from "../components/header";
  67. import ProxyBanner from "../components/proxyBanner";
  68. import CurrencyBlock from "../components/currencyBlock";
  69. import JoinGainBlock from "../components/joinGainBlock";
  70. import SpecialTitle from "../components/specialTitle";
  71. import RhombusBlock from "../components/rhombusBlock";
  72. import RightHelper from "../components/rightHelper";
  73. import LoginBox from "../components/loginBox";
  74. export default {
  75. name: "index",
  76. components: {
  77. LoginBox,
  78. RightHelper, RhombusBlock, SpecialTitle, JoinGainBlock, CurrencyBlock, ProxyBanner, HeaderComponent, },
  79. data(){
  80. return{
  81. currencyDataList:[
  82. {
  83. icon:'&#xe615;',
  84. name:'btc(比特币)'
  85. },
  86. {
  87. icon:'&#xe615;',
  88. name:'btc(比特币)'
  89. },
  90. {
  91. icon:'&#xe615;',
  92. name:'btc(比特币)'
  93. },
  94. {
  95. icon:'&#xe615;',
  96. name:'btc(比特币)'
  97. },
  98. {
  99. icon:'&#xe615;',
  100. name:'btc(比特币)'
  101. },
  102. {
  103. icon:'&#xe615;',
  104. name:'btc(比特币)'
  105. },
  106. {
  107. icon:'&#xe615;',
  108. name:'btc(比特币)'
  109. },
  110. {
  111. icon:'&#xe615;',
  112. name:'btc(比特币)'
  113. },{
  114. icon:'&#xe615;',
  115. name:'btc(比特币)'
  116. },
  117. {
  118. icon:'&#xe615;',
  119. name:'btc(比特币)'
  120. },
  121. ],
  122. joinGainInfoDataList:[
  123. {
  124. title:'超高返佣',
  125. engTitle:'High commission',
  126. description:'推荐FX66给他人,可以获取被推荐人等比例交易的手续费做为佣金。',
  127. imgUrl:require('../assets/add01.png')
  128. },
  129. {
  130. title:'安全存储',
  131. engTitle:'Secure storage ',
  132. description:'每笔交易需私钥签名,分布式校验,无法假冒和盗用;平台资金更安全,操作更快捷。',
  133. imgUrl:require('../assets/add02.png')
  134. },
  135. {
  136. title:'市场支持',
  137. engTitle:'Marketing support',
  138. description:'FX66经纪商可以共享公司的全部交易工具和交易资源,并且会在市场宣传方面给予相应的支持!',
  139. imgUrl:require('../assets/add03.png')
  140. },
  141. {
  142. title:'技术支持',
  143. engTitle:'Technical support',
  144. description:'我们拥有领先的技术开发团队,针对不同客户需求量身制定专属平台,仅收取少量成本费。',
  145. imgUrl:require('../assets/add04.png')
  146. }
  147. ],
  148. infoDataList:[
  149. {
  150. icon:'&#xe648;',
  151. line1:'FX66具备一键交易功能,',
  152. line2:'闪电交易,专业快捷!'
  153. },
  154. {
  155. icon:'&#xe634;',
  156. line1:'手机客户端,',
  157. line2:'随时随地,紧跟市场!'
  158. },
  159. {
  160. icon:'&#xe847;',
  161. line1:'专业分析指导,',
  162. line2:'价值评估市场!'
  163. },
  164. {
  165. icon:'&#xe637;',
  166. line1:'新手帮帮帮',
  167. line2:'一小时教您炒币入门'
  168. }
  169. ]
  170. }
  171. },
  172. methods:{
  173. }
  174. }
  175. </script>
  176. <style scoped lang="less">
  177. @import "../assets/less/_variable.less";
  178. #banner0{
  179. background: url(../assets/banner/banner.png) no-repeat 50%;
  180. background-size: auto 100%;
  181. height: 900px;
  182. }
  183. #banner1{
  184. background: url(../assets/banner/banner1.png) no-repeat 50%;
  185. background-size: auto 100%;
  186. height: 900px;
  187. }
  188. #banner2{
  189. background: url(../assets/banner/banner2.png) no-repeat 50%;
  190. background-size: auto 100%;
  191. height: 900px;
  192. }
  193. .carousel-apply-btn{
  194. position: absolute;
  195. width: 160px;
  196. height: 45px;
  197. background-color: #ffdf00;
  198. border-radius: 2px;
  199. border: none;
  200. font-size: 20px;
  201. color: #154bb2;
  202. left: 0;
  203. /*left: 350px;*/
  204. bottom: 400px;
  205. }
  206. .position-box{
  207. position: absolute;
  208. width: 1200px;
  209. transform: translateX(-50%);
  210. left: 50%;
  211. /*margin: 0 auto;*/
  212. top: 0;
  213. height:900px;
  214. }
  215. .login-box{
  216. position: absolute;
  217. right: 0;
  218. top:180px;
  219. width: 390px;
  220. height: 494px;
  221. background-color: rgba(255, 255, 255, 0.4);
  222. padding: 15px;
  223. & .box-inner{
  224. height: 100%;
  225. width: 100%;
  226. background-color: white;
  227. }
  228. }
  229. .main-currency-container{
  230. height: 910px;
  231. background: url(../assets/coinBg.png) no-repeat bottom;
  232. margin-top: 75px;
  233. & .header-title{
  234. & .title{
  235. font-weight: 700;
  236. font-size: 35px;
  237. color: @lightBlack;
  238. line-height: 35px;
  239. }
  240. & .eng-title{
  241. font-size: 20px;
  242. color: @lighterBlack;
  243. margin-top: 12px;
  244. }
  245. & .blue-line{
  246. margin: 15px auto 0;
  247. width: 60px;
  248. height: 2px;
  249. background-color: #1a6fa6;
  250. }
  251. }
  252. & .currency-container{
  253. margin-top: 85px;
  254. & .currency-layer{
  255. width: 912px;
  256. height: 363px;
  257. margin: 0 auto;
  258. display: flex;
  259. /*flex-direction: column;*/
  260. flex-wrap: wrap;
  261. align-content: space-between;
  262. justify-content: space-between;
  263. }
  264. }
  265. }
  266. .join-gain-container{
  267. width: 1200px;
  268. margin: 65px auto 0;
  269. display: flex;
  270. flex-wrap: wrap;
  271. & .jg-block{
  272. width: 50%;
  273. margin-top: 80px;
  274. }
  275. }
  276. .full-pic{
  277. position: relative;
  278. margin-top: 140px;
  279. width: 100%;
  280. height: 830px;
  281. background: url(../assets/platBg.png) 50% 50% no-repeat;
  282. & .introduce{
  283. position: absolute;
  284. width: 1200px;
  285. height: 255px;
  286. background-color: rgba(2, 134, 219, 0.83);
  287. left: 50%;
  288. transform: translateX(-50%);
  289. bottom:80px;
  290. & .plat-block{
  291. position: absolute;
  292. top: -37px;
  293. left: 157px;
  294. }
  295. & .title-main{
  296. color: white;
  297. text-align: left;
  298. font-size: 35px;
  299. font-weight: 700;
  300. margin:30px 0 0 195px;
  301. }
  302. & .title-sub{
  303. font-size: 24px;
  304. margin-left: 280px;
  305. color: white;
  306. text-align: left;
  307. }
  308. & .eng-title{
  309. width: 200px;
  310. margin-left: 195px;
  311. font-size: 12px;
  312. color: white;
  313. text-align: left;
  314. }
  315. & .short-white-line{
  316. margin: 20px 0 0 195px;
  317. border: none;
  318. height: 2px;
  319. width: 45px;
  320. background-color: white;
  321. }
  322. & .introduce-block{
  323. position: absolute;
  324. left: 580px;
  325. top: 57px;
  326. font-size: 18px;
  327. color: white;
  328. line-height: 2;
  329. }
  330. }
  331. }
  332. .one-stop-container{
  333. width: 1200px;
  334. margin: 70px auto 0;
  335. & .intro-container{
  336. margin-top: 85px;
  337. margin-bottom: 70px;
  338. display: inline-flex;
  339. }
  340. }
  341. </style>