From 7996e26d06f8c8fb0b01d11b941b4818014da725 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Wed, 7 Aug 2024 21:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9C=A8=E7=BA=BF=E5=AE=A2?= =?UTF-8?q?=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 1 + src/assets/img/cs_w.svg | 1 + src/components/CommonFooter.vue | 77 ++++++++++++++++++++++++++++++--- src/components/CommonHeader.vue | 6 ++- src/views/cszone/index.vue | 5 +++ 5 files changed, 83 insertions(+), 7 deletions(-) create mode 100644 src/assets/img/cs_w.svg create mode 100644 src/views/cszone/index.vue diff --git a/src/App.vue b/src/App.vue index fd619db..f5b3f13 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,6 +3,7 @@
+
diff --git a/src/assets/img/cs_w.svg b/src/assets/img/cs_w.svg new file mode 100644 index 0000000..5615935 --- /dev/null +++ b/src/assets/img/cs_w.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/CommonFooter.vue b/src/components/CommonFooter.vue index 982ee88..47072ec 100644 --- a/src/components/CommonFooter.vue +++ b/src/components/CommonFooter.vue @@ -1,6 +1,11 @@ @@ -287,6 +300,7 @@ export default { { src: "https://www.rsncoin.com/static/flag/vk.png" }, { src: "https://www.rsncoin.com/static/flag/youtube.jpg" }, ], + ispopup:false, // customer service box langList: [ // { // value: "cn", // zh-CN @@ -371,9 +385,9 @@ export default { }, }, methods: { - Jump(vle){ - this.$router.push(vle); - }, + Jump(vle){ + this.$router.push(vle); + }, toggleMenu(e, type){ e.stopPropagation(); if(type===2){ @@ -400,6 +414,7 @@ export default { }) .catch((err) => {}); }, + // getServiceLink() { College.getServiceList() .then((list) => { @@ -419,6 +434,19 @@ export default { }) .catch((err) => {}); }, + // scbox + scbox(e){ + this.ispopup = ! this.ispopup + console.log("dd",this.ispopup) + }, + // close + closebox(){ + if(this.ispopup){ + this.ispopup = false + } + this.ispopup =false + } + }, created() { this.getCollegeLinks(); @@ -432,7 +460,23 @@ export default { .footer { background-color: #121212; border-top: none; - + position:relative; + + .cszone{ + width:60px; + position:fixed; + bottom:10%; + right:26px; + z-index:999; + } + + .cszone img{ + text-align:center; + width:48px; + height:48px; + } + + .content{ display: flex; justify-content: space-between; @@ -564,6 +608,27 @@ export default { } } + .cspopup{ + .close_btn{ + // width:20px; + height:20px; + font-size:18px; + line-height:20px; + text-align:right; + display:block; + } + position:fixed; + top:40%; + left:35%; + width:560px; + height:560px; + z-index:999; + } + +} + +.hidden{ + display:none; } .serviceText{ @@ -629,4 +694,6 @@ export default { display: none; } } + + \ No newline at end of file diff --git a/src/components/CommonHeader.vue b/src/components/CommonHeader.vue index 0f98ada..2bdac65 100644 --- a/src/components/CommonHeader.vue +++ b/src/components/CommonHeader.vue @@ -224,8 +224,10 @@ - + diff --git a/src/views/cszone/index.vue b/src/views/cszone/index.vue new file mode 100644 index 0000000..a8045e5 --- /dev/null +++ b/src/views/cszone/index.vue @@ -0,0 +1,5 @@ + \ No newline at end of file