|
|
@ -1,6 +1,10 @@ |
|
|
<template> |
|
|
<template> |
|
|
<!-- colto-section --> |
|
|
<!-- colto-section --> |
|
|
<footer class="footer" @click="toggleMenu($event,2)"> |
|
|
<footer class="footer" @click="toggleMenu($event,2)"> |
|
|
|
|
|
<!-- <div class="cszone"> |
|
|
|
|
|
<a href="javascript:void(0);" @click="scbox()"><img src="../assets/img/home/kefu.png"></a> |
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<div class="footer-upper-section"> |
|
|
<div class="footer-upper-section"> |
|
|
<!-- logo --> |
|
|
<!-- logo --> |
|
|
@ -269,12 +273,18 @@ |
|
|
<img src="@/assets/img/home/catyapp.png" alt="" style="width: 120px;height: 120px;background-color: #ccc;"> |
|
|
<img src="@/assets/img/home/catyapp.png" alt="" style="width: 120px;height: 120px;background-color: #ccc;"> |
|
|
<div style="font-size: 16px; color: #797979;margin-top: 12px;text-align: center;">{{ $t("homeNewText.hh46",{name:"Avtocoin"}) }}</div> |
|
|
<div style="font-size: 16px; color: #797979;margin-top: 12px;text-align: center;">{{ $t("homeNewText.hh46",{name:"Avtocoin"}) }}</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="cspopup" :class='{"hidden":ispopup?"":"none"}'> |
|
|
|
|
|
<a href="javascript:void(0);" class="close_btn" @click="closebox();">x</a> |
|
|
|
|
|
<iframe width="100%" height="100%" class="my-modal-body" :src="ifurl" frameborder="0" style="border-radius: 10px;background-color: #fff;"></iframe> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</footer> |
|
|
</footer> |
|
|
</template> |
|
|
</template> |
|
|
<script> |
|
|
<script> |
|
|
import College from "@/api/college"; |
|
|
import College from "@/api/college"; |
|
|
import ContactUs from "@/api/contactUs"; |
|
|
import ContactUs from "@/api/contactUs"; |
|
|
|
|
|
import Member from "@/api/member"; |
|
|
import { mapState } from "vuex"; |
|
|
import { mapState } from "vuex"; |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
@ -282,6 +292,8 @@ export default { |
|
|
service: [], |
|
|
service: [], |
|
|
college: [], |
|
|
college: [], |
|
|
email: "", |
|
|
email: "", |
|
|
|
|
|
ispopup:false, |
|
|
|
|
|
ifurl:"", |
|
|
list: [ |
|
|
list: [ |
|
|
{ src: "https://www.rsncoin.com/static/flag/discord.png" }, |
|
|
{ src: "https://www.rsncoin.com/static/flag/discord.png" }, |
|
|
{ src: "https://www.rsncoin.com/static/flag/telegram.png" }, |
|
|
{ src: "https://www.rsncoin.com/static/flag/telegram.png" }, |
|
|
@ -439,6 +451,34 @@ export default { |
|
|
}) |
|
|
}) |
|
|
.catch((err) => {}); |
|
|
.catch((err) => {}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
scbox(e){ |
|
|
|
|
|
// under login |
|
|
|
|
|
if (this.isLogin) { |
|
|
|
|
|
// get user infomation |
|
|
|
|
|
let user_str = localStorage.getItem("auth"); |
|
|
|
|
|
if(user_str!=""){ |
|
|
|
|
|
let user = JSON.parse(user_str); |
|
|
|
|
|
// 查询对应的推荐人帐号 |
|
|
|
|
|
Member.getUnameByUid({user_id:user.referrer}).then(rfres=>{ |
|
|
|
|
|
// query referr uname |
|
|
|
|
|
this.ifurl ="https://ksc.avtocoin.com/chat/?toid="+rfres.username+"&room_id="+user.account+"&usid="+user.user_id; |
|
|
|
|
|
// show popup |
|
|
|
|
|
this.ispopup = ! this.ispopup |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
// |
|
|
|
|
|
console.log("login fisrt!!") |
|
|
|
|
|
this.$router.push({ path: '/sign-in' }); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
closebox(){ |
|
|
|
|
|
if(this.ispopup){ |
|
|
|
|
|
this.ispopup = false |
|
|
|
|
|
} |
|
|
|
|
|
this.ispopup =false |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.getCollegeLinks(); |
|
|
this.getCollegeLinks(); |
|
|
@ -454,6 +494,22 @@ export default { |
|
|
border-top: none; |
|
|
border-top: none; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
|
|
|
|
|
|
|
|
|
.cszone{ |
|
|
|
|
|
width:48px; |
|
|
|
|
|
position:fixed; |
|
|
|
|
|
bottom:10%; |
|
|
|
|
|
right:26px; |
|
|
|
|
|
z-index:999; |
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
border-radius: 10px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.cszone img{ |
|
|
|
|
|
text-align:center; |
|
|
|
|
|
width:48px; |
|
|
|
|
|
height:48px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.content{ |
|
|
.content{ |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
@ -586,6 +642,35 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
.cspopup{ |
|
|
|
|
|
position:fixed; |
|
|
|
|
|
top:50%; |
|
|
|
|
|
left:50%; |
|
|
|
|
|
transform: translate(-50%, -50%); |
|
|
|
|
|
width:560px; |
|
|
|
|
|
height:560px; |
|
|
|
|
|
z-index:999; |
|
|
|
|
|
|
|
|
|
|
|
.close_btn{ |
|
|
|
|
|
width:35px; |
|
|
|
|
|
height:35px; |
|
|
|
|
|
font-size:20px; |
|
|
|
|
|
font-weight:500; |
|
|
|
|
|
line-height:30px; |
|
|
|
|
|
text-align:center; |
|
|
|
|
|
display:block; |
|
|
|
|
|
color:#fff; |
|
|
|
|
|
background:#553646; |
|
|
|
|
|
border-radius:50%; |
|
|
|
|
|
position:absolute; |
|
|
|
|
|
right:-10px; |
|
|
|
|
|
top:-10px; |
|
|
|
|
|
z-index:1000; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.hidden{ |
|
|
|
|
|
display:none; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.serviceText{ |
|
|
.serviceText{ |
|
|
color: #797979; |
|
|
color: #797979; |
|
|
|