fix: 将变清晰图标标识调整到右上角
This commit is contained in:
parent
349a362f27
commit
5e0b0d41db
@ -288,9 +288,9 @@ export default function GalleryPage() {
|
||||
placeholder="blur"
|
||||
blurDataURL="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjI3MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjI3MCIgZmlsbD0iI2VlZSIvPjwvc3ZnPg=="
|
||||
/>
|
||||
{/* 变清晰标识图标 */}
|
||||
{/* 变清晰标识图标 - 右上角 */}
|
||||
{img.modelId === "enhance-1.0" && (
|
||||
<div className="absolute top-2 left-2 bg-blue-500/90 text-white rounded-full p-1.5 shadow-lg" title="变清晰后的图片">
|
||||
<div className="absolute top-2 right-2 bg-blue-500/90 text-white rounded-full p-1.5 shadow-lg z-10" title="变清晰后的图片">
|
||||
<Sparkles className="h-4 w-4" />
|
||||
</div>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user