From e2efa26caac1ef0da6e2bb4f9ca73ea712453ab7 Mon Sep 17 00:00:00 2001 From: NiSen Date: Sun, 8 Oct 2023 09:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/CourseRecommended.vue | 64 ++++++++++++++----- src/views/portal/course/Index.vue | 5 +- 2 files changed, 51 insertions(+), 18 deletions(-) diff --git a/src/views/portal/course/CourseRecommended.vue b/src/views/portal/course/CourseRecommended.vue index 4a136c65..74963df7 100644 --- a/src/views/portal/course/CourseRecommended.vue +++ b/src/views/portal/course/CourseRecommended.vue @@ -80,9 +80,14 @@
我对本次推荐课程很满意
- + - 哈哈哈 +
+
+ {{ item }} +
+
@@ -103,7 +108,8 @@ export default { components: { PortalHeader, TimeShow }, data() { return { - evaluateVisible:false, + evaluateVisible: false, + mark: -1, keyword: "", navTitle: [{ name: "课程", @@ -149,8 +155,12 @@ export default { }, methods: { + score(mark) { + this.mark = mark + }, closeDlg() { - + this.mark = -1 + this.evaluateVisible = false }, submitNotice() { @@ -297,18 +307,42 @@ export default { .dialogContent { -.dialogTop { - display: flex; - justify-content: space-between; - margin-bottom: 40px; + .dialogTop { + display: flex; + justify-content: space-between; + margin-bottom: 40px; - .words { - font-size: 26px; - font-weight: 600; - color: #333333; - line-height: 37px; + .words { + font-size: 26px; + font-weight: 600; + color: #333333; + line-height: 37px; + } + } + + .scoreList { + display: flex; + justify-content: space-between; + align-items: center; + + .scoreEvery { + cursor: pointer; + width: 50px; + height: 50px; + line-height: 50px; + background: #F1F2F4; + border-radius: 8px; + border: 1px solid #D4D4D4; + text-align: center; + font-size: 20px; + color: #999990; + } + + .scoreActive { + border: 1px solid #388BE1; + background: #E4F1FF; + color: #388BE1; + } } } -} - diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 407bd895..bbd73fd1 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -21,11 +21,10 @@
- +
- + -->
课程分类