diff --git a/package.json b/package.json index 9dad604..047a990 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "locyanfrp", "private": true, - "version": "2.1", + "version": "2.2", "type": "module", "scripts": { "dev": "vite", @@ -19,25 +19,25 @@ "json": "^11.0.0", "marked": "^11.2.0", "nodejs-websocket": "^1.7.2", - "postcss": "^8.4.45", + "postcss": "^8.4.47", "qs": "^6.13.0", - "tailwindcss": "^3.4.10", + "tailwindcss": "^3.4.12", "unplugin-auto-import": "^0.17.8", "unplugin-vue-components": "^0.26.0", "v-clipboard": "^3.0.0-next.1", - "vue": "^3.5.2", + "vue": "^3.5.6", "vue-axios": "^3.5.2", "vue-cookies": "^1.8.4", "vue-native-websocket": "^2.0.15", "vue-route": "^1.5.1", - "vue-router": "^4.4.3", + "vue-router": "^4.4.5", "vuex": "^4.1.0" }, "devDependencies": { "@tsconfig/node20": "^20.1.4", - "@types/qs": "^6.9.15", + "@types/qs": "^6.9.16", "@vicons/fa": "^0.12.0", - "@vitejs/plugin-vue": "^5.1.3", + "@vitejs/plugin-vue": "^5.1.4", "@vue/tsconfig": "^0.5.1", "autoprefixer": "^10.4.20", "cssnano": "^7.0.6", @@ -45,7 +45,7 @@ "naive-ui": "2.38.2", "prettier": "^3.3.3", "vfonts": "^0.1.0", - "vite": "^5.4.3", - "vite-plugin-vue-devtools": "^7.4.4" + "vite": "^5.4.6", + "vite-plugin-vue-devtools": "^7.4.5" } -} +} \ No newline at end of file diff --git a/src/assets/style.css b/src/assets/style.css new file mode 100644 index 0000000..4c17013 --- /dev/null +++ b/src/assets/style.css @@ -0,0 +1,21 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +* { + margin: 0; + padding: 0; +} + +a { + text-decoration: none; + color: #1db966; + transition: 0.3s; +} +a:hover { + color: #63e2b7; +} + +ul { + margin-left: 1rem; +} diff --git a/src/twemoji-amazing.css b/src/assets/twemoji-amazing.css similarity index 100% rename from src/twemoji-amazing.css rename to src/assets/twemoji-amazing.css diff --git a/src/assets/vue.svg b/src/assets/vue.svg deleted file mode 100644 index 8d7caff..0000000 --- a/src/assets/vue.svg +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/src/components/MainSideBar.vue b/src/components/MainSideBar.vue index 7ee96e6..08be792 100644 --- a/src/components/MainSideBar.vue +++ b/src/components/MainSideBar.vue @@ -100,18 +100,18 @@ const menuOptions = [ key: 'control-proxy', icon: renderIcon(PaperPlane), children: [ - { - path: '/proxies/add', - label: '添加隧道', - key: 'AddProxies', - icon: renderIcon(Add) - }, { path: '/proxies', label: '隧道列表', key: 'Proxies', icon: renderIcon(List) }, + { + path: '/proxies/add', + label: '添加隧道', + key: 'AddProxies', + icon: renderIcon(Add) + }, { path: '/proxies/config', label: '配置文件', @@ -171,16 +171,9 @@ const menuOptions = [ // icon: renderIcon(CloudDownloadOutline), // }, { - label: () => - h( - 'a', - { - href: 'https://nyalcf.1l1.icu', - target: '_blank' - }, - '软件下载' - ), - key: 'software_download_backup', + path: '/other/software', + label: '软件下载', + key: 'SoftwareDownload', icon: renderIcon(CloudDownloadOutline) }, { diff --git a/src/main.js b/src/main.js index a638a36..8e86b8b 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,6 @@ import { createApp } from 'vue' -import './style.css' -import './twemoji-amazing.css' +import '@/assets/style.css' +import '@/assets/twemoji-amazing.css' import App from './App.vue' import message from '@components/Message.vue' import loadingbar from '@components/LoadingBar.vue' diff --git a/src/router/index.js b/src/router/index.js index 17818f2..cb963fb 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -158,6 +158,16 @@ const routes = [ }, component: () => import('@views/IcpCheckView.vue') }, + { + path: '/other/software', + name: 'Software', + meta: { + title: '软件下载', + keepAlive: true, + needLogin: true + }, + component: () => import('@views/other/SoftwareView.vue') + }, { path: '/:pathMatch(.*)*', name: 'NotFound', diff --git a/src/style.css b/src/style.css deleted file mode 100644 index 501b0b1..0000000 --- a/src/style.css +++ /dev/null @@ -1,8 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -* { - margin: 0; - padding: 0; -} diff --git a/src/views/DashboardView.vue b/src/views/DashboardView.vue index b3ab0fb..568ea26 100644 --- a/src/views/DashboardView.vue +++ b/src/views/DashboardView.vue @@ -44,11 +44,9 @@ --> - 您好,尊敬的 {{ username }} + 您好,尊敬的 {{ username }}
- 您的邮箱为:{{ email }} + 您的邮箱为:{{ email }}
访问密钥:
@@ -105,21 +103,21 @@ - {{ outbound }}
{{ inbound }}
+ {{ outbound }}
{{ inbound }}
- 流量太多, 用不完?重置流量 + 流量太多, 用不完? + + 重置流量 +

若需要 Frp 的高级功能, 你可以配置隧道后前往此处下载纯净版 Frp : - 点击前往 + 点击前往 ,
下载适合自己系统架构的软件,随后即可自行配置。
注意:萌新使用此方法导致不会用的后果自行承担!
@@ -140,8 +138,8 @@ 发卡网等有违中国法律的站点或服务。一经发现, 我们有不在事先通知用户的情况下删除隧道、封停账户、将信息上报公安的权力, 请不要试图挑战我们的底线;
- 6. 我们允许建设图床、网盘等服务,但其必须建设在美国千兆服务器上, - 违规的隧道将会被强制迁移,这是为了保障大部分用户的体验,谢谢配合! + 6. 我们允许建设图床、网盘等服务,但其必须建设在允许大流量业务的节点上, + 违规的隧道将会被封禁,这是为了保障大部分用户的体验,谢谢配合! 若您违规使用,可能需要支付相应的流量费用!
@@ -178,7 +176,6 @@