Skip to content

Commit 3356ab8

Browse files
committed
feat(sponsors): 将个人捐赠列表移动至历史列表上
1 parent 6c19ff5 commit 3356ab8

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/pages/sponsors/SponsorsIndex.vue

+28
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ const sponsorList = ref([
168168
}
169169
]
170170
},
171+
]);
172+
173+
const sponsorsListHistoric = ref([
171174
{
172175
title: '历史赞助方(服务与设施)',
173176
list: [
@@ -301,7 +304,32 @@ const sponsorList = ref([
301304
</tbody>
302305
</table>
303306
</div>
307+
308+
<div v-for="item in sponsorsListHistoric" :key="item.title">
309+
<category-second :title="item.title" />
310+
<div class="p-6">
311+
<div class="grid grid-cols-4 gap-6 p-2">
312+
<a
313+
v-for="sponsor in item.list"
314+
:key="sponsor.name"
315+
class="cursor-pointer text-center"
316+
:href="sponsor.web"
317+
target="_blank">
318+
<div class="min-h-[91.74px]">
319+
<img
320+
loading="lazy"
321+
:src="`/assets/sponsors/${sponsor.img}.svg`"
322+
:alt="sponsor.name"
323+
class="w-[100%] max-w-[100%]" />
324+
</div>
325+
<div class="text-link">{{ sponsor.name }}</div>
326+
</a>
327+
</div>
328+
</div>
329+
330+
</div>
304331
</div>
332+
305333
</template>
306334

307335
<style scoped></style>

0 commit comments

Comments
 (0)