From a184f6126359a3ba30f59ee2b027e3cd4c4f4a5e Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Fri, 13 May 2022 17:38:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=AC=E5=85=B1=E9=A1=B5=E5=A4=B4?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B4=AD=E7=89=A9=E8=BD=A6=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/scss/global.scss | 18 +- layouts/default.vue | 23 +- layouts/module/header/HeaderCart.vue | 263 ++++++++++++++++ layouts/module/header/HeaderCategory.vue | 219 ++++++++++++++ layouts/module/header/HeaderInfoBar.vue | 16 +- layouts/module/header/index.vue | 285 ++---------------- .../index/home/module/LogisitcsInfo.vue | 16 +- store/index.js | 13 + 8 files changed, 547 insertions(+), 306 deletions(-) create mode 100644 layouts/module/header/HeaderCart.vue create mode 100644 layouts/module/header/HeaderCategory.vue diff --git a/assets/scss/global.scss b/assets/scss/global.scss index 05b225a..87ceb8a 100644 --- a/assets/scss/global.scss +++ b/assets/scss/global.scss @@ -34,4 +34,20 @@ table {border-collapse: collapse; border-spacing: 0; a { text-decoration:none; color: #333; &:hover { text-decoration:none; color: #FF512B;} -} \ No newline at end of file +} + + +/* 自定义滚动条样式 */ +.scrollbar-self { + &::-webkit-scrollbar { + width: 4px; + background-color: none; + } + &::-webkit-scrollbar-track { + background-color: none; + } + &::-webkit-scrollbar-thumb { + background: #dddddd; + border-radius: 10px; + } +} diff --git a/layouts/default.vue b/layouts/default.vue index a050cd4..e61e33d 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -8,13 +8,7 @@