From 93cb03a38165158a0e360d74c6243857294406b6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 7 Jun 2024 16:49:42 +0800 Subject: [PATCH] ypf 2.0 --- src/styles/index.scss | 32 +- src/views/MyCourseStudy/ContainerCla.vue | 168 +++++++++ src/views/MyCourseStudy/ContainerRes.vue | 4 + src/views/MyCourseStudy/courseCollections.vue | 324 ++++++------------ 4 files changed, 298 insertions(+), 230 deletions(-) create mode 100644 src/views/MyCourseStudy/ContainerCla.vue create mode 100644 src/views/MyCourseStudy/ContainerRes.vue diff --git a/src/styles/index.scss b/src/styles/index.scss index b83a609..49fb8ba 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -2,43 +2,51 @@ @import './reset.scss'; // 滚动条外观样式设置 -::-webkit-scrollbar{ +::-webkit-scrollbar { width: 10px; } -::-webkit-scrollbar-track{ - background-color:$base-menu-background; + +::-webkit-scrollbar-track { + background-color: $base-menu-background; } -::-webkit-scrollbar-thumb{ + +::-webkit-scrollbar-thumb { width: 10px; - background-color: #fff; + background-color: #7d7b7b; border-radius: 10px; } // 修改elemen plus样式 -.el-menu{ +.el-menu { background-color: #ffffff; } -.el-menu-item:hover{ + +.el-menu-item:hover { background-color: #5577ff; color: #fff; } -.el-sub-menu__title:hover{ + +.el-sub-menu__title:hover { background-color: #5577ff; color: #fff; } -.el-menu-item.is-active{ + +.el-menu-item.is-active { color: #fff; background-color: #5577ff; } -.el-menu-item{ + +.el-menu-item { color: #9896A3; border-radius: 10px; margin: 5px 0; } -.el-sub-menu__title{ + +.el-sub-menu__title { color: #9896A3; border-radius: 10px; } -.el-scrollbar__wrap{ + +.el-scrollbar__wrap { padding: 0 15px; } \ No newline at end of file diff --git a/src/views/MyCourseStudy/ContainerCla.vue b/src/views/MyCourseStudy/ContainerCla.vue new file mode 100644 index 0000000..fc720bb --- /dev/null +++ b/src/views/MyCourseStudy/ContainerCla.vue @@ -0,0 +1,168 @@ + + \ No newline at end of file diff --git a/src/views/MyCourseStudy/ContainerRes.vue b/src/views/MyCourseStudy/ContainerRes.vue new file mode 100644 index 0000000..7708f31 --- /dev/null +++ b/src/views/MyCourseStudy/ContainerRes.vue @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/src/views/MyCourseStudy/courseCollections.vue b/src/views/MyCourseStudy/courseCollections.vue index c506df8..4348879 100644 --- a/src/views/MyCourseStudy/courseCollections.vue +++ b/src/views/MyCourseStudy/courseCollections.vue @@ -1,53 +1,12 @@