|
@@ -100,12 +100,13 @@ function handleDetail(item: SubjectCatalogResult) {
|
|
|
:class="`category-${course.catalogId}`" :key="course.id" @tap="handleDetail(course)">
|
|
:class="`category-${course.catalogId}`" :key="course.id" @tap="handleDetail(course)">
|
|
|
<cl-image :src="course?.ossIconPath" 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-[2vh] left-0 w-full text-center text-[#000]">
|
|
|
|
|
- {{
|
|
|
|
|
- course.mainTitle }}</view>
|
|
|
|
|
- <view class="text-[4vh] flex-1 flex items-center justify-center font-bold text-[#666]">{{
|
|
|
|
|
- course.assistantTitle }}</view>
|
|
|
|
|
|
|
+ <cl-text ellipsis :pt="{
|
|
|
|
|
+ className: '!text-[4vh] !font-bold'
|
|
|
|
|
+ }">{{
|
|
|
|
|
+ course.sortNum }}、{{
|
|
|
|
|
+ course.mainTitle }}</cl-text>
|
|
|
|
|
+ <text class="text-[3vh] text-[#666]">{{
|
|
|
|
|
+ course.assistantTitle }}</text>
|
|
|
<!-- <view>
|
|
<!-- <view>
|
|
|
<Progress :progress="30" />
|
|
<Progress :progress="30" />
|
|
|
</view> -->
|
|
</view> -->
|
|
@@ -208,4 +209,6 @@ function handleDetail(item: SubjectCatalogResult) {
|
|
|
1px 1px 0 #1D4BD9;
|
|
1px 1px 0 #1D4BD9;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|