From 6d45383ac6635676cdcf93ad35ed0449b4e16e4d Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Sat, 9 Apr 2022 23:53:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0BuyIt=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/fixed-right-qq.svg | 1 - src/layout/components/BuyIt/index.vue | 39 ++++++++++++--------------- 2 files changed, 17 insertions(+), 23 deletions(-) delete mode 100644 src/assets/icons/fixed-right-qq.svg diff --git a/src/assets/icons/fixed-right-qq.svg b/src/assets/icons/fixed-right-qq.svg deleted file mode 100644 index 969c4612..00000000 --- a/src/assets/icons/fixed-right-qq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/layout/components/BuyIt/index.vue b/src/layout/components/BuyIt/index.vue index 3bdb85db..326f720a 100644 --- a/src/layout/components/BuyIt/index.vue +++ b/src/layout/components/BuyIt/index.vue @@ -29,25 +29,21 @@ function open(url) { @@ -58,7 +54,7 @@ function open(url) { z-index: 10; right: -58px; top: 50%; - margin-top: -170px; + transform: translateY(-50%); width: 70px; display: flex; flex-direction: column; @@ -74,7 +70,6 @@ function open(url) { height: 70px; text-align: center; color: #fff; - background-color: #409eff; border-bottom: 1px solid #fff; transition: 0.3s; opacity: 0.7; @@ -89,16 +84,16 @@ function open(url) { border-bottom-left-radius: 5px; border-bottom: 0; } - &.chat { - background-color: #0fcc1a; - } - &.buy { + &:nth-child(1) { background-color: #ff4200; } - &.doc { - background-color: #727272; + &:nth-child(2) { + background-color: #409eff; } - &.code { + &:nth-child(3) { + background-color: #0fcc1a; + } + &:nth-child(4) { background-color: #343b42; } .svg-icon {