Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:背景默认改为必应随机图片,随机风景和动漫api目前已失效 #44

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/AllFunc/AllSet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<n-grid
class="cover-selete"
responsive="screen"
cols="2 s:3 m:4 l:4"
cols="2 s:3 m:4 l:4"
:x-gap="16"
:y-gap="16"
>
Expand Down Expand Up @@ -293,8 +293,8 @@ const customCoverUrl = ref("");
const backgroundTypeArr = [
{ name: "本地默认", tip: "默认壁纸,随机更换" },
{ name: "每日必应", tip: "必应每日一图,每天更新" },
{ name: "随机风景", tip: "随机风景图,随机更换" },
{ name: "随机动漫", tip: "随机二次元图,随机更换" },
// { name: "随机风景", tip: "随机风景图,随机更换" },
// { name: "随机动漫", tip: "随机二次元图,随机更换" },
];

// 主题类别
Expand Down
2 changes: 1 addition & 1 deletion src/stores/setData.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const useSetDataStore = defineStore("setData", {
themeType: "light",
// 壁纸类别
// 0 本地 / 1 必应 / 2 随机风景 / 3 随机动漫 / 4 自定义
backgroundType: 2,
backgroundType: 1,
backgroundCustom: "",
// 壁纸遮罩
showBackgroundGray: true,
Expand Down