From f2d57c8d98846e3b4c99f66c56ed43f9b4a75baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BE=9D=E6=A2=A6?= <15822465730@163.com> Date: Tue, 16 Dec 2025 14:12:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E6=9C=9F=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/portal-index.scss | 55 ++++++---- src/components/NameFilterSelect/index.vue | 5 + src/views/course/CourseManage.vue | 123 +++++++++++++--------- src/views/course/TeacherList.vue | 2 +- 4 files changed, 118 insertions(+), 67 deletions(-) diff --git a/src/assets/styles/portal-index.scss b/src/assets/styles/portal-index.scss index 6d75a378..bb8a8e9b 100644 --- a/src/assets/styles/portal-index.scss +++ b/src/assets/styles/portal-index.scss @@ -433,32 +433,51 @@ } } .el-message.new-message { - background-color: #edf2fc !important; box-shadow: none !important; - border-color: #EBEEF5 !important; - min-width: 170px !important; - border-radius: 10px !important; + background-color: #edf2fc !important; + min-width: 240px !important; + height: 52px !important; + border-radius: 12px !important; + top: 236px !important; + font-size: 20px !important; + font-weight: bold !important; + border: none !important; } .el-message--success.new-message { - background-color: #f0f9eb !important; + box-shadow: none !important; - border-color: #e1f3d8 !important; - min-width: 170px !important; - border-radius: 10px !important - } + background-color: rgba($color: #4CB967, $alpha: 0.1) !important; + min-width: 240px !important; + height: 52px !important; + border-radius: 12px !important; + top: 236px !important; + font-size: 20px !important; + font-weight: bold !important; + color: #189B39 !important; + border: none !important; +} .el-message--error.new-message { - background-color: #fef0f0 !important; box-shadow: none !important; - border-color: #fde2e2 !important; - min-width: 170px !important; - border-radius: 10px !important - } + background-color: rgba($color: #FF3636 , $alpha: 0.1) !important; + min-width: 240px !important; + height: 52px !important; + border-radius: 12px !important; + top: 236px !important; + font-size: 20px !important; + font-weight: bold !important; + color: #CF1717 !important; + border: none !important; +} .el-message--warning.new-message { - background-color: #fdf6ec !important; box-shadow: none !important; - border-color: #faecd8 !important; - min-width: 170px !important; - border-radius: 10px !important + background-color: #fdf6ec !important; + min-width: 240px !important; + height: 52px !important; + border-radius: 12px !important; + top: 236px !important; + font-size: 20px !important; + font-weight: bold !important; + border: none !important; } diff --git a/src/components/NameFilterSelect/index.vue b/src/components/NameFilterSelect/index.vue index bbc5f735..d3fdc5d9 100644 --- a/src/components/NameFilterSelect/index.vue +++ b/src/components/NameFilterSelect/index.vue @@ -28,9 +28,14 @@ export default { this.$emit("handleNameChange", this.aids); }, handleClose() { + this.$set(this, 'nameList', []) console.log("handleClose", this.aids); this.$emit("handleClose"); }, + handleReset() { + this.aids = []; + this.nameList = []; + }, async initNameList(keyword) { console.log("initNameList", keyword); if (!keyword) { diff --git a/src/views/course/CourseManage.vue b/src/views/course/CourseManage.vue index 9ea1b149..963e71ac 100644 --- a/src/views/course/CourseManage.vue +++ b/src/views/course/CourseManage.vue @@ -13,12 +13,12 @@
- +
- + -