From 60641e144258c4b42ff3ef9c555d51b7948e0699 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Fri, 16 Aug 2024 19:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=A2=E6=9C=8D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/home/kefu.png | Bin 0 -> 1134 bytes src/components/CommonFooter.vue | 81 ++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 src/assets/img/home/kefu.png diff --git a/src/assets/img/home/kefu.png b/src/assets/img/home/kefu.png new file mode 100644 index 0000000000000000000000000000000000000000..c1e6d2f3e050f267994f1c3cbecb0840f13dc31f GIT binary patch literal 1134 zcmV-!1d;oRP)Px(C`m*?RA@u(nQO>SSro^A?)C?X{i;nz%GHas0d|@UA^rrU!Zfqk%EN2S7XXR~(-K|CqlgfM0<>${=3`f$6|k zz<`{9E&=<1?{ezZEU$-vfa}w*9ss}y`Tc&IKp`;;tqo$2DRHFsCSiCqR3ntRnSUemsRVjzv$5u}1SL z(4h!{&e0?7enL@|^V>pj@+)ly79`ZVMAiR+%S=`bi~xR1D8N=a9|Ip&5C>{Q?*J;EX)?-+OQ#3K zbdBePtB3==bahp-WVwAaTpmym$qQLhMI0zdXL$BiR+JYS#YNzC!2MQA^N|cNQ?o>E zs3sdesln_bpr><4qpqA?Rz1-D*Vx4;7l1)N52!EIn8YV##zDya7anzgdhBIhAvM*z zedtXsP%M-ou6EUBcM72Tlu1Beo(6_{klh3Hax6oVkH$26YG2g})=1V{=&vZPb@QMr zBMw6DzZ1N$`5Kz}z!nFI|4duCwT$C8ZRA^3*4WM*v-k+ehWY`ubv=L~DW=`sfRq12NOco&oO2(OLPIcud&^)oC?xwz8@bZ|l+Au&~J04ZiifW8iplpO*PF@^18&| z2ZOJYzy#n(27665>>6@6y8jyji)f?is)E>_?PPgUL$dt_eEfStu;;5Hpev%EkFrD) zxS!0&IdKSKQ569_L-ZU;li=~Wk3>}jv~SwaP@1*sO>@f!F68?v321+f%vD)GGGp>H z=BKDqz*m`tLJqH#HC20{6p&d)-V><&h&>y;0aeqdG36*%1^@s607*qoM6N<$f=WgT A@Bjb+ literal 0 HcmV?d00001 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;