|
@@ -101,18 +101,18 @@ function debouncedOnScroll(e: any) {
|
|
|
</view>
|
|
</view>
|
|
|
<view class="boxs">
|
|
<view class="boxs">
|
|
|
<scroll-view class="scroll-view_H" direction="horizontal" ref="cardsScrollView" :show-scrollbar="false" @scroll="debouncedOnScroll">
|
|
<scroll-view class="scroll-view_H" direction="horizontal" ref="cardsScrollView" :show-scrollbar="false" @scroll="debouncedOnScroll">
|
|
|
- <view class="scroll-view-item_H bg-[white]" :class="`category-${course.catalogId}`" v-for="course in courseList || []" :key="course.id"
|
|
|
|
|
|
|
+ <view class="scroll-view-item_H bg-[white]" :class="`category-${course.catalogId}`" v-for="course in courseList || []" :key="course.id"
|
|
|
@tap="handleDetail(course)">
|
|
@tap="handleDetail(course)">
|
|
|
<cl-image :src="config.baseUrl + course?.fileList?.[0]?.url" mode="heightFix"
|
|
<cl-image :src="config.baseUrl + course?.fileList?.[0]?.url" mode="heightFix"
|
|
|
class="!w-full !h-[26vh] mb-[2px] rounded-xl"></cl-image>
|
|
class="!w-full !h-[26vh] mb-[2px] rounded-xl"></cl-image>
|
|
|
- <text class="text-[16px] font-bold">{{
|
|
|
|
|
- course.mainTitle }}</text>
|
|
|
|
|
- <text class="text-[14px] text-[#666]">{{
|
|
|
|
|
|
|
+ <view class="text-[4vh] font-bold absolute top-[4vh] left-0 w-full text-center" >{{
|
|
|
|
|
+ course.mainTitle }}</view>
|
|
|
|
|
+ <text class="text-[3vh] text-[#666]">{{
|
|
|
course.assistantTitle }}</text>
|
|
course.assistantTitle }}</text>
|
|
|
<!-- <view>
|
|
<!-- <view>
|
|
|
- <Progress :progress="30" />
|
|
|
|
|
|
|
+ <Progress :progress="30" />
|
|
|
</view> -->
|
|
</view> -->
|
|
|
- <Lock v-if="userInfo?.memberLevel === 'default'" :record="course" type="vip"/>
|
|
|
|
|
|
|
+ <Lock v-if="userInfo?.memberLevel === 'default'" :record="course" type="vip"/>
|
|
|
</view>
|
|
</view>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
</view>
|
|
</view>
|
|
@@ -165,7 +165,7 @@ function debouncedOnScroll(e: any) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.scroll-view-item_H {
|
|
.scroll-view-item_H {
|
|
|
- @apply w-[40vh] h-[50vh] mr-[20px] rounded-2xl border-[5px] border-[#1D4BD9] border-solid border-b-[10px] p-1 flex items-center justify-between pb-[20px];
|
|
|
|
|
|
|
+ @apply w-[40vh] h-[45vh] mr-[20px] rounded-2xl border-[5px] border-[#1D4BD9] border-solid border-b-[10px] p-1 flex items-center justify-between pb-[20px] relative;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.light-tag {
|
|
.light-tag {
|