From 7db07273af4dd4885ed78781fba87b1d98c9393a Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Tue, 7 Jul 2026 20:00:36 +0800 Subject: [PATCH] feat(aigc): add video template display support add video media detection and rendering in TemplateCard and TemplateVersionHero components update scss styles to support both image and video media elements update sample template data to use video covers and adjust template information comment out unused deprecated culture postcard template entry --- .../home/components/TemplateCard/index.vue | 27 +++++++++++++-- .../components/TemplateCard/styles/index.scss | 3 +- src/pages-aigc/home/data/templates.js | 34 +++++++++---------- .../components/TemplateVersionHero/index.vue | 27 +++++++++++++-- .../TemplateVersionHero/styles/index.scss | 3 +- 5 files changed, 71 insertions(+), 23 deletions(-) diff --git a/src/pages-aigc/home/components/TemplateCard/index.vue b/src/pages-aigc/home/components/TemplateCard/index.vue index 2adb4f4..3cb389f 100644 --- a/src/pages-aigc/home/components/TemplateCard/index.vue +++ b/src/pages-aigc/home/components/TemplateCard/index.vue @@ -8,7 +8,19 @@ :style="{ '--memory-accent': template.accent || '#0f7069' }" > - +