From 090136039e9e12290c96db17b460ad6d582791e9 Mon Sep 17 00:00:00 2001 From: Zhang HaoYang <1304907854@qq.com> Date: Fri, 7 Jul 2023 01:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/WebsiteBanner.svg | 1 + src/assets/styles/element-variables.scss | 17 +++++- src/components/Monthly/Monthly.vue | 9 ++- src/components/Monthly/MonthlyByTags.vue | 74 +++++++++++++++++++----- src/components/Monthly/MonthlyDetail.vue | 33 ++++++++++- src/components/Monthly/MonthlyItems.vue | 8 +-- 6 files changed, 117 insertions(+), 25 deletions(-) create mode 100644 src/assets/images/WebsiteBanner.svg diff --git a/src/assets/images/WebsiteBanner.svg b/src/assets/images/WebsiteBanner.svg new file mode 100644 index 0000000..5220ef7 --- /dev/null +++ b/src/assets/images/WebsiteBanner.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/styles/element-variables.scss b/src/assets/styles/element-variables.scss index be56db9..313fb37 100644 --- a/src/assets/styles/element-variables.scss +++ b/src/assets/styles/element-variables.scss @@ -56,7 +56,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; box-shadow: -10px 5px 10px 5px #eaeaea; } .RightContent{ - width:20vw; + width:15vw; height:fit-content; margin-top:50px; margin-left:20px; @@ -71,4 +71,19 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; border-radius: 6px; background-color: #ffffff; box-shadow: -10px 5px 10px 5px #eaeaea; +} +//回到顶部按钮CSS +.backbutton{ + position:fixed; + left:70vw; + top:90vh; + width:60px; + height:60px; + border-radius:10px; + border:2px solid #dadada; + background-color: #e8e8e8; + box-shadow: -5px 5px 5px 5px #eaeaea; +} +.backbutton :hover{ + color: #789be5!important; } \ No newline at end of file diff --git a/src/components/Monthly/Monthly.vue b/src/components/Monthly/Monthly.vue index 0dba58f..5bc5c66 100644 --- a/src/components/Monthly/Monthly.vue +++ b/src/components/Monthly/Monthly.vue @@ -128,7 +128,6 @@