1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-05-13 19:35:07 +00:00

fix: update URL presets for background images

This commit is contained in:
孙悟元 2026-04-11 14:05:00 +00:00
parent dd68ef7423
commit 91ef84d871

View File

@ -196,9 +196,10 @@ import SettingItem from '@/components/settings/SettingItem.vue';
import { getSetting, setSetting, resetSetting } from '@/utils/settings';
const URL_PRESETS = [
{ label: 'Bing 每日壁纸', url: 'https://bing.img.run/rand_uhd.php' },
{ label: 'Bing 随机壁纸', url: 'https://bing.img.run/rand.php' },
{ label: 'Bing 每日壁纸', url: 'https://bing.img.run/1920x1080.php' },
{ label: '随机风景', url: 'https://picsum.photos/1920/1080?random=1' },
{ label: '随机自然', url: 'https://source.unsplash.com/1920x1080/?nature' },
{ label: '随机二次元', url: 'https://uapis.cn/api/v1/random/image?category=acg&type=pc' },
];
const MAX_IMAGE_SIZE_MB = 2;