fix(sponsorList): correct property name for special sponsors display
The display page was referencing an incorrect property `specialSponsor` instead of `specialSponsors`, causing the list not to render. This has been corrected. Additionally, the sponsor data file has been updated with new entries and corrections, including moving '地南祥子' from a table sponsor to a cash donation.
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
"logos": [{ "imgSrc": "SamHor-HighRes.png" }, { "imgSrc": "关公文化-HighRes.png" }, { "imgSrc": "VWorld2 Logo.png" }],
|
||||
"poems": ["汕水流长通四海", "河川万里泽邦家"],
|
||||
"sponsorList": [
|
||||
{ "name": "巴力西贡豹", "type": "cash", "amount": 500, "note": "" },
|
||||
{ "name": "新邦令金城阴殿", "type": "item", "detail": "Martell VSOP 700ml 一支" },
|
||||
{ "name": "青海茶餐室", "type": "cash", "amount": 300, "note": "" },
|
||||
{ "name": "地南祥子", "type": "cash", "amount": 1500, "note": "" },
|
||||
{ "name": "李金盛仁兄", "type": "item", "detail": "Camus Extra Elegance 一支" },
|
||||
{ "name": "许敏捷(四哥)", "type": "cash", "amount": 1000 },
|
||||
{ "name": "无尘", "type": "cash", "amount": 500 },
|
||||
@@ -44,7 +48,6 @@
|
||||
{ "name": "69 Group", "type": "table", "amount": 1, "note": "" },
|
||||
{ "name": "领善精密刀具贸易", "type": "table", "amount": 1, "note": "" },
|
||||
{ "name": "农景汶", "type": "table", "amount": 1, "note": "" },
|
||||
{ "name": "地南祥子", "type": "table", "amount": 1, "note": "" },
|
||||
{ "name": "好运99", "type": "table", "amount": 1, "note": "" },
|
||||
{ "name": "宝哥榴莲", "type": "table", "amount": 1, "note": "" },
|
||||
{ "name": "道士强", "type": "table", "amount": 1, "note": "" },
|
||||
|
||||
@@ -269,7 +269,7 @@
|
||||
}
|
||||
const sponsorListJsonData = await sponsorListResult.json();
|
||||
eventTitle.value = sponsorListJsonData.eventTitle || "活动名称";
|
||||
specialSponsor.value = sponsorListJsonData.specialSponsor || "";
|
||||
specialSponsor.value = sponsorListJsonData.specialSponsors || "";
|
||||
logos.value = sponsorListJsonData.logos || [];
|
||||
|
||||
sponsorList.value = (
|
||||
|
||||
Reference in New Issue
Block a user