feat: 拍照攻略组件

This commit is contained in:
2026-06-04 15:39:11 +08:00
parent 881abda55e
commit 41feba7a8b
5 changed files with 136 additions and 3 deletions

View File

@@ -43,11 +43,17 @@ for (const snippet of forbiddenCompatibilitySnippets) {
const requiredStrictRenderingSnippets = [
"LONG_TEXT_KEYS.sceneImage",
"LONG_TEXT_KEYS.commodityList",
"LONG_TEXT_KEYS.photoList",
"commodity.commodity_id",
"commodity.commodity_name",
"commodity.commodity_price",
"commodity.commodity_tag",
"commodity.commodity_photo",
"<swiper",
"<swiper-item",
"photo.photo_name",
"photo.photo_description",
"photo.photo_url",
"content-body-list-marker",
"entry.value.length > 1",
"formatListMarker(index)",

View File

@@ -61,6 +61,12 @@ const expectedNewKeys = {
pitfallSectionTitle: "pitfall_section_title",
pitfallSectionItems: "pitfall_section_items",
commodityList: "commodity_list",
photoSpotSectionTitle: "photo_spot_section_title",
photoSpotSectionItems: "photo_spot_section_items",
bestTimeSuggestion: "best_time_suggestion",
phoneSectionTitle: "phone_section_title",
phoneSectionItems: "phone_section_items",
photoList: "photo_list",
};
for (const [keyName, keyValue] of Object.entries(expectedNewKeys)) {