From 0b7a8a85eaeee617b23f83bd124d42663ef83659 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 2 Sep 2022 19:09:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/interactBar.vue | 15 ++++++++++++--- src/icons/svg/collectedCourse.svg | 1 + src/views/portal/course/Index.vue | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 src/icons/svg/collectedCourse.svg diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index e5633007..eb8ae606 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -36,9 +36,8 @@
- - - + + {{ data.favorites}}
@@ -55,6 +54,12 @@ {{ data.views}} +
@@ -129,6 +134,10 @@ export default { type:Boolean, default:true }, + courseExclusive:{ + type:Boolean, + default:false + }, shares:{ type:Boolean, default:true diff --git a/src/icons/svg/collectedCourse.svg b/src/icons/svg/collectedCourse.svg new file mode 100644 index 00000000..de1f2f49 --- /dev/null +++ b/src/icons/svg/collectedCourse.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 90724a63..0d4b98a7 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -94,7 +94,7 @@ {{cinfo.studies}}人学习
-
+
{{toScore(cinfo.score)}}分