画廊-瀑布流实现

This commit is contained in:
2025-08-11 17:06:29 +08:00
parent 0438a2dcfb
commit 22ca45510b
9 changed files with 256 additions and 20 deletions

View File

@ -39,8 +39,8 @@
<template #content>
<div class="py-1" v-for="i in bdNews" :key="i.id">
<a class="devui-link flex justify-between" :href="i.url" target="_blank">
<span>{{ i.index }}. {{ i.title }}
<icon-hot v-show="i.index < 4" class="w-4 text-[#ec66ab] inline-block"></icon-hot>
<span class="flex items-center">{{ i.index }}. {{ i.title }}
<icon-hot v-show="i.index < 4" class="ml-2 w-4 text-[red] inline-block"></icon-hot>
</span>
<span class="text-primary">{{ i.hot }}</span>
</a>