|
@@ -45,10 +45,10 @@ function handleDetail(item: any) {
|
|
|
<scroll-view class="scroll-view_H" direction="horizontal" :show-scrollbar="false">
|
|
<scroll-view class="scroll-view_H" direction="horizontal" :show-scrollbar="false">
|
|
|
<view class="scroll-view-item_H bg-[white]" v-for="course in dataList || []" :key="course.id"
|
|
<view class="scroll-view-item_H bg-[white]" v-for="course in dataList || []" :key="course.id"
|
|
|
@tap="handleDetail(course)">
|
|
@tap="handleDetail(course)">
|
|
|
- <cl-image :src="course?.iconPath" mode="heightFix" class="!w-full !h-[26vh] mb-[2px] rounded-xl"></cl-image>
|
|
|
|
|
- <text class="text-[4vh] font-bold">{{
|
|
|
|
|
|
|
+ <cl-image :src="course?.iconPath" mode="heightFix" class="!w-full !h-[85rpx] mb-[2px] rounded-xl"></cl-image>
|
|
|
|
|
+ <text class="text-[16rpx] font-bold">{{
|
|
|
course.mainTitle }}</text>
|
|
course.mainTitle }}</text>
|
|
|
- <text class="text-[3vh] text-[#666]">{{
|
|
|
|
|
|
|
+ <text class="text-[12rpx] text-[#666]">{{
|
|
|
course.assistantTitle }}</text>
|
|
course.assistantTitle }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
@@ -77,6 +77,8 @@ function handleDetail(item: any) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.scroll-view-item_H {
|
|
.scroll-view-item_H {
|
|
|
- @apply w-[40vh] h-[50vh] mr-[20px] rounded-2xl border-b-[10px] p-1 flex items-center justify-between pb-[20px];
|
|
|
|
|
|
|
+ @apply w-[140rpx] h-[160rpx] mr-[20px] rounded-2xl border-b-[10px] p-1 flex items-center justify-between pb-[20px];
|
|
|
|
|
+ max-width: 200px;
|
|
|
|
|
+ max-height: 250px;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|