diff --git a/.env b/.env index 70c61feda1..d5d39608dd 100644 --- a/.env +++ b/.env @@ -3,7 +3,7 @@ VITE_SITE_NAME = "無名の主页" # 名称 VITE_SITE_ANTHOR = "無名" # 作者 VITE_SITE_KEYWORDS = "無名,个人主页" # 关键词 VITE_SITE_DES = "一个默默无闻的主页" # 站点简介 -VITE_SITE_URL = "imsyy.top" # 作者地址 +VITE_SITE_URL = "imsyy.top" # 站点地址 VITE_SITE_LOGO = "/images/icon/favicon.ico" # 站点主图标 VITE_SITE_MAIN_LOGO = "/images/icon/logo.png" # 主页图标 VITE_SITE_APPLE_LOGO = "/images/logo/apple-touch-icon.png" # Apple 端图标 diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000000..5d737f0f7f --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,35 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": ["eslint:recommended", "plugin:vue/vue3-essential"], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": ["vue"], + "rules": { + "vue/multi-word-component-names": "off" + }, + "globals": { + "defineProps": true, + "defineEmits": true, + "withDefaults": true, + "h": true, + "vue": true, + "ref": true, + "reactive": true, + "computed": true, + "watch": true, + "provide": true, + "inject": true, + "defineComponent": true, + "onBeforeMount": true, + "onMounted": true, + "onBeforeUnmount": true, + "nextTick": true, + "ElMessage": true, + "$openList": true + } +} diff --git a/.prettierrc.json b/.prettierrc.json new file mode 100644 index 0000000000..0e02eb0183 --- /dev/null +++ b/.prettierrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "https://json.schemastore.org/prettierrc", + "singleQuote": false, + "trailingComma": "all", + "tabWidth": 2, + "semi": true, + "printWidth": 100 +} diff --git a/README.md b/README.md index d4d2808f01..75ae6616f8 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ >由于 CDN 缓存原因,查看最新效果可能需要 `Ctrl` + `F5` 强制刷新浏览器缓存 - [無名の主页](https://www.imsyy.top) -- [無名の主页 - Dev](https://dev.home-5iw.pages.dev/) -- [無名の主页 - 备用线路](https://home-imsyy.vercel.app/) +- [無名の主页 - Dev](https://home-imsyy.vercel.app) +- [無名の主页 - 备用线路](https://home-5iw.pages.dev) ### 功能 @@ -202,10 +202,11 @@ if (type == 0) { ### API -* [MetingAPI By 武恩赐](https://api.wuenci.com/meting/api/) +* [小歪 API](https://api.aixiaowai.cn) * [搏天 API](https://api.btstu.cn/doc/sjbz.php) * [高德开放平台](https://lbs.amap.com/) * [Hitokoto 一言](https://hitokoto.cn/) +* [MetingAPI By 武恩赐](https://api.wuenci.com/meting/api/) * ## Star History diff --git a/README_EN.md b/README_EN.md index 397304af76..fb0d9d2574 100644 --- a/README_EN.md +++ b/README_EN.md @@ -14,7 +14,8 @@ Simple little homepage, had enough of the original one and made a new one >Due to CDN caching, you may need `Ctrl` + `F5` to force a browser cache refresh to see the latest results - [無名の主页](https://www.imsyy.top) -- [無名の主页 - 备用线路](https://home-imsyy.vercel.app/) +- [無名の主页 - Dev](https://home-imsyy.vercel.app) +- [無名の主页 - Standby](https://home-5iw.pages.dev) ### Functions diff --git a/index.html b/index.html index 9220b52e9a..f2c2682479 100644 --- a/index.html +++ b/index.html @@ -1,40 +1,39 @@ - + +
+ + + + + + + + + + + + +