|
@@ -104,7 +104,7 @@ const userInfo = computed(() => user.info.value?.userInfo)
|
|
|
<scroll-view class="scroll-view_H" direction="horizontal" :show-scrollbar="false" ref="cardsScrollView" @scroll="debouncedOnScroll">
|
|
<scroll-view class="scroll-view_H" direction="horizontal" :show-scrollbar="false" ref="cardsScrollView" @scroll="debouncedOnScroll">
|
|
|
<view class="scroll-view-item_H bg-[white]" v-for="course in catalog?.courseList || []" :class="`category-${course.catalogId}`" :key="course.id"
|
|
<view class="scroll-view-item_H bg-[white]" v-for="course in catalog?.courseList || []" :class="`category-${course.catalogId}`" :key="course.id"
|
|
|
@tap="handleDetail(course)">
|
|
@tap="handleDetail(course)">
|
|
|
- <cl-image :src="config.baseUrl + course?.fileList?.[0]?.url" mode="heightFix"
|
|
|
|
|
|
|
+ <cl-image :src="course?.ossIconPath" mode="heightFix"
|
|
|
class="!w-full !h-[26vh] mb-[2px] rounded-xl"></cl-image>
|
|
class="!w-full !h-[26vh] mb-[2px] rounded-xl"></cl-image>
|
|
|
<view class="text-[4vh] font-bold absolute top-[4vh] left-0 w-full text-center" >{{
|
|
<view class="text-[4vh] font-bold absolute top-[4vh] left-0 w-full text-center" >{{
|
|
|
course.mainTitle }}</view>
|
|
course.mainTitle }}</view>
|