From cf7e71c6d0fb64eeb6b5deac540da843b4bb465c Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期二, 26 八月 2025 10:41:52 +0800 Subject: [PATCH] 关于我们-理念与品牌文化 --- src/views/personalCenter/course.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/personalCenter/course.vue b/src/views/personalCenter/course.vue index 969624a..b83b991 100644 --- a/src/views/personalCenter/course.vue +++ b/src/views/personalCenter/course.vue @@ -234,11 +234,18 @@ pages.loading = false pages.count = res.totalSize courseList.value = res.datas.map((item: any) => { + if (item.icon) { + item.icon = getPublicImage(item.icon, '', 140) + } else if (item.linkProduct?.icon) { + item.icon = getPublicImage(item.linkProduct.icon, '', 140) + } else { + item.icon = defaultImg + } return { ...item, name: item.name, id: item.id, - icon: item.icon != 'default' ? getPublicImage(item.icon, 80) : defaultImg, + icon: item.icon, introduction: item.description, reason: item.applyReturnMsg ? JSON.parse(item.applyReturnMsg).reason : '', } @@ -531,8 +538,8 @@ flex: 1; display: flex; .imgBox { - width: 90px; - height: 120px; + width: 110px; + height: 140px; margin-right: 20px; box-shadow: 0px 0px 20px 1px #ccc; } -- Gitblit v1.9.1