fix: youhua

This commit is contained in:
zzc
2026-02-05 16:06:31 +08:00
parent 1867d5aa55
commit 61bf50afc7
5 changed files with 34 additions and 11 deletions

View File

@@ -20,6 +20,7 @@ export function getSceneName(scene) {
return sceneMap[scene] || scene
}
export const getThumbUrl = (url) => {
return `${url}?imageView2/1/w/340/h/600/q/80`
export const getThumbUrl = (url, w = 200, h = 200) => {
if (!url) return ''
return `${url}?imageView2/1/w/${w}/h/${h}/q/80`
}