feat(sponsorList): add 'Designed by' remark component
This commit introduces a new 'DesignedRemark' component to display an attribution link. - Adds the Pacifico font for custom styling of the remark. - Creates and registers the global `DesignedRemark` Vue component. - Integrates the component into the mobile sponsor list page.
This commit is contained in:
@@ -7,6 +7,10 @@ const SponsorCard = {
|
||||
template: "#sponsor-card-template",
|
||||
};
|
||||
|
||||
const DesignedRemark = {
|
||||
template: "#designed-remark-template",
|
||||
};
|
||||
|
||||
const app = createApp({
|
||||
setup() {
|
||||
const eventTitle = ref("");
|
||||
@@ -291,5 +295,6 @@ const app = createApp({
|
||||
},
|
||||
});
|
||||
|
||||
app.component("designed-remark", DesignedRemark); // 全局注册
|
||||
app.component("sponsor-card", SponsorCard); // 全局注册
|
||||
app.mount("#app");
|
||||
|
||||
Reference in New Issue
Block a user