mirror of
https://github.com/imsyy/home.git
synced 2025-05-19 20:50:14 +09:00
加入背景图
This commit is contained in:
parent
0b3844b1a7
commit
45c022a871
BIN
public/images/background11.jpg
Normal file
BIN
public/images/background11.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
@ -2,17 +2,17 @@
|
|||||||
{
|
{
|
||||||
"icon": "Blog",
|
"icon": "Blog",
|
||||||
"name": "博客",
|
"name": "博客",
|
||||||
"link": "https://blog.imsyy.top/"
|
"link": "https://sangyufeiwan.com/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": "Cloud",
|
"icon": "Baidu Netdisk",
|
||||||
"name": "网盘",
|
"name": "网盘",
|
||||||
"link": "https://pan.imsyy.top/"
|
"link": "https://pan.baidu.com/disk/main#/index?category=all"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": "CompactDisc",
|
"icon": "Cloud Music",
|
||||||
"name": "音乐",
|
"name": "音乐",
|
||||||
"link": "https://music.imsyy.top/"
|
"link": "https://music.163.com/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon": "Compass",
|
"icon": "Compass",
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
"name": "Github",
|
"name": "Github",
|
||||||
"icon": "/images/icon/github.png",
|
"icon": "/images/icon/github.png",
|
||||||
"tip": "去 Github 看看",
|
"tip": "去 Github 看看",
|
||||||
"url": "https://github.com/imsyy"
|
"url": "https://github.com/sangyu520/sangyu520"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BiliBili",
|
"name": "BiliBili",
|
||||||
"icon": "/images/icon/bilibili.png",
|
"icon": "/images/icon/bilibili.png",
|
||||||
"tip": "(゜-゜)つロ 干杯 ~",
|
"tip": "(゜-゜)つロ 干杯 ~",
|
||||||
"url": "https://space.bilibili.com/98544142"
|
"url": "https://www.bilibili.com/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "QQ",
|
"name": "QQ",
|
||||||
@ -21,18 +21,18 @@
|
|||||||
"name": "Email",
|
"name": "Email",
|
||||||
"icon": "/images/icon/email.png",
|
"icon": "/images/icon/email.png",
|
||||||
"tip": "来封 Email ~",
|
"tip": "来封 Email ~",
|
||||||
"url": "mailto:one@imsyy.top"
|
"url": "https://mail.qq.com/cgi-bin/frame_html?sid=Fx2So61OvPAVK1I1&r=c6de0ebd57da5cb9a3f27b79377d0080&lang=zh"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Twitter",
|
"name": "Chat gpt",
|
||||||
"icon": "/images/icon/twitter.png",
|
"icon": "/images/icon/twitter.png",
|
||||||
"tip": "你懂的 ~",
|
"tip": "你懂的 ~",
|
||||||
"url": "https://twitter.com/iimmsyy"
|
"url": "https://openai.com/chatgpt/overview/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Telegram",
|
"name": "Tencent Video",
|
||||||
"icon": "/images/icon/telegram.png",
|
"icon": "/images/icon/telegram.png",
|
||||||
"tip": "你懂的 ~",
|
"tip": "刷剧 ~",
|
||||||
"url": "https://t.me/bottom_user"
|
"url": "https://v.qq.com/channel/movie"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -34,7 +34,7 @@ const emit = defineEmits(["loadComplete"]);
|
|||||||
|
|
||||||
// 壁纸随机数
|
// 壁纸随机数
|
||||||
// 请依据文件夹内的图片个数修改 Math.random() 后面的第一个数字
|
// 请依据文件夹内的图片个数修改 Math.random() 后面的第一个数字
|
||||||
const bgRandom = Math.floor(Math.random() * 10 + 1);
|
const bgRandom = Math.floor(11);
|
||||||
|
|
||||||
// 更换壁纸链接
|
// 更换壁纸链接
|
||||||
const changeBg = (type) => {
|
const changeBg = (type) => {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { Icon } from "@vicons/utils";
|
import { Icon } from "@vicons/utils";
|
||||||
// 可前往 https://www.xicons.org 自行挑选并在此处引入
|
// 可前往 https://www.xicons.org 自行挑选并在此处引入
|
||||||
import { Link, Blog, CompactDisc, Cloud, Compass, Book, Fire, LaptopCode } from "@vicons/fa"; // 注意使用正确的类别
|
import { Link, Blog, CompactDisc, Cloud, Compass, Book, Fire, LaptopCode, Search} from "@vicons/fa"; // 注意使用正确的类别
|
||||||
import { mainStore } from "@/store";
|
import { mainStore } from "@/store";
|
||||||
import { Swiper, SwiperSlide } from "swiper/vue";
|
import { Swiper, SwiperSlide } from "swiper/vue";
|
||||||
import { Pagination, Mousewheel } from "swiper/modules";
|
import { Pagination, Mousewheel } from "swiper/modules";
|
||||||
@ -70,6 +70,7 @@ const siteIcon = {
|
|||||||
Book,
|
Book,
|
||||||
Fire,
|
Fire,
|
||||||
LaptopCode,
|
LaptopCode,
|
||||||
|
Search,
|
||||||
};
|
};
|
||||||
|
|
||||||
// 链接跳转
|
// 链接跳转
|
||||||
|
Loading…
Reference in New Issue
Block a user