jiaoyi_ybgcoins_web3
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.
 
 
 
 
 
 

2634 lines
79 KiB

<template>
<div id="dowebok" ref="dowebok">
<div>
<!-- <div class="section"> -->
<!-- <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> -->
<!-- <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 class="marquee">
<div class="marquee-pargress d-flex">
<ul class="marquee-list d-flex" v-for="box in 4" :key="box">
<li class="item" v-for="item in homeList" :key="item.pair + '' + box">
<div class="price-info d-flex">
<div class="symbol" style="margin-right: 5px">
{{ item.pair }}
</div>
<div class="d-flex">
<span>{{ item.price }}</span>
<span :class="item.increase >= 0 ? 'increace' : 'decreace'">
{{ item.increaseStr }}
</span>
</div>
</div>
</li>
</ul>
</div>
</div> -->
<!-- 公告 -->
<!-- <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="market-ticker-block"> -->
<!-- Tab panes -->
<!-- <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") }} -->
<!-- 24小时涨停-->
<!-- <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 :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> -->
<!-- coin-list table -->
<!-- </div> -->
<!-- market-ticker-block -->
<!-- </div>
</div>
</div>
<div class="text-center"> -->
<!-- tag="button"
type="button" -->
<!-- <router-link to="/contract" class="view-more btn btn-outline-light">
{{ $t("home.more") }} -->
<!-- 查看更多-->
<!-- </router-link> -->
<!-- </div> -->
<!-- </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 class="section-block section-block-1 " v-if="!isLogin">
<div class="d-flex justify-content-between">
<div style="width:55%;">
<h1>选择币安平台,购买、交易和持有350多种加密货币</h1>
<div class="mt-4 mb-3">免费交易比特币</div>
<div class="btn1 mb-3"><router-link to="/sign-up" class="target-a">通过电子邮箱注册</router-link><!--/手机号码注册--></div>
<!-- <div style="width: 55%;text-align: center;">或通过以下方式继续</div>-->
<!-- <div class="d-flex justify-content-between mt-3" style="width: 55%;">-->
<!-- <div class="btn2">Google</div>-->
<!-- <div class="btn2">Apple</div>-->
<!-- </div>-->
</div>
<div class="d-flex" style="width: 40%;">
<img src="../../../static/images/lightImageUrl.png" alt="" style="width: 100%;">
<!-- <div style="width:55%;"><img src="" alt="" style="height:50px;margin-bottom: 10px;background-color: #ccc;"><img src="" alt="" style="height:50px;margin-bottom: 10px;background-color: #ccc;"></div> -->
<!-- <div style="width:45%;"><img src="" alt="" style="height:70px;margin-bottom: 10px;background-color: #ccc;"><img src="" alt="" style="height:40px;margin-bottom: 10px;background-color: #ccc;"></div> -->
</div>
</div>
<div class="d-flex justify-content-between mt-5" style="width:100%;">
<div style="width: 25%;">
<h1>380亿美元</h1><div>币安交易平台24小时交易量</div>
</div>
<div style="width: 20%;">
<h1>350+</h1><div>加密货币已上线</div>
</div>
<div style="width: 20%;">
<h1>1.2亿</h1><div>注册用户</div>
</div>
<div style="width: 23%;">
<h1>{{'<0.10%'}}</h1><div>最低交易手续费</div>
</div>
</div>
</div>
<div class="section-block section-block-3" v-if="isLogin">
<h1 class="mb-3">向账户充值</h1>
<div class="mb-3">将法币或加密货币资金</div>
<div class="btn3 mb-5"><router-link to="/exchange" class="target-a">向账户充值</router-link></div>
<div class="d-flex justify-content-between">
<div class="box"><div>VGX/USDT <span>-1.5%</span></div><div class="num1">0.848</div><div>$0.23424</div></div>
<div class="box"><div>VGX/USDT <span>-1.5%</span></div><div class="num1">0.848</div><div>$0.23424</div></div>
<div class="box"><div>VGX/USDT <span>-1.5%</span></div><div class="num1">0.848</div><div>$0.23424</div></div>
<div class="box"><div>VGX/USDT <span>-1.5%</span></div><div class="num1">0.848</div><div>$0.23424</div></div>
<div class="box"><div>VGX/USDT <span>-1.5%</span></div><div class="num1">0.848</div><div>$0.23424</div></div>
</div>
</div>
<div class="section-block section-block-4" v-if="isLogin">
<div class="d-flex mb-3" style="margin-top: 20px;">
<img src="../../../static/images/illustration-4.png" alt="" width="300" height="150" class="img">
<img src="../../../static/images/illustration-5.png" alt="" width="300" height="150" class="img">
<img src="../../../static/images/illustration-6.png" alt="" width="300" height="150" class="img">
</div>
<div class="d-flex" style="color: #6A6E74;"><div>区间收益区间收益区间收益区间收益</div><div style="margin:0px 30px;">(2023-04-25)</div><div>更多</div></div>
</div>
<div class="section-block section-block-2">
<div class="d-flex justify-content-between">
<h1>热门加密货币</h1>
<span><router-link to="/exchange" class="target-a">查看更多</router-link></span>
</div>
<div class="d-flex justify-content-between mb-4">
<div style="width:25%;">
<div class="th">名称</div>
<div class="td">BNB<span>BNB</span></div><div class="td">BNB<span>BTC</span></div><div class="td">BNB<span>ETH</span></div>
</div>
<div style="width:25%;">
<div class="th">最新价</div>
<div class="td">219</div><div class="td">219</div><div class="td">219</div>
</div>
<div style="width:25%;text-align: center;color:#BF3F4D;">
<div class="th">24h涨跌</div>
<div class="td">12%</div><div class="td">12%</div><div class="td">12%</div>
</div>
<div style="width:25%;text-align: right;">
<div class="th">市值</div>
<div class="td">$7457M</div><div class="td">$7457M</div><div class="td">$7457M</div>
</div>
</div>
<div>
<div style="font-weight: bold;font-size: 22px;">立即注册,免费创建投资组合</div>
<div class="btn3 mt-3"><router-link to="/sign-in" class="target-a">开始使用</router-link></div>
</div>
</div>
<div class="section-block section-block-5 d-flex justify-content-between">
<div>
<h2 class="mb-3">免费交易比特币</h2>
<div class="mb-5" style="color: #6A6E74;">选择特定比特币(BTC)现货交易对,畅享零交易手续费</div>
<div class="btn5"><router-link to="/college/list/18" class="target-a">了解更多</router-link></div>
</div>
<div><img src="../../../static/images/illustration-2.png" alt="" width="550" height="310"></div>
</div>
<div class="section-block section-block-6" v-if="isLogin && 0">
<h1>热门加密货币</h1>
<div class="d-flex">
<div>
<div>名称</div><div>BNB</div><div>BNB</div><div>BNB</div>
</div>
<div>
<div>最新价</div><div>219</div><div>219</div><div>219</div>
</div>
<div>
<div>24h涨跌</div><div>12%</div><div>12%</div><div>12%</div>
</div>
<div>
<div>市值</div><div>$7457M</div><div>$7457M</div><div>$7457M</div>
</div>
</div>
</div>
<div class="section-block section-block-7" v-if="isLogin">
<h1>新手指引</h1>
<div style="color: #6A6E74;">即刻开始</div>
<div class="d-flex mt-3 mb-4"><div class="label-1">购买既出售数字货币</div><div class="label-1">探索币安交易</div><div class="label-1">挖矿产品教程</div></div>
<div class="d-flex justify-content-between">
<div class="img-box">
<img src="../../../static/images/illustration-8.png" alt="" >
<div>3分钟极速了解法币交易</div>
</div>
<div class="img-box">
<img src="../../../static/images/illustration-9.png" alt="" >
<div>如何购买数字货币</div>
</div>
<div class="img-box">
<img src="../../../static/images/illustration-10.png" alt="" >
<div>如何出售数字货币</div>
</div>
</div>
</div>
<div class="section-block section-block-8" v-if="!isLogin">
<h1>币安理财</h1>
<div style="font-size: 20px;margin-bottom: 3rem;color: #6A6E74;">简单,安全史蒂夫史蒂夫史蒂</div>
<div class="d-flex justify-content-between" style="flex-wrap:wrap;">
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
</div>
<div class="d-flex justify-content-between" style="flex-wrap:wrap;">
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
<div class="cell">
<div>APR</div><div class="green-f">0.82-101</div>
<div class="cell-b"><img alt="" src="" width="36" height="36" /><span>USDT</span><i></i></div>
</div>
</div>
<div class="btn3">立即赚取</div>
</div>
<div class="section-block section-block-9 d-flex justify-content-between" v-if="!isLogin">
<div>
<h1 class="mb-3">创建个人加密货币投资组合</h1>
<div style="font-size: 20px;margin-bottom: 5rem;color: #6A6E74;">轻松几步,开启首笔交易。</div>
<div class="d-flex mb-5">
<img src="../../../static/images/big-icon-4.png" alt="" width="80" height="80">
<div style="margin-left:40px;">
<div style="font-size: 22px;font-weight: bold;">向账户充值</div>
<div style="color: #6A6E74;">充值加密货币充值加密货币充值加密货币充值加密货币充值加密货币充值加密货币</div>
</div>
</div>
<div class="d-flex mb-5">
<img src="../../../static/images/big-icon-9.png" alt="" width="80" height="80">
<div style="margin-left:40px;">
<div style="font-size: 22px;font-weight: bold;">向账户充值</div>
<div style="color: #6A6E74;">充值加密货币充值加密货币充值加密货币充值加密货币充值加密货币充值加密货币</div>
</div>
</div>
<div class="d-flex mb-5">
<img src="../../../static/images/big-icon-1.png" alt="" width="80" height="80">
<div style="margin-left:40px;">
<div style="font-size: 22px;font-weight: bold;">向账户充值</div>
<div style="color: #6A6E74;">充值加密货币充值加密货币充值加密货币充值加密货币充值加密货币充值加密货币</div>
</div>
</div>
<div class="btn3">开始使用</div>
</div>
<div style="height:630px;padding-right: 100px;"><img src="../../../static/images/portfolio-section.png" alt="" style="height: 100%"></div>
</div>
<div class="section-block section-block-10" v-if="!isLogin">
<h1>选择币安,探索无限可能</h1>
<div class="d-flex justify-content-between">
<div class="img-box"><img src="../../../static/images/nft.png" alt=""><div><h3 class="mb-3">深入探索世界</h3><div>在币安NFT揭开在币安NFT揭开</div></div></div>
<div class="img-box"><div><h3 class="mb-3">深入探索世界</h3><div>在币安NFT揭开在币安NFT揭开</div></div><img src="../../../static/images/binance-pay.png" alt=""></div>
<div class="img-box"><img src="../../../static/images/binance-earn.png" alt=""><div><h3 class="mb-3">深入探索世界</h3><div>在币安NFT揭开在币安NFT揭开</div></div></div>
</div>
</div>
<div class="section-block section-block-11">
<div class="d-flex justify-content-between">
<h1>随时随地,开启交易</h1>
<span>查看下载链接</span>
</div>
<div style="font-size: 20px;margin-bottom: 3rem;color: #6A6E74;">通过我们的APP</div>
<div class="d-flex justify-content-between">
<img src="../../../static/images/illustration-3.png" alt="" style="height:430px;margin-right:80px;">
<div>
<div class="d-flex mb-5" style="background:#FAFAFA;align-items: center;">
<img src="../../../static/images/11111.png" alt="" width="80" height="80">
<div>
<div>IOS & Android 扫码下载</div><div style="font-weight:bold;">IOS & Android</div>
</div>
</div>
<div class="d-flex" style="flex-wrap: wrap;">
<div class="icon-box"><img src="../../../static/images/icon/ios.png" alt=""><div>APP Store</div></div>
<div class="icon-box"><img src="../../../static/images/icon/andriod.png" alt=""><div>APP Store</div></div>
<div class="icon-box"><img src="../../../static/images/icon/google-play.png" alt=""><div>APP Store</div></div>
<div class="icon-box"><img src="../../../static/images/icon/imac.png" alt=""><div>APP Store</div></div>
<div class="icon-box"><img src="../../../static/images/icon/windows.png" alt=""><div>APP Store</div></div>
<div class="icon-box"><img src="../../../static/images/icon/linux.png" alt=""><div>APP Store</div></div>
<div class="icon-box"><img src="../../../static/images/icon/api.png" alt=""><div>APP Store</div></div>
</div>
</div>
</div>
</div>
<div class="section-block section-block-12" v-if="!isLogin">
<div class="d-flex justify-content-between">
<h1>值得用户信赖的加密货币交易平台</h1>
<span>了解更多</span>
</div>
<div style="font-size: 20px;margin-bottom: 3rem;color: #6A6E74;">币安竭力承诺都是对方是否诚实地反思</div>
<div class="d-flex justify-content-between">
<div>
<div class="d-flex mb-4">
<img src="../../../static/images/big-icon-5.png" alt="" class="img">
<div style="margin-left:40px;"><div style="font-size: 20px;">用户安全</div><div style="color: #6A6E74;">币安将所有交易费用</div></div>
</div>
<div class="d-flex mb-4">
<img src="../../../static/images/big-icon-6.png" alt="" class="img">
<div style="margin-left:40px;"><div style="font-size: 20px;">个性化访问控制</div><div style="color: #6A6E74;">币安将所有交易费用</div></div>
</div>
<div class="d-flex mb-4">
<img src="../../../static/images/big-icon-7.png" alt="" class="img">
<div style="margin-left:40px;"><div style="font-size: 20px;">先进数据加密</div><div style="color: #6A6E74;">币安将所有交易费用</div></div>
</div>
</div>
<img src="../../../static/images/trusted-section.png" alt="" style="height:300px;">
</div>
</div>
<div class="section-block section-block-13" v-if="!isLogin">
<h1 class="mb-4">需要帮助?</h1>
<div class="d-flex justify-content-between">
<div class="d-flex">
<img src="../../../static/images/big-icon-4.png" alt="" width="50" height="50">
<div style="margin-left:30px;">
<div style="font-size: 20px;margin-bottom: 0.5rem;">24/7聊天</div><div style="color: #6A6E74;margin-bottom: 0.5rem;">v里热度粉色的防静电免费v温柔i提</div><div style="color: #F7D558;">在线聊天</div>
</div>
</div>
<div class="d-flex">
<img src="../../../static/images/big-icon-8.png" alt="" width="50" height="50">
<div style="margin-left:30px;">
<div style="font-size: 20px;margin-bottom: 0.5rem;">24/7聊天</div><div style="color: #6A6E74;margin-bottom: 0.5rem;">v里热度粉色的防静电免费v温柔i提</div><div style="color: #F7D558;">在线聊天</div>
</div>
</div>
<div class="d-flex">
<img src="../../../static/images/big-icon-9.png" alt="" width="50" height="50">
<div style="margin-left:30px;">
<div style="font-size: 20px;margin-bottom: 0.5rem;">24/7聊天</div><div style="color: #6A6E74;margin-bottom: 0.5rem;">v里热度粉色的防静电免费v温柔i提</div><div style="color: #F7D558;">在线聊天</div>
</div>
</div>
</div>
</div>
<div class="section-block section-block-14" v-if="!isLogin">
<h1 class="mb-4">立即赚取收益</h1>
<div class="btn3">立即注册</div>
</div>
<div class="section-block section-block-15" v-if="isLogin">
<h1>开启您的数字货币之旅</h1>
<div class="d-flex justify-content-between">
<div class="box">
<img src="../../../static/images/big-icon-1.png" alt="" width="50" height="50">
<div class="mb-2" style="font-weight: bold;">0手续费买卖数字货币</div>
<div style="color: #6A6E74;">使用多种支付方式交易数字货币,0手续费,安全快捷</div>
</div>
<div class="box">
<img src="../../../static/images/big-icon-2.png" alt="" width="50" height="50">
<div class="mb-2" style="font-weight: bold;">最优的交易费率</div>
<div style="color: #6A6E74;">优惠的交易费率,富有竞争力的VIP权益,享受最优品质的服务</div>
</div>
<div class="box">
<img src="../../../static/images/big-icon-3.png" alt="" width="50" height="50">
<div class="mb-2" style="font-weight: bold;">可信赖的安全保障</div>
<div style="color: #6A6E74;">我们复杂的安全措施和SAFU基金保护您的数字资产免受所有风险</div>
</div>
<div class="box">
<img src="../../../static/images/big-icon-4.png" alt="" width="50" height="50">
<div class="mb-2" style="font-weight: bold;">24*7小时客服支持</div>
<div style="color: #6A6E74;">24*7小时全天候、全日制运营模式,第一时间为您解答相关咨询</div>
</div>
</div>
</div>
<div class="section-block section-block-16" v-if="isLogin">
<h1 class="mb-4">开始交易</h1>
<div class="btn3">开始交易</div>
</div>
<!-- number count -->
<div class="num-info d-flex" v-if="0">
<div class="num-info-count">
<div class="num">5 {{ $t("common.million") }}+</div>
<div class="title">{{ $t("common.user") }}</div>
</div>
<div class="num-info-count">
<div class="num">92,115,351</div>
<div class="title">{{ $t("common.tradings") }}</div>
</div>
<!-- <div class="num-info-count">
<div class="num">12,689,199</div>
<div class="title">payments in local currency</div>
</div> -->
<div class="num-info-count">
<div class="num">8,464,594</div>
<div class="title">{{ $t("common.using") }}</div>
</div>
</div>
<!-- why you choose -->
<div class="lattest-news-section" v-if="0">
<div class="section_choose service">
<!-- 标题 -->
<div class="service-title">
<div class="text service-title-text1">
{{ $t("common.Why") }}
</div>
<div class="dotfive d-flex">
<div class="dotblue" v-for="item in 5" :key="item"></div>
</div>
</div>
<!-- 内容 -->
<div class="service-content d-flex">
<div
class="service-img"
style="width: 600px; height: 600px; margin-right: 66px"
>
<img
src="../../assets/img/network.svg"
style="width: 100%; height: 100%; object-fit: contain"
alt=""
/>
</div>
<!-- 文字部分 -->
<div class="service-content-r">
<div class="service-content-r_title">
{{ $t("common.believe") }}
</div>
<div class="service-content-text">
<div class="service-content-text-img">
<div class="content_img">
<img src="../../assets/img/icon/eyes.svg" alt="" />
</div>
<div class="service-content-text1-title">
{{ $t("common.Clarity") }}
</div>
</div>
<div class="text-box">
<div class="service-content-text1-info1 info">
{{ $t("common.help") }}
</div>
<div class="service-content-text1-info2 info">
{{ $t("common.helpp") }}.
</div>
</div>
</div>
<div class="service-content-text">
<div class="service-content-text-img">
<div class="content_img">
<img src="../../assets/img/icon/dunpai.svg" alt="" />
</div>
<div class="service-content-text1-title">
{{ $t("common.safety") }}
</div>
</div>
<div class="text-box">
<div class="service-content-text1-info1 info">
{{ $t("common.double") }}
</div>
<div class="service-content-text1-info2 info">
{{ $t("common.double2") }}
</div>
</div>
</div>
<div class="service-content-text">
<div class="service-content-text-img">
<div class="content_img">
<img src="../../assets/img/icon/shanguang.svg" alt="" />
</div>
<div class="service-content-text1-title">
{{ $t("common.convenient") }}
</div>
</div>
<div class="text-box">
<div class="service-content-text1-info info">
{{ $t("common.key") }}
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div class="container">
<header>
<h3 class="news-title">{{ $t("common.noviceTutorial") }}</h3>
<div class="tips">{{$t('home.core_advantages')}}</div>
</header>
<div class="row content">
<template v-for="(item, idx) in articleList">
<div class="item rounded">
<router-link tag="div" :to="{name:'college-detail',params:{cid:item.category_id,aid:item.id}}" class="item rounded" :key="idx">
<figure>
<img :src="item.full_cover" alt="" />
<figcaption>
<h5 class="mt-4">{{ truncate(item.title, 26) }}</h5>
</figcaption>
<div class="eps-2" v-html="item.excerpt"></div>
</figure>
<article class="post-style-one" v-if="false">
<span class="post-metat-date">{{ item.updated_at }}</span>
<p class="post-entry" v-html="item.excerpt"></p>
<router-link
class="post-link"
:to="`/college/detail/${item.category_id}/${item.id}`"
>{{ $t("home.detail") }}</router-link
>
</article>
</router-link>
</div>
</template>
</div>
</div> -->
</div>
<!-- <div class="section">-->
<!-- 多平台下载-->
<!-- <div class="multi-platform" ref="platform">-->
<!-- <div class="d-flex container align-items-center">-->
<!-- <div class="left text-center d-flex align-items-center">-->
<!-- <div class="d-flex flex-column align-items-center">-->
<!-- <div class="h2">{{ $t("home.download") }}</div>-->
<!-- <div class="tip1">{{ $t("home.easy") }}</div>-->
<!-- <div class="qr-code-box">-->
<!-- <vue-qr :text="downloadLink" :margin="0" :size="200" />-->
<!-- <div class="label">-->
<!-- <img-->
<!-- class="scan-icon"-->
<!-- src="../../assets/img/homescan.png"-->
<!-- alt=""-->
<!-- />-->
<!-- {{ $t("home.skan") }}-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="right">-->
<!-- <img-->
<!-- class=""-->
<!-- src="../../assets/img/home_bgb.png"-->
<!-- alt=""-->
<!-- />-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- our technology -->
<div class="lattest-news-section" v-if="0">
<div class="section_technology service">
<!-- 标题 -->
<div class="service-title">
<div class="text service-title-text1">
{{ $t("common.technology") }}
</div>
<div class="dotfive d-flex">
<div class="dotblue" v-for="item in 5" :key="item"></div>
</div>
</div>
<!-- 内容 -->
<div class="service-content d-flex">
<!-- 文字部分 -->
<div
class="service-content-r"
style="margin-right: 80px; margin-left: 0"
>
<div
class="service-content-text"
style="
font-size: 24px;
width: 568px;
height: 323px;
line-height: 50px;
"
>
{{ $t("common.XTZCOIN") }}.
</div>
</div>
<!-- 右边图片 -->
<div class="service-img">
<img
src="../../assets/img/team.png"
style="width: 565px; height: 481px"
alt=""
/>
</div>
</div>
</div>
</div>
<!-- beginner's guide -->
<div class="lattest-news-section" v-if="0">
<div class="beginner service">
<!-- 标题 -->
<div class="service-title">
<div
class="text service-title-text1"
style="font-size: 40px; font-weight: 700; line-height: 71px"
>
{{ $t("common.guide") }}
</div>
<div class="dotfive d-flex">
<div class="dotblue" v-for="item in 5" :key="item"></div>
</div>
</div>
<!-- 内容 -->
<div class="beginner_content service-content d-flex">
<!-- 文字部分 -->
<div
class="beginner_content_r"
style="margin-left: 0; margin-right: 80px"
>
<div class="service-content-text beginner-text">
<div class="service-content-text-img text-img">
<div class="content_img">
<img src="../../assets/img/features/1@2x.png" alt="" />
</div>
</div>
<div class="text-box">
<div class="service-content-text1-title">
{{ $t("common.Wear") }}
</div>
<div class="service-content-text1-info1 info">
{{ $t("common.Get") }}
</div>
</div>
</div>
<div class="service-content-text beginner-text">
<div class="service-content-text-img text-img">
<div class="content_img">
<img src="../../assets/img/features/2@2x.png" alt="" />
</div>
</div>
<div class="text-box">
<div class="service-content-text1-title">
{{ $t("common.deposit") }}
</div>
<div class="service-content-text1-info1 info">
{{ $t("common.Invest") }}
</div>
<div class="service-content-text1-info1 info">
{{ $t("common.Invest2") }}
</div>
</div>
</div>
<div class="service-content-text beginner-text">
<div class="service-content-text-img text-img">
<div class="content_img">
<img src="../../assets/img/features/3@2x.png" alt="" />
</div>
</div>
<div class="text-box">
<div class="service-content-text1-title">
{{ $t("common.Complete") }}
</div>
<div class="service-content-text1-info2 info">
{{ $t("common.become") }}
</div>
<div class="service-content-text1-info3 info">
{{ $t("common.become2") }}
</div>
</div>
</div>
<div class="service-content-text beginner-text">
<div class="service-content-text-img text-img">
<div class="content_img">
<img src="../../assets/img/features/4@2x.png" alt="" />
</div>
</div>
<div class="text-box">
<div class="service-content-text1-title">
{{ $t("common.Start") }}
</div>
<div class="service-content-text1-info1 info">
{{ $t("common.Sell") }}
</div>
</div>
</div>
</div>
<!-- 图片 -->
<div class="service-img">
<img
src="../../assets/img/beginner.svg"
style="width: 555px; height: 481px"
alt=""
/>
</div>
</div>
<!-- colto-btn-group -->
<!-- <div
class="colto-btn-group"
style="justify-content: center"
v-if="1"
> -->
<div
class="colto-btn-group"
style="justify-content: center"
v-if="!isLogin"
>
<router-link
tag="button"
to="/sign-in"
class="btn btn-success rounded-pill callto-btn container_button"
style="background-color: rgb(84, 164, 80); margin-right: 50px"
>{{ $t("common.login") }}
</router-link>
<router-link
tag="button"
to="/sign-up"
class="btn btn-primary rounded-pill callto-btn container_button1"
style="background-color: rgb(50, 105, 235)"
>{{ $t("common.register") }}
</router-link>
</div>
<div v-else class="colto-btn-group">
<router-link
tag="button"
to="/exchange"
class="btn btn-primary rounded-pill callto-btn"
>{{ $t("common.trading") }}
</router-link>
</div>
</div>
</div>
<!-- build -->
<div class="build-box" v-if="0">
<!-- 标题部分 -->
<!-- <div class="section-choose section-build" style="height: 200px">
<div class="section-choose-top">
<div style="font-size: 48px; font-weight: 700">
Build your crypto portfolio anywhere
</div>
<div style="font-size: 20px; margin: 5px 0">
A powerful cryptocurrency exchange in your pocket. Buy, sell and
trade crypto on the go.
</div>
<div class="section-choose-boder"></div>
</div>
</div> -->
<!-- 下方部分 -->
<div class="build-bottom d-flex">
<!-- phone module -->
<div class="build-right">
<div class="build-right-phone">
<img src="../../assets/img/phonemodule.png" alt="" />
</div>
</div>
<div class="build-left">
<!-- applogo -->
<div class="service-title">
<div
class="build-left-text-appname text-start service-title-text1"
style="font-size: 48px"
>
XTZCOIN APP
</div>
<div class="dotfive d-flex">
<div class="dotblue" v-for="item in 5" :key="item"></div>
</div>
</div>
<div class="build-left-text" style="font-size: 36px">
{{ $t("common.Create") }}
</div>
<div
class="build-left-text"
style="font-size: 20px; margin-top: 10px;"
>
{{ $t("common.Scan") }}.
</div>
<div class="build-left-download d-flex">
<!-- android -->
<div class="download_box d-flex">
<div class="download checked d-flex">
<img class="download_ico" src="../../assets/img/icon/android-fill.svg" alt="" />
<div class="download-android-name">
{{ $t("common.Android") }}
</div>
</div>
</div>
<!-- ios -->
<div class="download_box d-flex">
<div class="download checked d-flex">
<img class="download_ico" src="../../assets/img/icon/apple-fill.svg" alt="" />
<div class="download-ios-name">{{ $t("common.ios") }}</div>
</div>
</div>
<!-- qrcode -->
</div>
<!-- <div
class="build-left-text"
style="font-size: 20px; margin-top: 10px; font-weight: 400"
>
{{ $t("common.Scan") }}.
</div> -->
<!-- qrcode -->
<div class="download_qrcode d-flex">
<div class="qrcode">
<img src="../../assets/img/download.png" alt="" />
</div>
<div class="qrcode">
<img src="../../assets/img/download.png" alt="" />
</div>
</div>
</div>
</div>
</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";
// Vue.use(VueAwesomeSwiper);
export default {
components: {
vueQr,
priceLine,
},
computed: {
isLogin() {
return Boolean(localStorage.token);
},
downloadLink() {
return "https://ser.xtzcoin.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: "",
};
},
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();
},
},
created() {
this.indexList();
},
mounted() {
this.article();
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: rgb(255,255,255) !important;
color: #000;
.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;
}
// .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-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%;
}
}
}
.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;
.marquee-pargress {
align-items: center;
width: 100%;
height: 60px;
// background: ("../../assets/img/bg/5.png") no-repeat !important;
background-size: 100% 100%;
}
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: 787px;
// background: url(../../assets/img/bg/juxing.png) no-repeat;
border: 3px solid white;
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: 50px auto 50px; // 居中
}
}
// .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: 150px;
justify-content: space-evenly;
margin: 60px 0;
.num-info-count {
.num {
font-size: 36px;
color: rgba(50, 105, 235, 1);
}
.title {
color: white;
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;
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 {
.beginner-text {
display: flex;
align-items: center;
margin-bottom: 20px;
.content_img {
width: 80px;
height: 80px;
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: 16px;
}
}
}
}
}
}
// 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);
}
}
//builed
.build-box {
width: 100%;
text-align: center;
color: white;
padding-bottom: 100px;
.build-bottom {
justify-content: center;
.text-start {
text-align: start;
}
.build-left {
text-align: left;
margin-left: 80px;
.service-title {
margin-bottom: 30px;
.dotfive {
margin-left: 8px;
}
}
// .build-left-logo {
// width: 366px;
// height: 92px;
// .build-left-logo img {
// width: 100%;
// height: 100%;
// }
// }
.build-left-download {
justify-content: space-between;
align-items: center;
width: 551px;
height: 80px;
font-size: 14px;
color: #000;
margin: 28px 0;
.download_box {
width: 210px;
height: 80px;
align-items: center;
justify-content: center;
border: 2px solid white;
border-radius: 9999px;
padding: 6px;
.download {
width: 190px;
height: 60px;
background-color: #fff;
font-size: 24px;
align-items: center;
justify-content: center;
.download_ico {
width: 28px;
height: 28px;
margin-right: 6px;
}
}
}
.checked {
border-radius: 9999px;
background-color: rgba(255, 255, 255, 1);
}
}
.download_qrcode {
width: 551px;
justify-content: space-between;
align-items: center;
padding: 0 2px;
.qrcode {
width: 210px;
height: 210px;
border: 2px solid #fff;
background-color: #000;
border-radius: 20px;
img {
width: 100%;
height: 100%;
}
}
}
}
.build-right {
width: 384px;
height: 791px;
.build-right img {
width: 100%;
height: 100%;
}
}
}
}
//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;
}
.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;
font-size: 14px;
border: 1px solid #4b5763;
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;
}
</style>
<style lang="scss" scoped>
.section-block{
width: 1100px;
margin: 0 auto;
padding-bottom: 20px;
h1{
font-size: 36px;
font-weight: 600;
}
h2{
font-size: 28px;
font-weight: 600;
}
h3{
font-size: 26px;
font-weight: 600;
}
.btn3{
width: 200px;
padding: 10px 0px;
text-align: center;
background: #F7D558;
border-radius: 4px;
}
}
.section-block-1{
width: 100%;
padding: 40px calc(50% - 550px);
background: url('../../../static/images/banner-1.png') no-repeat;
background-size: cover;
.btn1{
width: 55%;
padding: 10px 0px;
text-align: center;
background: #F7D558;
border-radius: 4px;
}
.btn2{
width: 48%;
padding: 10px 0px;
text-align: center;
background-color: #EAECEF;
border-radius: 4px;
}
}
.section-block-2{
padding: 40px 0px;
.th{
color:#898F9B;
}
.th, .td{
line-height: 50px;
}
.td span{
color:#898F9B;
margin-left: 6px;
}
}
.section-block-3{
width: 100%;
padding: 40px calc(50% - 550px);
background: url('../../../static/images/banner-2.png') no-repeat;
background-size: cover;
.box{
span{
color: #BF3F4D;
}
.num1{
font-size: 19px;
font-weight: bold;
}
}
}
.section-block-4{
.img{
margin-right: 20px;
background: #000;
border-radius: 6px;
}
}
.section-block-5{
padding: 20px 0px;
align-items: center;
.btn5{
width: 200px;
padding: 8px 0px;
text-align: center;
background: #F7D558;
border-radius: 4px;
}
}
.section-block-7{
.label-1{
background: #F5F5F6;
padding: 10px 20px;
margin-right: 30px;
}
.img-box{
width: 32%;
img{
width: 100%;
height: 220px;
background: #000;
border-radius: 10px;
margin-bottom: 0.5rem;
}
}
}
.section-block-8{
.cell{
width: 23.5%;
height: 155px;
background-color: #FAFAFA;
margin-bottom: 25px;
border-radius: 10px;
box-sizing: border-box;
padding: 25px 20px;
}
.green-f{
color:#4BA272;
font-size: 22px;
font-weight: bold;
// font-family: "PingFangSC-Regular, PingFang SC";
font-family: PingFang SC;
margin-bottom: 20px;
}
.cell-b{
display: flex;
justify-content: space-between;
align-items: center;
img{
margin-right: 10px;
background: #000;
border-radius: 50%;
overflow: hidden;
}
span{
flex: 1;
}
i{
width: 36px;
height: 36px;
background-color: #EAECEF;
border-radius: 50%;
overflow: hidden;
}
}
}
.section-block-9{
padding: 40px 0px;
}
.section-block-10{
.img-box{
width: 32%;
padding: 30px;
background-color: #FAFAFA;
border-radius: 10px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 500px;
img{
width: 100%;
}
}
}
.section-block-11{
padding: 40px 0px;
.icon-box{
width: 25%;
margin-right: 20px;
margin-bottom: 40px;
text-align: center;
img{
width: 30px;
height: 30px;
}
}
}
.section-block-12{
.img{
width:60px;
height:60px;
}
}
.section-block-13{
img{
height:50px;
}
}
.section-block-14, .section-block-16{
width: 100%;
padding: 40px calc(50% - 550px);
display: flex;
flex-direction: column;
align-items: center;
background: #FAFAFA;
}
.section-block-15{
.box{
width: 22%;
img{
margin-bottom:1rem;
}
}
}
</style>