diff --git a/src/assets/home/chahua.png b/src/assets/home/chahua.png new file mode 100644 index 0000000..60c5fce Binary files /dev/null and b/src/assets/home/chahua.png differ diff --git a/src/stores/modules/home.ts b/src/stores/modules/home.ts index 03289aa..bb10bf4 100644 --- a/src/stores/modules/home.ts +++ b/src/stores/modules/home.ts @@ -71,6 +71,7 @@ function toBusinessLine(vo: ProjectSubmissionVo): BusinessLine { desc: subtitle, slogan: subtitle, icon: vo.logoUrl ?? '', + cover: vo.coverUrl ?? '', serviceContent, contents, serviceTypes, @@ -99,6 +100,7 @@ function toBusinessLineFromInfo(info: ProjectSubmissionInfo): BusinessLine { desc: subtitle, slogan: subtitle, icon: ps.logoUrl ?? '', + cover: ps.coverUrl ?? '', serviceContent, contents, serviceTypes, diff --git a/src/types/business/home.d.ts b/src/types/business/home.d.ts index deaeb68..6361e65 100644 --- a/src/types/business/home.d.ts +++ b/src/types/business/home.d.ts @@ -35,6 +35,7 @@ export interface BusinessLine { desc: string slogan: string icon: string + cover: string serviceContent: string contents: ServiceContentBlock[] serviceTypes: ServiceType[] diff --git a/src/views/home/cpns/HomeBusinessCards.vue b/src/views/home/cpns/HomeBusinessCards.vue index b670653..88531f3 100644 --- a/src/views/home/cpns/HomeBusinessCards.vue +++ b/src/views/home/cpns/HomeBusinessCards.vue @@ -1,6 +1,7 @@