From 0620a3958f11b68d5020ab615e417fba86873f06 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Sat, 22 Oct 2022 17:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=94=B6=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal.scss | 12 +++++++++++ src/components/Portal/interactBar.vue | 6 +++--- src/icons/svg/collectedCourse.svg | 12 +++++------ src/icons/svg/collectionCourse.svg | 16 +++++++++++++++ src/views/Index.vue | 29 ++++++++++++++++++--------- src/views/portal/course/Index.vue | 9 ++++----- 6 files changed, 60 insertions(+), 24 deletions(-) create mode 100644 src/icons/svg/collectionCourse.svg diff --git a/src/assets/styles/portal.scss b/src/assets/styles/portal.scss index 88bb3a10..91d1a1ba 100644 --- a/src/assets/styles/portal.scss +++ b/src/assets/styles/portal.scss @@ -162,6 +162,12 @@ body {margin: 0px;padding: 0px;} // margin-bottom: 36px; background: #fff; border-radius: 8px; + position: relative; + .course-card-favorite{ + position: absolute; + right:25px; + bottom: 72px; + } // margin-right: 35px; // .cor-icon { @@ -338,6 +344,12 @@ body {margin: 0px;padding: 0px;} .course-card { padding:20px; margin-right: 20px; + position: relative; + .course-card-favorite{ + position: absolute; + right:20px; + bottom: 72px; + } .course-image-box { width:218; height: 122px; diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index f064c8b7..f95be3bb 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -37,10 +37,10 @@
-