|
|
@@ -33,6 +33,22 @@
|
|
|
@click="category.detailsPage(item)"
|
|
|
/>
|
|
|
</template>
|
|
|
+ <template v-else-if="category.type === 'large-image'">
|
|
|
+ <FlexCol>
|
|
|
+ <Box2LineLargeImageUserShadow
|
|
|
+ v-for="(item, i) in category.data.content.value"
|
|
|
+ titleColor="title-text"
|
|
|
+ fixSize
|
|
|
+ title1
|
|
|
+ :key="i"
|
|
|
+ :title="item.title"
|
|
|
+ :desc="item.desc"
|
|
|
+ :image="item.image"
|
|
|
+ :tags="(item.bottomTags as string[])"
|
|
|
+ @click="category.detailsPage(item)"
|
|
|
+ />
|
|
|
+ </FlexCol>
|
|
|
+ </template>
|
|
|
<template v-else-if="category.type === 'large-image2'">
|
|
|
<scroll-view scroll-x>
|
|
|
<FlexRow>
|
|
|
@@ -169,7 +185,7 @@ export interface CategoryDefine extends Omit<IHomeCommonCategoryListTabNestCateg
|
|
|
title: string;
|
|
|
showTitle: boolean;
|
|
|
content: CommonContentApi|IHomeCommonCategoryBlock|HomeCommonCategoryBlockProps|null;
|
|
|
- type?: 'article'|'large-image2'|'horizontal-large'|'large-grid2'|'small-grid2'|'simple-text'
|
|
|
+ type?: 'article'|'large-image2'|'horizontal-large'|'large-image'|'large-grid2'|'small-grid2'|'simple-text'
|
|
|
|'CalendarBlock'|'StatsBlock'|'MapBlock'|'CalendarBlock'
|
|
|
|undefined;
|
|
|
}
|