杨磊
6 小时以前 ee213bf458d3961a0560ce3b68a3ad38322ece97
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,9 +538,10 @@
        flex: 1;
        display: flex;
        .imgBox {
          width: 90px;
          height: 120px;
          width: 110px;
          height: 140px;
          margin-right: 20px;
          box-shadow: 0px 0px 20px 1px #ccc;
        }
        .infoBox {
          flex: 1;