diff --git a/src/assets/img/home/kefu.png b/src/assets/img/home/kefu.png new file mode 100644 index 0000000..c1e6d2f Binary files /dev/null and b/src/assets/img/home/kefu.png differ diff --git a/src/components/CommonFooter.vue b/src/components/CommonFooter.vue index 004d1b6..b62e43d 100644 --- a/src/components/CommonFooter.vue +++ b/src/components/CommonFooter.vue @@ -1,6 +1,10 @@ @@ -287,6 +297,8 @@ export default { { src: "https://www.rsncoin.com/static/flag/vk.png" }, { src: "https://www.rsncoin.com/static/flag/youtube.jpg" }, ], + ispopup:false, + ifurl:"", langList: [ // { // value: "cn", // zh-CN @@ -419,6 +431,28 @@ export default { }) .catch((err) => {}); }, + scbox(e){ + // under login + if (this.isLogin) { + // get user infomation + let user_str = localStorage.getItem("auth"); + let user = JSON.parse(user_str); + this.ifurl ="https://sc.moabcoin.com/chat/?toid="+user.referrer+"&room_id="+user.account; + // 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() { this.getCollegeLinks(); @@ -433,6 +467,22 @@ export default { background-color: #121212; border-top: none; + .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{ display: flex; justify-content: space-between; @@ -566,6 +616,37 @@ 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{ color: #797979; text-decoration: none;