<template>
|
<div class="common-footer">
|
<div class="footer">
|
<div class="footer_top">
|
<div class="footer_left">
|
<div class="logo">
|
<span class="avatar"></span><span class="text">Deepcoin</span>
|
</div>
|
<div class="text">
|
{{ $t("message.user.ma38") }}
|
</div>
|
</div>
|
<div class="footer_list">
|
<h1 class="about">
|
{{ $t("message.user.ma39") }}
|
</h1>
|
<ul>
|
<li>
|
<a href="javascript:void(0)" @click="goRouter('/about')">
|
{{ $t("message.user.ma40") }}</a
|
>
|
</li>
|
<li>
|
<a href="javascript:void(0)" @click="goRouter('/termsOfService')">
|
{{ $t("message.user.ma41") }}</a
|
>
|
</li>
|
<li>
|
<a href="javascript:void(0)" @click="goRouter('/agreement')">
|
{{ $t("message.user.ma42") }}</a
|
>
|
</li>
|
</ul>
|
</div>
|
<div class="footer_list">
|
<h1 class="about">{{ $t("message.user.ma43") }}</h1>
|
<ul>
|
<li>
|
<a href="javascript:void(0);" @click="goRouter('/helpCenter')">
|
{{ $t("message.user.ma44") }}</a
|
>
|
</li>
|
<li>
|
<a
|
href="javascript:void(0);"
|
@click="goRouter('/CustomerService')"
|
>
|
{{ $t("message.user.ma45") }}</a
|
>
|
</li>
|
<li>
|
<a
|
href="javascript:void(0);"
|
style="
|
color: rgb(255, 255, 255);
|
font-size: 12px;
|
text-decoration: underline;
|
"
|
>support@usadeepcoin.com</a
|
>
|
</li>
|
</ul>
|
</div>
|
</div>
|
<div class="footer_bottom">
|
<p>{{ $t("message.user.ma46") }}</p>
|
<p>Copyright © 2021 - Deepcoin All rights reserved.</p>
|
</div>
|
</div>
|
</div>
|
</template>
|
|
<script>
|
import LangSelect from "./langSelect.vue";
|
export default {
|
name: "footerView",
|
components: {
|
LangSelect,
|
},
|
data() {
|
return {};
|
},
|
mounted() {},
|
methods: {
|
goRouter(parmas) {
|
this.$router.push(parmas);
|
},
|
|
goapp() {
|
if (localStorage.getItem("localLan") == "en") {
|
window.location.href = "https://" + this.host_url + "/app.html";
|
} else if (localStorage.getItem("localLan") == "cht") {
|
window.location.href = "https://" + this.host_url + "/app-ft.html";
|
} else if (localStorage.getItem("localLan") == "zh-CN") {
|
window.location.href = "https://" + this.host_url + "/app-cn.html";
|
}
|
},
|
handleChangeLang(type) {
|
this.$refs.langSelect.isShowClick(type);
|
},
|
},
|
};
|
</script>
|
|
<style scoped>
|
.footer {
|
min-height: 100px;
|
background: rgb(24, 26, 32);
|
border-top: 1px solid rgba(109, 109, 109, 0.5);
|
.footer_top {
|
width: 94%;
|
margin: 0 auto;
|
display: flex;
|
padding: 16px 0;
|
.footer_left {
|
flex: 0 0 40%;
|
box-sizing: border-box;
|
.logo {
|
display: flex;
|
align-items: center;
|
.avatar {
|
width: 40px;
|
height: 40px;
|
background: url(../../assets/logo.png) no-repeat center center;
|
background-size: 40px 40px;
|
}
|
.text {
|
color: #fff;
|
font-size: 16px;
|
letter-spacing: 3px;
|
}
|
}
|
.text {
|
color: #989898;
|
font-size: 14px;
|
}
|
}
|
|
.footer_list {
|
flex: 0 0 30%;
|
box-sizing: border-box;
|
display: flex;
|
flex-direction: column;
|
justify-content: flex-start;
|
align-items: center;
|
.about {
|
color: #fff;
|
font-size: 20px;
|
font-weight: 400;
|
width: 100%;
|
text-align: center;
|
}
|
/* h1 {
|
font-size: 16px;
|
color: #fff;
|
margin-bottom: 10px;
|
} */
|
ul {
|
width: 100%;
|
li {
|
width: 100%;
|
text-align: center;
|
a {
|
width: 100%;
|
text-align: center;
|
text-decoration: none;
|
color: #989898;
|
height: 40px;
|
line-height: 40px;
|
&:hover {
|
display: inline-block;
|
color: #f7b328;
|
}
|
}
|
}
|
}
|
}
|
}
|
.footer_bottom {
|
width: 94%;
|
margin: 0 auto;
|
padding: 16px 0;
|
border-top: 1px solid rgba(109, 109, 109, 0.5);
|
p {
|
margin-top: 4px;
|
color: #989898;
|
font-size: 12px;
|
}
|
}
|
}
|
</style>
|