Skip to content

Commit

Permalink
fix: 封面图片高度
Browse files Browse the repository at this point in the history
  • Loading branch information
aooiuu committed Sep 18, 2024
1 parent 1bf9fd4 commit 1a1d3bd
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 173 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
prerelease: true
# prerelease: true
files: |
packages/web/dist/electron/latest*.yml
packages/web/dist/electron/*.AppImage
Expand Down
84 changes: 0 additions & 84 deletions packages/web/.eslintrc-auto-import.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ coverage
*.sln
*.sw?

# /auto-imports.d.ts
# /.eslintrc-auto-import.json
/auto-imports.d.ts
/.eslintrc-auto-import.json
/components.d.ts
83 changes: 0 additions & 83 deletions packages/web/auto-imports.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/web/src/pages/pc/books/Book.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="w-102 flex flex-col cursor-pointer overflow-hidden" @click="showChapter">
<div class="relative mb-5 h-136 w-102 overflow-hidden rounded-6">
<ARCover :src="props.cover" :preview="false" alt="" srcset="" class="cover h-136 w-102" width="100%" height="100%" fit="cover" />
<ARCover :src="props.cover" :preview="false" alt="" srcset="" class="cover !h-136px !w-102px" width="100%" height="100%" fit="cover" />
<slot />
</div>
<div class="mb-2 overflow-hidden text-ellipsis whitespace-nowrap text-[--ar-color-text]">{{ props.name }}</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/pages/pc/category/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"
>
<div class="mb-5 h-136 w-102 overflow-hidden rounded-5">
<ARCover :src="row.cover" :preview="false" alt="" srcset="" class="h-136 w-102" width="100%" height="100%" fit="cover" />
<ARCover :src="row.cover" :preview="false" alt="" srcset="" class="!h-136px !w-102px" width="100%" height="100%" fit="cover" />
</div>
<div class="mb-2 overflow-hidden text-ellipsis whitespace-nowrap">{{ row.name }}</div>
<div class="overflow-hidden text-ellipsis whitespace-nowrap text-12 op-70">{{ row.author }}</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/pages/pc/search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
:preview="false"
alt=""
srcset=""
class="cover h-136 w-102"
class="cover !h-136px !w-102px"
width="100%"
height="100%"
fit="cover"
Expand Down

0 comments on commit 1a1d3bd

Please sign in to comment.