feat: /filter 显示已加载条数 (fixed118)
Docker Build & Test / build (push) Canceled after 0s
Docker Build & Test / test (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/amd64) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm/v7) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm64) (push) Canceled after 0s
Build & Push Docker image / merge-images (push) Canceled after 0s
Docker Build & Test / build (push) Canceled after 0s
Docker Build & Test / test (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/amd64) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm/v7) (push) Canceled after 0s
Build & Push Docker image / build-and-push (linux/arm64) (push) Canceled after 0s
Build & Push Docker image / merge-images (push) Canceled after 0s
This commit is contained in:
1 parent
18953ebc9a
commit
3cc8d957a5
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -35,7 +35,7 @@ RUN find ./src -type f -name "route.ts" -print0 \
|
||||
ENV DOCKER_ENV=true
|
||||
# 海报走站内 /api/image-proxy(浏览器直连豆瓣图被拦导致全裂)
|
||||
ENV NEXT_PUBLIC_IMAGE_PROXY=/api/image-proxy
|
||||
ENV NEXT_PUBLIC_SITE_VERSION=fixed117
|
||||
ENV NEXT_PUBLIC_SITE_VERSION=fixed118
|
||||
ENV NEXT_PUBLIC_ENABLE_REGISTER=true
|
||||
|
||||
# For Docker builds, force dynamic rendering to read runtime environment variables.
|
||||
@@ -56,7 +56,7 @@ ENV HOSTNAME=0.0.0.0
|
||||
ENV PORT=3000
|
||||
ENV DOCKER_ENV=true
|
||||
ENV NEXT_PUBLIC_IMAGE_PROXY=/api/image-proxy
|
||||
ENV NEXT_PUBLIC_SITE_VERSION=fixed117
|
||||
ENV NEXT_PUBLIC_SITE_VERSION=fixed118
|
||||
ENV NEXT_PUBLIC_ENABLE_REGISTER=true
|
||||
|
||||
# 从构建器中复制 standalone 输出
|
||||
|
||||
@@ -327,7 +327,7 @@ function FilterClient() {
|
||||
)}
|
||||
<div className='py-6 flex items-center justify-center gap-3 text-sm'>
|
||||
<button onClick={() => goPage(nextPg - 2)} disabled={nextPg <= 2} className='px-3 py-1.5 rounded bg-gray-200/60 dark:bg-gray-700/60 disabled:opacity-40'>上一页</button>
|
||||
<span className='text-gray-500 dark:text-gray-400'>第 {Math.max(1, nextPg - 1)} 页</span>
|
||||
<span className='text-gray-500 dark:text-gray-400'>第 {Math.max(1, nextPg - 1)} 页 · 已加载 {items.length} 条</span>
|
||||
<button onClick={() => goPage(nextPg)} disabled={!hasMore} className='px-3 py-1.5 rounded bg-gray-200/60 dark:bg-gray-700/60 disabled:opacity-40'>下一页</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user