From aa4de82bc7332ad6ec3046c4327ad774415e3f84 Mon Sep 17 00:00:00 2001 From: edana <1813750890@qq.com> Date: Thu, 20 Jun 2024 17:17:33 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/MyCourseStudy/learningProcess.vue | 18 ++-- .../courseResources/componse/resourceAdd.vue | 97 +++++++++++++++++-- src/views/courseResources/index.vue | 18 ++-- 3 files changed, 112 insertions(+), 21 deletions(-) diff --git a/src/views/MyCourseStudy/learningProcess.vue b/src/views/MyCourseStudy/learningProcess.vue index 70cd812..dadee24 100644 --- a/src/views/MyCourseStudy/learningProcess.vue +++ b/src/views/MyCourseStudy/learningProcess.vue @@ -155,6 +155,7 @@ const goToAnotherPage = (address) => {
{{ resource.name }}
{{ resource.description }}
@@ -243,7 +243,6 @@ const onEditResource = (row) => { } .body { background-color: #fff; - height: 100%; } .top { margin-bottom: 20px; @@ -267,7 +266,7 @@ ul { } li { transition: filter 0.3s; /* 添加过渡动画 */ - flex: 0 0 20%; + width: calc(25% - 25px); flex-direction: column; align-items: center; margin-bottom: 10px; @@ -296,4 +295,9 @@ li:hover { .box p:hover { font-weight: bold; } +.img { + display: block; + width: 250px; + height: 250px; +} From f13156cddb4713a8a522004c5bcf4d94217dff63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E9=B9=8F=E9=A3=9E?= <14315049+Hld-yupengfei@user.noreply.gitee.com> Date: Thu, 20 Jun 2024 17:18:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=9F=A5=E8=AF=86=E7=82=B9=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/courseChaptersApi.ts | 3 +- src/views/MyCourseStudy/ContainerCla.vue | 46 +++++---- src/views/MyCourseStudy/ContainerKno.vue | 79 ++++++++++++--- src/views/MyCourseStudy/courseCollections.vue | 97 +++++++++++++------ 4 files changed, 164 insertions(+), 61 deletions(-) diff --git a/src/api/courseChaptersApi.ts b/src/api/courseChaptersApi.ts index 6254975..54f2a6a 100644 --- a/src/api/courseChaptersApi.ts +++ b/src/api/courseChaptersApi.ts @@ -8,7 +8,8 @@ export function getAssApi(params: { page: number, pageSize: number, resourceIdList: string, - type: 1 | 2 | 3 | 4 | 5 + type: 1 | 2 | 3 | 4 | 5, + userId: string }) { return request.get('/Favour/get', { params diff --git a/src/views/MyCourseStudy/ContainerCla.vue b/src/views/MyCourseStudy/ContainerCla.vue index 855c265..2bb9528 100644 --- a/src/views/MyCourseStudy/ContainerCla.vue +++ b/src/views/MyCourseStudy/ContainerCla.vue @@ -2,12 +2,14 @@查看课程
+取消收藏