Skip to content

Commit

Permalink
Update item.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
YouXam authored Jun 23, 2024
1 parent 88f7bfe commit a8b4279
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const ItemDisplay: React.FC<{ item: Item, index?: number }> = ({ item, in
<ItemCard>
<ItemCover
index={index}
src={url("cover", item.data.md5, "jpg")}
src={url("cover", item.data.md5, "webp")}
alt="书籍封面"
onClick={() => {
openDialog(url("cover", item.data.md5, "jpg"));
Expand Down Expand Up @@ -254,7 +254,7 @@ export const ItemDisplay: React.FC<{ item: Item, index?: number }> = ({ item, in
<ItemCard>
<ItemCover
index={index}
src={url("cover", item.data.md5, "jpg")}
src={url("cover", item.data.md5, "webp")}
alt="试卷封面"
onClick={() => {
openDialog(url("cover", item.data.md5, "jpg"));
Expand Down Expand Up @@ -299,7 +299,7 @@ export const ItemDisplay: React.FC<{ item: Item, index?: number }> = ({ item, in
<ItemCard>
<ItemCover
index={index}
src={url("cover", item.data.md5, "jpg")}
src={url("cover", item.data.md5, "webp")}
alt="资料封面"
onClick={() => {
openDialog(url("cover", item.data.md5, "jpg"));
Expand Down

0 comments on commit a8b4279

Please sign in to comment.