diff --git a/src/components/CommonFooter.vue b/src/components/CommonFooter.vue
index 74d75bb..ef87573 100644
--- a/src/components/CommonFooter.vue
+++ b/src/components/CommonFooter.vue
@@ -273,7 +273,7 @@
@@ -301,6 +301,7 @@ export default {
{ src: "https://www.rsncoin.com/static/flag/youtube.jpg" },
],
ispopup:false, // customer service box
+ ifurl:"", // chat URL
langList: [
// {
// value: "cn", // zh-CN
@@ -386,6 +387,7 @@ export default {
},
},
methods: {
+ //go to url
Jump(vle){
this.$router.push(vle);
},
@@ -439,7 +441,13 @@ export default {
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://cs.btcaholic.com/chat/?toid="+user.referrer
+ // show popup
this.ispopup = ! this.ispopup
+
}else{
//
console.log("login fisrt!!")