You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2460 lines
59 KiB

<template>
<div id="dowebok" ref="dowebok">
<div class="section" v-if="0">
<div class="banner-block col-xs-8">
<!-- <el-carousel :interval="6000" height="490px" style="width: 100%">
<el-carousel-item v-for="item in pcBannerList" :key="item.id" >
<img :src="item.imgurl" width="100%" height="100%" />
</el-carousel-item>
</el-carousel> -->
<el-carousel class="el_carousel" :interval="3000" arrow="never" height="660px">
<el-carousel-item class="el_carousel_item">
<img src="../../assets/img/banner/yb1.jpg" />
</el-carousel-item>
<el-carousel-item class="el_carousel_item">
<img src="../../assets/img/banner/yb2.jpg" />
</el-carousel-item>
<el-carousel-item class="el_carousel_item">
<img src="../../assets/img/banner/yb3.jpg" />
</el-carousel-item>
</el-carousel>
<!-- <img src="../../assets/img/index_banner_2.png" alt="" class="index_banner">-->
<!-- <div class="banner_right">-->
<!-- <p class="banner_right_p">The world's top security risk control system</p>-->
<!-- <input type="text" :placeholder="$t('login.pleaseEmail')" class="banner_right_input">-->
<!-- <div class="banner_right_code">-->
<!-- <input type="text" :placeholder="$t('setting.enterCode')" class="banner_right_input">-->
<!-- <button>{{ $t("login.verCode") }}</button>-->
<!-- </div>-->
<!-- <button class="banner_right_sign">{{$t('common.sign_up')}}</button>-->
<!-- </div>-->
</div>
<!-- 走马灯 -->
</div>
<div style="display: none;">
<!-- 公告 -->
<!-- <div class="notice container d-flex align-items-center">
<div
class="item d-flex"
@click="$router.push(`/notice/${item.id}`)"
v-for="item in noticeList"
:key="item.id"
>
<div class="title text-truncate">{{ item.title }}</div>
<div class="time">{{ getNoticeDate(item.created_at) }}</div>
</div>
<router-link to="/notice" class="text-warning">{{
$t("home.more")
}}</router-link>
</div> -->
<!-- <div class="section1 markets">
<div class="new-ticker-block new-ticker-block-section">
<div class="container">
<div class="markets__container new-ticker-block-wrap shadow">
<div class="ticker-head">
<ul class="nav nav-tabs ticker-nav" role="tablist">
<li class="nav-item">
<div class="markets__title">
{{ $t("home.marketCenter") }}
{{ $t('addinfo.MarketTrend') }}
<span class="markets__title_span">/
24{{ $t("addinfo.HourlyCurrencyUpdates") }}</span>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="javascript:void(0);" @click="tab = 'Optional'"
:class="{ active: tab == 'Optional' }" >
{{ $t("home.optional") }}
<i class="fa fa-stroopwafel"></i>
</a>
</li>
<li class="nav-item" @click="tab = item.coin_name" v-for="item in marketList"
:key="item.coin_name">
<a class="nav-link" :class="{ active: tab == item.coin_name }"
href="javascript:void(0);">{{ item.coin_name }}</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade in show" :class="{ active: 'Optional' == tab }">
<table class="table coin-list table-hover">
<thead>
<tr>
<th></th>
<th scope="col">{{ $t("home.coinType") }}</th>
<th scope="col">{{ $t("home.latestPrice") }}</th>
<th scope="col">{{ $t("home.upAndDown") }}<span class="ti-arrow-down"></span></th>
<th scope="col">{{ $t("home.heigh") }}</th>
<th scope="col">{{ $t("home.low") }}</th>
<th scope="col"><div class="text-center">{{ $t("home.vol") }}</div></th>
</tr>
</thead>
<tbody>
<tr v-for="item in collect" v-show="isShow(item.pair_name)"
:key="item.pair_name">
<td>
<i href="javascript:void(0);" @click="option(item)"
:class="{ active: isCoolect(item) }"
class="el-icon-star-on fn-22"></i>
</td>
<td><router-link :to="`/exchange/${item.symbol}`">{{ item.pair_name }}</router-link></td>
<td><span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.close }}</span></td>
<td><span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.increaseStr }}</span></td>
<td>{{ item.high }}</td>
<td>{{ item.low }}</td>
<td class="text-center">{{ item.vol }}</td>
</tr>
<tr v-if="!collect.length">
<td colspan="7">
<no-record />
</td>
</tr>
</tbody>
</table>
</div>
<div class="tab-pane fade in show" :class="{ active: parentItem.coin_name == tab }"
v-for="parentItem in marketList" :key="parentItem.coin_name">
<table class="table coin-list table-hover">
<thead>
<tr>
<th></th>
<th scope="col" class="table_th">{{ $t("home.coinType") }}</th>
<th scope="col" class="table_th">{{ $t("option.coinType") }}</th>
<th scope="col" class="table_th">{{ $t("home.low") }}</th>
<th scope="col" class="table_th">{{ $t("home.latestPrice") }}</th>
<th scope="col" class="table_th">{{ $t("home.upAndDown") }}<span class="ti-arrow-down"></span></th>
<th scope="col" class="table_th">{{ $t("common.markets") }}</th>
<th scope="col" class="table_th">{{ $t("wallet.transaction") }}</th>
<th scope="col" class="table_th">{{ $t("home.heigh") }}</th>
<th scope="col" class="table_th"><div class="text-center">{{ $t("home.vol") }}</div></th>
</tr>
</thead>
<tbody>
<template v-for="(item, idx) in parentItem.marketInfoList">
<tr v-if="idx < 8" v-show="isShow(item.pair_name)"
:key="item.pair_name">
<td>
<i href="javascript:void(0);" @click="option(item)"
:class="{ active: isCoolect(item) }"
class="el-icon-star-on star-icon fn-22"></i>
</td>
<td>
<router-link :to="`/exchange/${item.symbol}`">
<img :src="item.coin_icon" alt="" class="coin_icon" />
{{ item.pair_name }}
</router-link>
</td>
<td>
<span
:class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.close }}</span>
</td>
<td>{{ item.low }}</td>
<td>
<span
:class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.increaseStr }}</span>
</td>
<td>
<span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.increaseStr }}</span>
<img src="../../assets/img/increace.png" class="td_img" alt="" v-show="item.increase * 1 >= 0">
<img src="../../assets/img/decreace.png" class="td_img" alt="" v-show="item.increase * 1 < 0">
<svg width="109" height="39">
<g style="transform: translate(0, 10px)">
<path :d="item.line" :class="item.increase *1 <0 ?'path_decreace':'path_increace'" />
</g>
</svg>
<price-line :line="item.prices" :increase="item.increase" class="td_img" />
</td>
<td>
<router-link :to="`/exchange/${item.symbol}`"></router-link>
<router-link :to="`/exchange`"><button class="td_button">{{ $t("otc.b7") }}</button></router-link>
</td>
<td>{{ item.high }}</td>
<td class="text-center">{{ item.vol }}</td>
</tr>
</template>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="text-center">
<router-link to="/contract" class="view-more btn btn-outline-light">
{{ $t("home.more") }}
</router-link>
</div>
</div>
</div> -->
<!-- <div class="banner-block col-xs-8 banner2">-->
<!-- <p class="banner_right_p">{{ $t("addinfo.TopEncryptionRiskManagement") }}</p>-->
<!-- <p class="banner_right_p1">{{ $t("addinfo.EscortYourPropertySafety") }}</p>-->
<!-- <div class="banner_right_button">{{ $t("addinfo.ProvidedByTheExperimentalCenter") }}</div>-->
<!-- </div>-->
<!-- <div class="banner-block col-xs-8 banner3">-->
<!-- <p class="banner3_p">-->
<!-- <span>{{ $t("addinfo.ProvidedByTheExperimentalCenter") }}</span><br/>-->
<!-- <span class="banner3_p_span">{{ $t("addinfo.ScanTheQRCodeBelowToDownload") }}</span>-->
<!-- </p>-->
<!-- <div class="banner3_content">-->
<!-- <div class="banner3_content_item">-->
<!-- &lt;!&ndash; <img src="../../assets/img/homescaniso.png" alt="" class="banner3_content_item_code"> &ndash;&gt;-->
<!-- <img src="../../assets/img/download.png" alt="" class="banner3_content_item_code">-->
<!-- section <img src="../../assets/img/Android.png" alt="" class="banner3_content_item_code1">-->
<!-- <div class="introduce">-->
<!-- &lt;!&ndash; <span class="glyphicon glyphicon-phone"></span> &ndash;&gt;-->
<!-- <span>{{ $t("addinfo.AndroidScanCodeDownload") }}</span>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="banner3_content_item">-->
<!-- &lt;!&ndash; <img src="../../assets/img/homescaniso.png" alt="" class="banner3_content_item_code"> &ndash;&gt;-->
<!-- <img src="../../assets/img/download.png" alt="" class="banner3_content_item_code">-->
<!-- &lt;!&ndash; <img src="../../assets/img/IOS.png" alt="" class="banner3_content_item_code1"> &ndash;&gt;-->
<!-- <img src="../../assets/img/IOS.png" alt="" class="banner3_content_item_code1">-->
<!-- <div class="introduce">-->
<!-- &lt;!&ndash; <ion-icon name="phone-portrait"></ion-icon> &ndash;&gt;-->
<!-- <span>{{ $t("addinfo.IOSScanCodeDownload") }}</span>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!--中间显示4个图标-->
</div>
<!-- 弹出框 -->
<div v-if="visible" class="overlay">
<div class="modal_show">
<div class="">
<div class="close-button" @click="close1">×</div>
</div>
<div>
<span class="modal-content11">
Dear user, hello!<br/>
Warmly congratulate the rapid increase in platform users. In order to better provide the best services to users in each region, we will implement a server management mechanism that is separated by region to ensure that each service can be fully implemented. To this end, we will start a new round of server transformation and upgrade projects. The transformation time will be completed within three hours, and we will provide you with a safer and more efficient service. Special reminder, during the server upgrade and transformation process, users in some regions may be affected when logging in to the platform using the original domain name, and we have activated the emergency response plan. If you have problems logging in using PC or H5, you can contact the customer service representative in time for help and complete the transaction.
We apologize for the inconvenience caused to you and thank all users for their support!
</span>
</div>
</div>
</div>
<!-- 立即体验 -->
<div class="illustration_area">
<div class="left">
<div class="title">{{ $t("homeNewText.bb4") }}</div>
<div class="title" style="font-size: 18px;margin-top: 30px;">{{ $t("homeNewText.bb5") }}</div>
<router-link v-if="!isLogin" class="jump_btn" :to="{name:'signUp'}" style="margin-top: 36px;">
{{ $t("homeNewText.bb6") }}
</router-link>
<router-link v-else class="jump_btn" :to="{name:'exchange'}" style="margin-top: 36px;">
{{ $t("homeNewText.aa4") }}
</router-link>
</div>
<div class="right" style="overflow: visible;">
<div class="right_box">
<img src="@/assets/img/home/home1.svg">
</div>
</div>
</div>
<!-- 轮播图 -->
<div class="marquee" v-if="marketList[0]">
<div class="marquee-pargress d-flex">
<ul class="marquee-list d-flex" v-for="box in 4" :key="box+'box'">
<li class="item" v-for="item in marketList[0].marketInfoList" :key="item.coin_name + '' + box">
<div class="price-info d-flex">
<div class="symbol" style="margin-right: 5px">{{ item.coin_name }}</div>
<div class="d-flex">
<span>${{ item.price||item.close }}</span>
<span
:class="item.increase >= 0 ? 'increace' : 'decreace'">({{ item.increaseStr }})</span>
</div>
</div>
</li>
</ul>
</div>
</div>
<!-- 市场趋势 -->
<div class="section1 markets">
<div class="new-ticker-block">
<div class="container">
<div class="markets__container new-ticker-block-wrap shadow">
<div class="ticker-head color_k1">
<ul class="nav nav-tabs ticker-nav" role="tablist">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0);" @click="tab = 'Optional'"
:class="{ color_k2: tab == 'Optional' }" style="display: flex;">
<i class="el-icon-star-on star-icon fn-22"></i>
<div>{{ $t("home.optional") }}</div>
</a>
</li>
<li class="nav-item" @click="tab = item.coin_name" v-for="item in marketList" :key="item.coin_name">
<!-- <a class="nav-link" :class="{ active: tab == item.coin_name }" -->
<a class="nav-link" :class="{ color_k2: tab == item.coin_name }"
href="javascript:void(0);" style="display: flex;align-items: center;">
<img src="@/assets/img/home/ico1.png" width="24" v-if="item.coin_name == 'USDT' && tab !== item.coin_name" />
<img src="@/assets/img/home/ico2.svg" width="24" v-if="item.coin_name == 'USDT' && tab == item.coin_name" />
<img src="@/assets/img/home/ico3.png" width="24" v-if="item.coin_name == 'BTC' && tab !== item.coin_name" />
<img src="@/assets/img/home/ico4.png" width="24" v-if="item.coin_name == 'BTC' && tab == item.coin_name" />
<img src="@/assets/img/home/ico5.png" width="24" v-if="item.coin_name == 'ETH' && tab !== item.coin_name" />
<img src="@/assets/img/home/ico6.png" width="24" v-if="item.coin_name == 'ETH'&& tab == item.coin_name" />
<div style="margin-left: 5px;">{{ item.coin_name }}</div>
</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade in show" :class="{ active: 'Optional' == tab }">
<table class="table coin-list table-hover">
<thead>
<tr class="color_k2" style="border-bottom: 1px solid #3E4653;">
<th></th>
<th scope="col" class="table_th">{{ $t("home.coinType") }}</th>
<th scope="col" class="table_th">{{ $t("home.latestPrice") }}</th>
<th scope="col" class="table_th">{{ $t("home.upAndDown") }}<span class="ti-arrow-down"></span></th>
<th scope="col" class="table_th">{{ $t("wallet.transaction") }}</th>
</tr>
</thead>
<tbody v-if="isLogin">
<tr v-for="(item,idx) in collect" v-show="isShow(item.pair_name)" :key="item.pair_name"
:class="idx % 2 === 0 ? 'color_k2' : 'color_k1' ">
<td style="min-width: 80px;">
<i href="javascript:void(0);" @click="option(item)"
:class="{ active: isCoolect(item) }"
class="el-icon-star-on star-icon fn-22"></i>
</td>
<td>
<!-- <router-link :to="`/exchange/${item.symbol}`"> -->
<router-link to="" style="color:#fff;font-weight: bold;">
<img :src="item.coin_icon" alt="" class="coin_icon" />
{{ item.pair_name }}
</router-link>
</td>
<td><span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.close }}</span></td>
<!-- <td>{{ item.low }}</td> -->
<td><span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.increaseStr }}</span></td>
<td>
<router-link :to="`/exchange/${item.symbol}`"><button class="td_button">{{ $t("otc.b7") }}</button></router-link>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tab-pane fade in show" :class="{ active: parentItem.coin_name == tab }"
v-for="(parentItem,index) in marketList" :key="parentItem.coin_name">
<table class="table coin-list table-hover">
<thead>
<tr class="color_k2" style="border-bottom: 1px solid #3E4653;">
<th></th>
<th scope="col" class="table_th">{{ $t("home.coinType") }}</th>
<!-- <th scope="col" class="table_th">{{ $t("option.coinType") }}</th> -->
<!-- <th scope="col" class="table_th">{{ $t("home.low") }}</th> -->
<th scope="col" class="table_th">{{ $t("home.latestPrice") }}</th>
<th scope="col" class="table_th">{{ $t("home.upAndDown") }}<span class="ti-arrow-down"></span></th>
<!-- <th scope="col" class="table_th">{{ $t("common.markets") }}</th> -->
<th scope="col" class="table_th">{{ $t("wallet.transaction") }}</th>
<!-- <th scope="col" class="table_th">{{ $t("home.heigh") }}</th> -->
<!-- <th scope="col" class="table_th"><div class="text-center">{{ $t("home.vol") }}</div></th> -->
</tr>
</thead>
<tbody>
<template v-for="(item, idx) in parentItem.marketInfoList" v-if="idx < 8">
<tr v-show="isShow(item.pair_name)" :key="item.pair_name" :class="idx % 2 === 0 ? 'color_k2' : 'color_k1' ">
<td style="min-width: 80px;">
<i href="javascript:void(0);" @click="option(item)"
:class="{ active: isCoolect(item) }"
class="el-icon-star-on star-icon fn-22"></i>
</td>
<td>
<!-- <router-link :to="`/exchange/${item.symbol}`"> -->
<router-link to="" style="color:#fff;font-weight: bold;">
<img :src="item.coin_icon" alt="" class="coin_icon" />
{{ item.pair_name }}
</router-link>
</td>
<td><span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.close }}</span></td>
<!-- <td>{{ item.low }}</td> -->
<td><span :class="item.increase * 1 >= 0 ? 'increace' : 'decreace'">{{ item.increaseStr }}</span></td>
<td>
<router-link :to="`/exchange/${item.symbol}`"><button class="td_button">{{ $t("otc.b7") }}</button></router-link>
</td>
</tr>
</template>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="text-center" style="margin-top: 50px;">
<router-link to="/contract" class="view-more btn btn-outline-light" style="border: 1px solid #9292AA;padding: 10px 30px;">
{{ $t("home.more") }}
</router-link>
</div>
</div>
</div>
<!-- 探索无限可能 -->
<div class="title1" style="margin-top: 150px;">{{ $t("homeNewText.bb7") }}</div>
<div class="title2" style="color: #fff;">{{ $t("homeNewText.bb8",{name:'BTCMax'}) }}</div>
<div class="Crossbar" style="margin: 10px auto 40px;"></div>
<div class="travel_area">
<div class="travel_area_box"><img src="@/assets/img/home/home2.png" alt="" /></div>
<div>
<div style="display: flex;margin-bottom: 92px;">
<div><img src="@/assets/img/icon/eyes.svg" style="width:42px;" /></div>
<div style="margin-left: 10px;">
<div style="line-height: 40px;font-size: 24px;">{{ $t("homeNewText.bb9") }}</div>
<div style="width: 387px;">{{ $t("homeNewText.bb10") }}</div>
</div>
</div>
<div style="display: flex;margin-bottom: 92px;">
<div><img src="@/assets/img/icon/dunpai.svg" style="width:42px;" /></div>
<div style="margin-left: 10px;">
<div style="line-height: 40px;font-size: 24px;">{{ $t("homeNewText.bb11") }}</div>
<div style="width: 422px;">{{ $t("homeNewText.bb12") }}</div>
</div>
</div>
<div style="display: flex;">
<div><img src="@/assets/img/icon/shanguang.svg" style="width:42px;" /></div>
<div style="margin-left: 10px;">
<div style="line-height: 40px;font-size: 24px;">{{ $t("homeNewText.bb13") }}</div>
<div style="width: 360px;">{{ $t("homeNewText.bb14") }}</div>
</div>
</div>
</div>
</div>
<div class="title1" style="margin-top: 200px;">{{ $t("homeNewText.bb15") }}</div>
<div class="title2" style="color: #fff;">{{ $t("homeNewText.bb16") }}</div>
<div class="Crossbar" style="margin: 10px auto 50px;"></div>
<div class="learn_area">
<div class="learn_area_box">
<div style="text-align: center;height: 100px;line-height: 100px;"><img src="@/assets/img/home/home3.png" alt="" /></div>
<div class="learn_div">{{ $t("homeNewText.bb17") }}</div>
<div class="learn_div1" style="width: 293px;">{{ $t("homeNewText.bb18") }}</div>
</div>
<div class="learn_area_box">
<div style="text-align: center;"><img src="@/assets/img/home/home4.png" alt="" /></div>
<div class="learn_div">{{ $t("homeNewText.bb19") }}</div>
<div class="learn_div1" style="width: 305px;">{{ $t("homeNewText.bb20") }}</div>
</div>
<div class="learn_area_box">
<div style="text-align: center;"><img src="@/assets/img/home/home5.png" alt="" /></div>
<div class="learn_div">{{ $t("homeNewText.bb21") }}</div>
<div class="learn_div1" style="width: 270px;">{{ $t("homeNewText.bb22",{name:'BTCMax'}) }}</div>
</div>
</div>
<div class="learn_btns">
<router-link v-if="!isLogin" class="jump_btn1" :to="{name:'signUp'}">{{ $t("homeNewText.bb43") }}</router-link>
<router-link v-else class="jump_btn1" :to="{name:'exchange-assets'}">{{ $t("homeNewText.bb42") }}</router-link>
</div>
<!-- 轻松玩赚数字货币 -->
<div class="title1" style="margin-top: 200px;">{{ $t("homeNewText.bb23") }}</div>
<div class="title2" style="color: #fff;">{{ $t("homeNewText.bb24") }}</div>
<div class="Crossbar" style="margin: 10px auto 0px;"></div>
<div class="positionBox d-flex" style="justify-content: space-between;height: 600px;">
<div class="trade_box1">
<div class="trade_box"><img src="@/assets/img/home/btcex.png" /></div>
<div style="font-size: 36px;margin-bottom: 30px;">{{ $t("homeNewText.bb25",{name:'BTCMax'}) }}</div>
<div style="font-size: 24px;margin-bottom: 20px;">{{ $t("homeNewText.bb26") }}</div>
<div style="color: #9292AA;font-size: 20px;">{{ $t("homeNewText.bb27") }}</div>
<div style="margin-top: 40px;" class="d-flex ">
<div class="qrcode">
<a class="qrcode_a">
<div style="display: flex;align-items: center;">
<img src="@/assets/img/home/apple_1.png" class="qrcode_img">
<div style="text-align: center;width: 100%;">App Store</div>
</div>
</a>
<div class="img_1">
<div><img src="@/assets/img/home/btcex1.png" alt="" /></div>
</div>
</div>
<div class="qrcode1">
<a class="qrcode_a1">
<div style="display: flex;align-items: center;">
<img src="@/assets/img/home/android_1.png" class="qrcode_img">
<div style="text-align: center;width: 100%;">Android</div>
</div>
</a>
<div class="img_2">
<div><img src="@/assets/img/home/btcex1.png" alt="" /></div>
</div>
</div>
</div>
</div>
<div class="positionBox_box2">
<div class="positionBox_box3">
<img src="@/assets/img/home/home6.png">
</div>
</div>
</div>
<!-- 立即開始您的加密之旅 -->
<div class="CryptoJourney">
<div style="width: 1200px;margin: auto;font-size: 32px;">
{{ $t("homeNewText.bb33",{name:'BTCMax'}) }}
</div>
</div>
<div style="width: 100%;margin: auto;background-color: #232836;">
<div style="text-align: center;padding: 85px 0px;">
<div style="font-size: 42px;">{{ $t("homeNewText.bb34") }}</div>
<div style="display: flex;justify-content: center;margin-top: 20px;">
<router-link class="jump_btn2" :to="{name:'signIn'}">{{ $t("common.sign_in") }}</router-link>
<router-link class="jump_btn4" :to="{name:'signUp'}">{{ $t("common.sign_up") }}</router-link>
</div>
</div>
</div>
<!-- 背景径向渐变 -->
<div class="radial_bg" v-if="0">
<!-- number count -->
<div class="num-info d-flex">
<div class="num-info-count">
<div class="num">Top 10</div>
<div class="title">{{ $t("homeNewText.ee1") }}</div>
</div>
<div class="num-info-count">
<div class="num">5 million+</div>
<div class="title">{{ $t("homeNewText.ee2") }}</div>
</div>
<div class="num-info-count">
<div class="num">{{ '<0.10%' }}</div>
<div class="title">{{ $t("homeNewText.ee3") }}</div>
</div>
<div class="num-info-count">
<div class="num">200+</div>
<div class="title">{{ $t("homeNewText.ee4") }}</div>
</div>
</div>
</div>
<!-- 常见问题 -->
<div class="title1 fn-center" v-if="0">{{ $t("homeNewText.bb13") }}</div>
<div class="help_area" v-if="0">
<router-link :to="'/notice/'+item.id" v-for="(item, index) in helpList" :key="index+'help'"
class="help_item">
<div style="color: #fff;">{{ item.title }}</div>
<div class="arrow"></div>
</router-link>
</div>
</div>
</template>
<script>
import Vue from "vue";
// import VueAwesomeSwiper from "vue-awesome-swiper";
import vueQr from "vue-qr";
import Home from "@/api/home";
// import "swiper/swiper-bundle.css";
import Socket from "@/api/server/Socket.js";
import College from "@/api/college";
import Member from "@/api/member";
import * as d3 from "d3";
import priceLine from "../market/price-line";
import Login from "@/assets/i18n/cn/login";
// Vue.use(VueAwesomeSwiper);
export default {
components: {
vueQr,
priceLine,
},
computed: {
isLogin() {
return Boolean(localStorage.token);
},
downloadLink() {
return "https://seee.btcsupex.com/download";
},
// 特色卡片列表
featuresList() {
return [{
zoom: false,
bgclr: "rgba(76, 48, 115, 1)",
picture: require("@/assets/img/features/trade.png"),
thumb: require("@/assets/img/features/trade-thumb.png"),
title: this.$t("home.stablecoin_title"),
content: this.$t("home.stablecoin_cont"),
},
{
zoom: false,
bgclr: "rgba(60, 52, 125, 1)",
picture: require("@/assets/img/features/safe.png"),
thumb: require("@/assets/img/features/safe-thumb.png"),
title: this.$t("home.security_title"),
content: this.$t("home.security_cont"),
},
{
zoom: false,
bgclr: "rgba(93, 46, 93, 1)", // 背景色
picture: require("@/assets/img/features/server.png"),
thumb: require("@/assets/img/features/server-thumb.png"),
title: this.$t("home.service_title"),
content: this.$t("home.service_cont"),
},
{
zoom: false,
bgclr: "rgba(60, 52, 125, 1)",
picture: require("@/assets/img/features/analysis.png"),
thumb: require("@/assets/img/features/analysis-thumb.png"),
title: this.$t("home.analy_title"),
content: this.$t("home.analy_cont"),
},
{
zoom: false,
bgclr: "rgba(76, 48, 115, 1)",
picture: require("@/assets/img/features/tech.png"),
thumb: require("@/assets/img/features/tech-thumb.png"),
title: this.$t("home.technology_title"),
content: this.$t("home.technology_cont"),
},
{
zoom: false,
bgclr: "rgba(93, 46, 93, 1)",
picture: require("@/assets/img/features/flow.png"),
thumb: require("@/assets/img/features/flow-thumb.png"),
title: this.$t("home.liquidity_title"),
content: this.$t("home.liquidity_cont"),
},
];
},
},
data() {
return {
swiperOptions: {
pagination: {
el: ".swiper-pagination",
},
},
phonetype: ["Android", "ios"],
bannerList: [],
articleList: [],
homeList: [],
iconList: [],
marketList: [],
tab: "Optional",
searchTxt: "",
skro: new Skroll(),
collect: [{
symbol: ""
}],
ws: null,
pcBannerList: [],
noticeList: [],
data: [99, 71, 78, 25, 36, 92],
line: "",
helpList: [],
currentCoinIdx: 0, // 当前展示的币种
visible: false
};
},
methods: {
getScales(data) {
const x = d3.scaleTime().range([0, 100]);
const y = d3.scaleLinear().range([39, 0]);
d3.axisLeft().scale(x);
d3.axisBottom().scale(y);
x.domain(d3.extent(data, (d, i) => i));
y.domain([0, d3.max(data, (d) => d)]);
return {
x,
y
};
},
calculatePath() {
this.marketList[0].marketInfoList.map((item) => {
const scale = this.getScales(item.prices);
const path = d3
.line()
.x((d, i) => scale.x(i))
.y((d) => scale.y(d));
// this.calculatePath(item.prices)
item.line = path(item.prices);
});
// console.info(this.marketList[0].marketInfoList);
},
truncate(str, length) {
return _.truncate(str, {
length
});
},
isShow(str) {
let reg = new RegExp(this.searchTxt, "ig");
return reg.test(str);
},
filterCode: function(str) {
return str.replace(/<[^<>]+>/g, "").replace(/&nbsp;/gi, "");
},
swiperPrev() {
let $swiper = this.$refs.swiper.$swiper;
$swiper.slidePrev();
},
swiperNext() {
let $swiper = this.$refs.swiper.$swiper;
$swiper.slideNext();
},
indexList() {
Home.indexList()
.then((res) => {
//console.info(res)
this.bannerList = res.bannerList;
this.homeList = res.homeList;
// console.log(res.homeList);
this.marketList = res.marketList;
// this.calculatePath()
this.iconList = res.iconList;
// this.pcBannerList = res.pcBannerList;
this.tab = this.marketList[0].coin_name;
// this.tab = "USDT";
// console.log(this.tab);
setTimeout(() => {
this.skroll();
}, 100);
})
.catch((res) => {});
},
skroll() {
// let skro = this.skro;
// skro
// .add(".marquee-list .item", {
// animation: "fadeInLeft",
// delay: 80,
// duration: 1000,
// })
// .add(".new-ticker-block", {
// animation: "fadeInRight",
// delay: 80,
// duration: 800,
// })
// .add(".shlitu", {
// animation: "fadeInLeft",
// delay: 80,
// duration: 800,
// })
// .add(".activity-box", {
// animation: "zoomIn",
// delay: 80,
// duration: 800,
// })
// .add(".lattest-news-section .item", {
// animation: "zoomIn",
// wait: 150,
// delay: 80,
// duration: 800,
// })
// .init();
},
// 是否为自选
isCoolect(i) {
return this.collect.map((item) => item.pair_name).includes(i.pair_name);
},
// 获取自选交易列表
getCollect() {
Home.getCollect()
.then((res) => {
this.collect = res || [];
})
.catch((err) => {});
},
// 添加自选
option(item) {
let data = {
pair_name: item.pair_name,
};
Home.option(data)
.then((res) => {
this.getCollect();
if (res) {
this.$message.success(this.$t("home.add"));
} else {
this.$message.success(this.$t("home.cancel"));
}
})
.catch((err) => {});
},
// 替换自选数据
replaceOptional() {
let collect = this.collect.map((item) => item.pair_name);
this.marketList.forEach((parentItem) => {
parentItem.marketInfoList.forEach((item) => {
let idx = collect.indexOf(item.pair_name);
if (idx != -1) {
this.collect.splice(idx, 1, item);
}
});
});
},
// 链接socket
indexMarketList() {
const ws = new Socket(this.Globals.Server.Path.WS);
ws.on("open", () => {
this.ws = ws;
ws.send({
cmd: "sub",
msg: "indexMarketList",
});
});
ws.on("message", (res) => {
//console.info(res)
let {
data,
msg,
code,
sub,
type,
status
} = res;
if (sub == "indexMarketList") {
this.marketList = data;
this.replaceOptional();
// this.calculatePath()
} else if (type == "ping") {
ws.send({
cmd: "pong",
});
}
});
},
// 鼠标移入卡片的样式
addZoom(idx) {
// 放大图片
this.featuresList.forEach((item, key, arr) => {
if (idx == key) {
arr[key].zoom = true;
} else {
arr[key].zoom = false;
}
});
},
// 鼠标移出卡片的样式
removeZoom(idx) {
this.featuresList[idx].zoom = false;
},
// 新手教程
getArticleList() {
College.getArticleList(20)
.then((data) => {
this.articleList = data.splice(0, 4);
setTimeout(() => {
this.skroll();
}, 100);
})
.catch();
},
// 獲取公告列表
article() {
Member.article({
type: "notice"
}).then((res) => {
this.noticeList = res.data.splice(0, 4);
});
},
getNoticeDate(str) {
let _time = new Date(str);
return _time.getMonth() + 1 + "-" + _time.getDate();
},
getHelpList() {
College.getArticleList(18).then((res) => {
// console.log(res, 'collllll')
this.helpList = res.splice(0, 4);
});
},
close1() {
this.visible = false;
}
},
created() {
this.indexList();
},
mounted() {
// this.visible = true
this.article();
this.getHelpList();
if (this.isLogin) {
this.getCollect();
}
this.indexMarketList();
this.getArticleList();
/*
* swiper 轮播图效果
*/
// features 卡片轮播
const mySwiper = new Swiper(".swiper-container", {
slidesPerGroup: 1,
loop: true,
loopFillGroupWithBlank: true,
slidesPerView: 3, // 每个视口显示个数
spaceBetween: 30, // 盒子之间的距离 由于异形slide初始化缩小了 因此不再设置距离
freeMode: false,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
on: {
transitionEnd: function() {
$(".features aside ul").css("margin-left", `calc(50% - 640px)`);
},
},
});
$(".prevBtn").click(function() {
if (mySwiper.activeIndex <= 0) {
// console.log(1);
$(this).addClass("my-button-disabled");
} else {
// 1+
mySwiper.slidePrev();
}
});
$(".nextBtn").click(function() {
// console.dir(mySwiper)
// if (mySwiper.realIndex == )
mySwiper.slideNext();
});
},
};
</script>
<style lang="scss" scoped>
#dowebok {
// background: rgb(18, 19, 24) !important;
background-color: #000 !important;
// padding-bottom: 100px;
.el_carousel {
width: 100%;
.el_carousel_item {
width: 100%;
height: 660px;
img {
width: 100%;
}
}
}
}
path {
// stroke: #76BF8A;
fill: none;
stroke-width: 3px;
}
.path_decreace {
stroke: #ff231f;
}
.path_increace {
stroke: #76bf8a;
}
.increaceAj {
color: #4EAA97;
font-size: 20px;
}
.decreaceAj {
color: #CF6A57;
font-size: 20px;
}
// .view-more {
// background: #fd5b2c !important;
// }
.notice {
white-space: nowrap;
.item {
white-space: nowrap;
padding: 15px 0;
width: 24%;
box-sizing: border-box;
padding-right: 20px;
cursor: pointer;
.title {
width: 80%;
}
.time {
margin-left: 5px;
color: #999;
}
}
}
.section {
background-color: #000;
//background-image:url(../../assets/img/index_banner_2.png);
width: 100%;
height: 660px;
background-size: 100% 100%;
overflow-x: hidden;
.banner-block {
width: 100%;
height: 660px;
.banner-block img {
width: 100%;
height: 100%;
}
}
}
.illustration_area {
width: 1200px;
margin: 0px auto 0px;
display: flex;
justify-content: space-between;
align-items: center;
.left {
color: #fff;
max-width: 650px;
padding-left: 18px;
.title {
font-size: 60px;
}
.icon_box {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 168px;
img {
margin-right: 57px;
}
}
}
.right {
width: 590px;
height: 660px;
position: relative;
}
.right_box {
position: absolute;
bottom: 30px;
animation: movepoint 1.3s ease-in-out infinite alternate;
}
@keyframes movepoint {
from {
transform: translate(0, 0px)
}
to {
transform: translate(0, -20px)
}
/* 下浮高度 */
}
}
.jump_btn {
display: inline-block;
min-width: 390px;
height: 64px;
line-height: 64px;
text-align: center;
color: #fff;
background-color: #0F4DF5;
border-radius: 10px;
font-size: 20px;
padding: 0px 20px;
box-sizing: border-box;
&:hover {
box-shadow: 0 0 20px 10px hsla(220, 100%, 41%, 0.5);
}
}
.market_table {
width: 1200px;
font-size: 16px;
margin: 140px auto;
.icon {
width: 30px;
height: 30px;
margin-right: 17px;
}
.market_tr {
display: flex;
justify-content: center;
align-items: center;
line-height: 50px;
div {
width: 25%;
}
}
}
.news {
// height: 720px;
background-color: #ffffff;
color: #172636;
padding: 80px 0 0;
header {
height: 38px;
text-align: center;
h3 {
// border : 1px solid red;
margin-bottom: 0 !important; // 去除mb-4效果
@include font(Overpass, 30, 38, bold);
position: relative;
&::after {
position: absolute;
content: "";
display: block;
left: 50%;
bottom: -10px;
transform: translateX(-50%);
height: 3px;
width: 50px;
background: #4681fb;
}
}
.tips {
margin-top: 20px;
font-size: 14px;
}
}
.content {
margin: 50px auto;
// border: 1px solid yellow;
@include flexible(row, space-between, flex-start, wrap);
.item {
border-radius: 2px;
width: 230px;
padding: 10px;
//margin-bottom: 20px;
@include flexible(row, flex-start, center);
// border: 1px solid red;
figure {
width: 100%;
padding: 5px;
flex-shrink: 0;
img {
display: block;
width: 100%;
height: 200px;
}
figcaption {
@include font(Overpass, 15, 50);
}
// border: 1px solid red;
}
article {
border: none !important;
height: 100%;
overflow: hidden;
margin-bottom: 41px;
}
.eps-2 {
font-size: 12px;
//color: #8a8a98;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
word-break: break-all;
}
}
}
}
.ticker-nav .nav-item {
color: #888894;
}
.ticker-nav .nav-item a {
font-weight: normal !important;
}
.ticker-nav .nav-item a.active {
@include font(Overpass, 15, null, white, 800);
@include flexible(row, center, center);
&::after {
width: 6px;
height: 6px;
background: white;
border-radius: 50%;
}
}
.start-trade {
background: #fd5b2c !important;
padding: 0 !important;
border: none;
width: 196px;
height: 58px;
border-radius: 29px;
text-align: center;
@include font(Overpass, 18, 58, #fff);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.marquee {
width: 100%;
height: 60px;
margin-bottom: 150px;
background-image: url("../../assets/img/home/bg_1.png");
// background-color: #0F4DF5;
background-size: 100% 100%;
.marquee-pargress {
align-items: center;
width: 100%;
height: 60px;
background: ("../../assets/img/bg/5.png") no-repeat !important;
background-size: 100% 100%;
}
.marquee-list {
background: transparent;
}
li.item {
font-size: 24px;
color: white;
flex: 1;
justify-content: space-around;
align-items: center;
margin: 0 100px;
padding: 10px 18px !important;
.price-info {
justify-content: space-around;
}
.justify-content-between {
justify-content: space-around;
align-items: center;
}
}
}
.section1 .new-ticker-block-section {
background-color: rgb(23, 30, 43);
}
.container {
width: 1200px;
// height: 710px;
// background: url(../../assets/img/bg/juxing.png) no-repeat;
border: 3px solid #5c5c5c;
border-radius: 15px;
padding: 20px;
}
.markets {
// border: 1px solid red;
.markets__title {
line-height: 55px;
// color: white;
color: #172636;
font-size: 24px;
padding-left: 15px;
}
.markets__container {
// border : 1px solid blue;
margin: 10px auto 10px; // 居中
}
}
// .news[data-v-5954443c],
// .colto-section[data-v-5954443c] {
// background-color: rgb(23, 30, 43);
// }
.colto-content-wrap {
background-color: rgb(35, 40, 54);
}
// num count
.num-info {
width: 100%;
height: 230px;
justify-content: space-evenly;
align-items: center;
margin: 60px 0 0px;
background-color: #0D0D0D;
.num-info-count {
.num {
font-size: 36px;
color: white;
font-weight: bold;
}
.title {
color: #999;
font-size: 20px;
}
}
}
//service模块
.service-title {
.service-title-text1 {
font-size: 40px;
}
.dotfive {
width: 106px;
height: 10px;
margin: 4px auto;
.dotblue {
width: 10px;
height: 10px;
margin-right: 14px;
background-color: rgba(50, 105, 235, 1);
}
}
}
.lattest-news-section {
margin: 80px auto 0px;
width: 1200px;
color: white;
text-align: center;
.service-content {
margin-top: 60px;
.service-content-r {
text-align: left;
.service-content-text {
.service-content-text-img {
.content_img {
width: 42px;
height: 42px;
margin: 20px 20px 20px 0;
}
text-align: left;
display: flex;
align-items: center;
img {
margin-right: 10px;
width: 100%;
height: 100%;
}
.service-content-text1-title {
font-size: 24px;
}
}
.text-box {
.service-content-text1-title {
font-size: 24px;
}
}
}
}
}
}
// beginner guide
.beginner {
.beginner_content {
.beginner_content_r {
width: 600px;
.beginner-text {
display: flex;
// align-items: center;
margin-bottom: 20px;
.content_img {
width: 136px;
height: 136px;
margin-right: 20px;
image {
width: 100%;
height: 100%;
}
}
.text-box {
text-align: left;
.service-content-text1-title {
font-size: 24px;
}
.service-content-text1-info1 {
font-size: 18px;
color: #908F94;
}
}
}
}
}
}
// section-choose
.section_choose {
.service-content-r {
.service-content-text-img {
margin: 20px 0;
}
.service-content-r_title {
width: 534px;
height: 231px;
font-size: 36px;
text-align: left;
}
}
}
.section-choose {
margin: 50px auto;
width: 100%;
height: 500px;
background-color: #000;
color: white;
text-align: center;
.section-choose-top {
.section-choose-boder {
margin: 10px auto;
width: 60px;
height: 10px;
background-color: rgb(50, 105, 235);
border-radius: 100px;
}
}
.section-choose-info {
justify-content: center;
align-items: center;
margin-top: 50px;
.section-choose-info-text {
flex-direction: column;
}
}
.choose-btn {
text-align: center;
line-height: 60px;
margin: 50px auto;
width: 245px;
height: 60px;
border-radius: 100px;
border: 1px solid rgb(50, 105, 235);
color: rgb(50, 105, 235);
}
}
.radial_bg {
background-image: url("../../assets/img/bg/radial_bg.png");
background-size: contain;
background-repeat: no-repeat;
background-position: 50% 30%;
// background-position: center;
// background-position: center top;
padding: 240px 0px 70px;
margin-top: -80px;
}
//banner-bottom
.banner-bottom {
margin: 0 auto;
height: 160px;
color: white;
// background: url(../../assets/img/bg/3.jpg) no-repeat;
background-size: 100% 100%;
text-align: center;
padding: 30px 0;
font-size: 32px;
font-weight: 700;
}
//colto-section
.colto-section {
.colto-btn-group {}
}
.features {
width: 100%;
// 固定高度 宽度自适应
height: 700px;
padding: 70px 0 0;
// 图片默认底部对齐 水平居中
background: #2c2c38;
// background: #fff;
// 只设置宽度100% 高度自适应
// 超出的部分被裁剪
background-size: auto 100%;
color: white;
}
.features header {
width: 1280px;
margin: 0 auto;
height: 38px;
@include flexible(row, center, center);
h3 {
@include font(Overpass, 30, 38, bold);
}
}
.features aside {
width: 1350px;
margin: 35px auto 0px; // 居中
padding: 0 85px;
position: relative;
}
.features aside ul {
height: 500px;
li.swiper-slide {
// 原始尺寸
// width : 330px !important;
// height : 400px !important;
transition: transform 500ms ease 100ms;
border-radius: 8px;
overflow: hidden;
// 放大尺寸
width: 363px !important;
height: 440px !important;
margin: 0 15px;
transform: scale(0.9); // 初始化收缩
box-shadow: 0 0.5em 1rem rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
section {
padding: 80px 0 0 0;
flex-grow: 1;
text-align: center;
}
h3 {
@include font(Overpass, 22, 30);
padding: 50px;
// height: 100px;
text-align: center;
}
.default {
display: block;
background: #383847;
}
.active {
display: none;
}
}
li:hover {
.default {
display: none;
}
.active {
display: block;
}
// 异形切换 还原大小
transform: scale(1);
background: #383847;
border: 1px solid #383847;
color: white;
div {
height: 120px;
padding: 20px;
text-align: left;
}
h3 {
padding: 20px;
// height: 80px;
text-align: left;
}
section {
padding: 0 20px;
height: 100%;
// display: none; // 初始化隐藏
@include font(Overpass, 14, 24, white);
// text-indent: 20px;
text-align: left;
}
}
}
.my-button-disabled {
opacity: 0.2;
cursor: default;
}
.features aside .turning {
position: absolute;
width: 100%;
left: 0;
top: calc(50% - 40px);
@include flexible(row, space-between, center);
// border: 1px solid blue;
a {
width: 50px;
height: 50px;
@include flexible(row, center, center);
color: white;
&:first-child {
background: url("../../assets/img/arrow-left.svg") center center;
background-size: 100%;
}
&:last-child {
background: url("../../assets/img/arrow-right.svg") center center;
background-size: 100%;
}
}
.disabled {
color: #666;
cursor: default;
}
}
.swiper-container {
.swiper-pagination-bullet {
width: 10px;
height: 10px;
border-radius: 50%;
box-shadow: inset 0 0 5px #eee;
border: 1px solid #fff;
margin: 0 8px !important;
}
// 箭头颜色
--swiper-theme-color: #fff;
// 分页选中的底色
--swiper-pagination-color: rgba(0, 0, 0, 0.5);
/* 两种都可以 */
.swiper-slide {}
.swiper-button-next,
.swiper-button-prev {
width: 50px;
height: 50px;
background: url("../../assets/img/circle@2x.png") center center;
background-size: 100%;
// border: 1px solid pink;
&::after {
font-size: 16px !important;
}
}
.swiper-button-next {
right: 0;
}
.swiper-button-prev {
left: 0;
}
.swiper-slide-active,
.swiper-slide-duplicate-active {
// transition: all 1s;
// // 异形切换
// transform: scale(1);
// //
// opacity: 1;
// //
// margin-right: 30px;
// section {
// background: none!important;
// div {
// // display : block;
// color: rgba(255, 255, 255, 1);
// }
// }
}
}
.banner-block {
display: flex;
align-items: center;
.index_banner {
width: 758px;
height: 463px;
}
.banner_right {
width: 440px;
margin-left: 353px;
display: flex;
flex-direction: column;
.banner_right_p {
color: #0a1015;
font-size: 48px;
font-weight: bold;
margin-bottom: 30px;
}
.banner_right_input {
background-color: rgba(23, 38, 54, 100);
color: white;
font-size: 15px;
height: 44px;
border: none;
padding-left: 10px;
}
.banner_right_code {
margin-top: 20px;
margin-bottom: 30px;
input {
width: 310px;
}
button {
width: 125px;
height: 44px;
border: none;
background-color: rgba(49, 65, 132, 100);
color: rgba(255, 255, 255, 100);
font-size: 15px;
}
}
.banner_right_sign {
height: 44px;
border: none;
background-color: rgba(49, 65, 132, 100);
color: rgba(255, 255, 255, 100);
width: 100%;
font-size: 20px;
}
}
}
.markets__title_span {
font-size: 16px;
color: #a1a7ae;
display: inline-block;
margin-left: 22px;
}
.table_th {
// background-color: white;
text-align: center;
color: #9b9b9b;
padding: 15px 15px !important;
}
.coin-list tbody tr {
background: transparent;
text-align: center;
td {
// min-width: 150px;
}
}
.td_img {
width: 109px;
height: 39px !important;
margin: 0 auto;
}
.td_button {
width: 140px;
height: 34px;
color: #2cb8ff;
border-radius: 50px;
font-size: 14px;
border: 1px solid #3269EB;
background: transparent;
}
.btn-outline-light {
border: none;
}
.coin_icon {
width: 34px;
height: 34px;
margin-right: 20px;
}
.banner2 {
background: url("../../assets/img/banner2.png") 100% 100% no-repeat;
padding-left: 233px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: flex-start;
width: 100%;
.banner_right_p {
color: white;
font-size: 48px;
font-weight: bold;
margin-bottom: 0;
}
.banner_right_p1 {
color: #a0a7ad;
font-size: 36px;
margin-bottom: 51px;
}
.banner_right_button {
width: 420px;
height: 52px;
line-height: 52px;
text-align: center;
background: #3553d2;
color: white;
font-size: 20px;
border: none;
cursor: pointer;
}
}
.banner3 {
background: url("../../assets/img/banner3.jpg") no-repeat;
background-color: #ffffff;
padding-right: 230px;
padding-top: 129px;
display: flex;
flex-direction: column;
align-items: flex-end;
.banner3_p {
font-size: 16px;
color: #000000;
margin-bottom: 25px;
.banner3_p_span {
font-size: 28px;
color: #000000;
font-weight: bold;
}
}
.banner3_content {
display: flex;
.banner3_content_item {
display: flex;
flex-direction: column;
margin-left: 90px;
align-items: center;
.banner3_content_item_code {
width: 160px;
height: 160px;
margin-bottom: 20px;
}
.banner3_content_item_code1 {
width: 50px;
height: 50px;
margin-bottom: 10px;
}
.introduce {
display: flex;
align-items: center;
color: white;
font-size: 14px;
width: 160px;
justify-content: center;
img {
width: 23px;
height: 23px;
margin-right: 9px;
}
}
}
.banner3_content_item:first-child {
margin-left: 0;
}
}
}
.colto-section {
background: white;
}
.container_button {
background: #3553d2;
}
.container_button1 {
background: #6c7ee4;
}
.help_area {
width: 1200px;
margin: 0px auto;
font-size: 34px;
.help_item {
height: 188px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #FEFEFE;
}
.arrow {
width: 60px;
height: 60px;
background-image: url("../../assets/img/home/plus.png");
background-size: cover;
}
}
.title1 {
width: 1200px;
margin: 0px auto;
font-size: 48px;
font-weight: bold;
color: #fff;
text-align: center;
}
.title2 {
width: 1200px;
margin: 20px auto 0px;
font-size: 22px;
color: #9a9a9a;
text-align: center;
}
.APP_area {
display: flex;
justify-content: center;
align-items: center;
margin: 0px auto 150px;
.left {
// width: 304px;
height: 674px;
margin-right: 136px;
}
.application {
width: 500px;
height: 82px;
border: 1px solid #fafafa;
border-radius: 100px;
margin: 17px 0px 27px;
color: #908F94;
font-size: 16px;
justify-content: space-around;
align-items: center;
.app_icon {
display: flex;
flex-direction: column;
align-items: center;
}
.icon {
width: 40px;
height: 40px;
}
}
}
.travel_area {
width: 1200px;
// height: 322px;
display: flex;
justify-content: space-between;
margin: 0px auto 0px;
.travel_text1 {
font-size: 24px;
margin-top: 30px;
margin-bottom: 20px;
}
.travel_text2 {
font-size: 16px;
}
.travel_img {
width: 260px;
height: 240px;
overflow: hidden;
border-radius: 20px;
position: relative;
left: 50%;
transform: translateX(-50%);
}
.travel_img1 {
// width: 100%;
// height: 100%;
position: absolute;
/* 绝对定位,相对于父元素 .travel_img 定位 */
top: 0;
/* 元素顶部与父元素顶部对齐 */
left: 0;
/* 元素左侧与父元素左侧对齐 */
transition: transform 0.3s;
/* 添加过渡效果,使缩放变化平滑 */
}
.travel_img:hover .travel_img1 {
transform: scale(1.08);
/* 放大 4%,即从 1 缩放到 1.04 */
}
.jump_btn1 {
margin-top: 50px;
display: inline-block;
min-width: 130px;
height: 50px;
line-height: 50px;
text-align: center;
color: #fff;
background-color: #0F4DF5;
border-radius: 10px;
font-size: 20px;
padding: 0px 20px;
box-sizing: border-box;
}
.travel_area_box{
display: flex;
align-items: center;
}
}
.learn_area {
width: 1200px;
// height: 202px;
margin: 0px auto 0px;
display: flex;
justify-content: space-between;
.learn_div{
font-size: 24px;
margin-top: 20px;
text-align: center;
}
.learn_div1{
font-size: 16px;
margin-top: 20px;
text-align: center;
}
}
.learn_btns{
margin: auto;
width: 1200px;
text-align: center;
}
.circle_bg {
width: 50px;
height: 50px;
background-image: url('../../assets/img/features/7.png');
background-size: cover;
margin-right: 10px;
}
.positionBox {
width: 1200px;
margin: auto;
.trade_box {
display: flex;
width: 280px;
// height: 100px;
// background-color: #fff;
// padding: 10px;
align-items: center;
// border-radius: 10px;
}
.positionBox_box2 {
width: 640px;
height: 600px;
position: relative;
.positionBox_box3 {
position: absolute;
bottom: 60px;
animation: boxImg 1.3s ease-in-out infinite alternate;
}
@keyframes boxImg {
from {
transform: translate(0, 0px)
}
to {
transform: translate(0, 20px)
}
/* 下浮高度 */
}
}
.trade_box1{
width: 480px;
margin-top: 90px;
}
}
.jump_btn3 {
display: inline-block;
min-width: 200px;
height: 60px;
line-height: 60px;
text-align: center;
color: #fff;
background-color: #2d58de;
border-radius: 10px;
font-size: 20px;
padding: 0px 20px;
box-sizing: border-box;
}
.jump_btn1 {
margin-top: 30px;
display: inline-block;
min-width: 130px;
height: 50px;
line-height: 50px;
text-align: center;
color: #fff;
background-color: #0F4DF5;
border-radius: 10px;
font-size: 20px;
padding: 0px 20px;
box-sizing: border-box;
}
.jump_btn2{
background-color: #54A450;
display: inline-block;
color: #fff;
padding: 10px 50px;
border-radius: 40px;
margin-right: 15px;
}
.jump_btn4{
background-color: #0F4DF5;
display: inline-block;
color: #fff;
padding: 10px 50px;
border-radius: 40px;
}
.color_k1{
background-color: rgba(36, 46, 60, 1) !important;
color: #fff;
}
.color_k2{
background-color: rgba(33, 40, 51, 1) !important;
color: #fff;
}
.qrcode{
.qrcode_a{
width: 150px;
padding: 10px 10px;
border-radius: 40px;
text-decoration: none;
border: 1px solid #fff;
margin-right: 20px;
cursor: pointer;
}
.img_1{
width: 150px;
height: 150px;
display: none;
margin-top: 10px;
background-color: #fff;
}
.qrcode_a:hover + .img_1{
width: 150px;
height: 150px;
display: block;
}
}
.qrcode_img{
width: 30px;
height: 30px;
padding: 5px;
border-radius: 40px;
border: 1px solid #fff;
}
.qrcode1{
.qrcode_a1{
width: 150px;
padding: 10px 10px;
border-radius: 40px;
text-decoration: none;
border: 1px solid #fff;
cursor: pointer;
}
.img_2{
width: 150px;
height: 150px;
display: none;
margin-top: 10px;
background-color: #fff;
}
.qrcode_a1:hover + .img_2{
width: 150px;
height: 150px;
display: block;
}
}
.CryptoJourney{
width: 100%;
height: 130px;
display: flex;
align-items: center;
margin: auto;
background: url('../../assets/img/home/home7.png');
background-repeat: no-repeat;
// background-size: 100%;
}
.Crossbar{
width: 60px;
height: 10px;
text-align: center;
border-radius: 80px;
background-color: #3269EB;
}
@media (max-width:1200px){
.illustration_area{
width: 100%;
.left{
max-width: 500px;
padding: 0px 15px;
margin-bottom: 20px;
.title{
font-size: 45px;
}
}
.right{
width: 500px;
height: 660px;
}
.right_box {
bottom: 80px;
}
}
.title1{
width: 100%;
}
.title2{
width: 100%;
}
.travel_area{
width: 100%;
}
.learn_area{
width: 100%;
flex-wrap: wrap;
}
.learn_btns{
width: 100%;
}
.positionBox{
width: 100%;
padding: 0px 20px;
}
.container{
width: 100%;
}
}
@media (max-width:800px){
.illustration_area{
width: 100%;
display: block;
position: relative;
.left{
max-width: 800px;
margin-top: 380px;
text-align: center;
.title{
font-size: 45px;
}
}
.right{
width: 500px;
height: 400px;
position: absolute;
top: -290px;
left: 50%;
transform: translateX(-50%);
.right_box{
bottom: 10px;
}
}
}
.learn_area{
padding: 0px 20px;
justify-content: center;
}
.learn_area_box{
margin-top: 20px;
}
.travel_area{
justify-content: center;
}
.travel_area_box{
display: none !important;
}
.positionBox_box2{
display: none;
}
.positionBox .trade_box1{
margin: auto;
}
.CryptoJourney{
padding: 0px 20px;
height: 100%;
}
}
@media (max-width:850px){
.illustration_area .right_box {
bottom: 150px;
}
}
.overlay {
display: flex;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.5); /* 透明白色背景 */
justify-content: center;
align-items: center;
z-index: 1000; /* 确保在最上层 */
}
.modal_show {
// position: absolute;
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
// width: 400px; /* 弹出框宽度 */
width: 50%;
color: #000;
}
.modal-title {
font-size: 18px;
font-weight: bold;
}
.modal-content11 {
margin: 10px 0;
}
.close-button {
height: 40px;
text-align: right;
font-size: 30px;
cursor: pointer;
}
</style>