This commit is contained in:
陶然
2026-03-02 20:51:27 +08:00
parent 94d3bee845
commit c23f06df50
3 changed files with 104 additions and 18 deletions
+22 -2
View File
@@ -10,7 +10,7 @@
</pre> </pre>
<p> 只需简单几步,即可快速搭建属于自己的在线工具箱。</p> <p> 只需简单几步,即可快速搭建属于自己的在线工具箱。</p>
[![node](https://img.shields.io/badge/any_text-18.14.2-red?label=node)](node) [![node](https://img.shields.io/badge/any_text-22.21.1-red?label=node)](node)
[![vue](https://img.shields.io/badge/any_text-3.3.10-origin?label=vue)](vue) [![vue](https://img.shields.io/badge/any_text-3.3.10-origin?label=vue)](vue)
[![tailwindcss](https://img.shields.io/badge/any_text-3.3.5-yellow?label=tailwindcss)](tailwindcss) [![tailwindcss](https://img.shields.io/badge/any_text-3.3.5-yellow?label=tailwindcss)](tailwindcss)
[![elementplus](https://img.shields.io/badge/any_text-2.7-blue?label=element-plus)](elementplus) [![elementplus](https://img.shields.io/badge/any_text-2.7-blue?label=element-plus)](elementplus)
@@ -98,6 +98,12 @@ pnpm build:pro
- js代码格式化/压缩 - js代码格式化/压缩
- Html代码格式化 - Html代码格式化
- Css代码格式化/压缩 - Css代码格式化/压缩
- Base64加解密
- 进制转换计算器
- 数据存储单位换算
- Hash计算器
- XML格式化
- SQL格式化
- 文本处理 - 文本处理
- 文本对比 - 文本对比
@@ -106,6 +112,9 @@ pnpm build:pro
- 文本去重 - 文本去重
- 在线文本编辑/HTML获取 - 在线文本编辑/HTML获取
- 字数统计 - 字数统计
- 文本替换
- 文本处理工作流
- 词频统计
- 教育学术 - 教育学术
- 单位换算 - 单位换算
@@ -126,24 +135,35 @@ pnpm build:pro
- 在线图片处理 - 在线图片处理
- 文本转图片 - 文本转图片
- 图片分割 - 图片分割
- 传图取色
- 图片水印添加
- 数据图表 - 数据图表
- 柱状图 - 柱状图
- 折线图 - 折线图
- 饼图 - 饼图
- 散点图 - 散点图
- 词云生成
- 选择随机 - 选择随机
- 生成随机数 - 生成随机数
- 帮我决定 - 帮我决定
- 抛硬币 - 抛硬币
- 投骰子 - 投骰子
- 抽签工具
- 转盘工具
- 其他工具 - 其他工具
- 数字转金额大写 - 数字转金额大写
- 手持弹幕 - 手持弹幕
- 色板 - 色板
- Color选择器 - Color选择器
- 番茄时钟
- 反应速度测试
- m3u8在线播放
- 剪刀石头布
- Emoji表情大全
- 简易计算器
## 其他 ## 其他
@@ -152,7 +172,7 @@ Q: 我应该如何添加新功能?
A: A:
-`components/Tools/tools.ts`文件中添加工具信息 -`components/Tools/tools.ts`文件中添加工具信息
-`router/router.ts`中添加路由 -`router/router.ts`中添加路由
- 拷贝示例目录`components/Tools/Example`修改名称,在这个拷贝出来的目录中开发工具即可 - 目录`components/Tools`中添加新的工具组件
<br/> <br/>
+10 -10
View File
@@ -71,16 +71,16 @@ export const constantRoute = [
description: '在线字数计数器,主要是方便计算字数,以控制文字数量的小工具(小说作者、论文、文案文档、文字编辑必备工具)。', description: '在线字数计数器,主要是方便计算字数,以控制文字数量的小工具(小说作者、论文、文案文档、文字编辑必备工具)。',
} }
}, },
{ // {
path: '/ip', // path: '/ip',
component: () => import('@/components/Tools/Ip/Ip.vue'), // component: () => import('@/components/Tools/Ip/Ip.vue'),
name: 'ip', // name: 'ip',
meta: { // meta: {
title: "IP查询", // title: "IP查询",
keywords: 'ip,ip查询,ip地址查询,ip138,查ip,我的ip,公网ip,ip归属地查询', // keywords: 'ip,ip查询,ip地址查询,ip138,查ip,我的ip,公网ip,ip归属地查询',
description: '公网ip地址归属地查询', // description: '公网ip地址归属地查询',
} // }
}, // },
{ {
path: '/scaletran', path: '/scaletran',
component: () => import('@/components/Tools/ScaleTran/ScaleTran.vue'), component: () => import('@/components/Tools/ScaleTran/ScaleTran.vue'),
+72 -6
View File
@@ -1,10 +1,76 @@
import {constantRoute} from "./src/router/router" // import vitePluginSeoPrerender from "vite-plugin-seo-prerender";
import vitePluginSeoPrerender from "vite-plugin-seo-prerender";
import seoPrerender from "vite-plugin-seo-prerender";
export function seoperender(){ export function seoperender(){
const filterPath = ['/:pathMatch(.*)*', '/404']; // 排除的路径 return seoPrerender({
return vitePluginSeoPrerender({ routes: [
routes: constantRoute.map(routeConfig => routeConfig.path).filter(path => !filterPath.includes(path)), '/',
network: true, '/timetran',
'/md5',
'/json',
'/reg',
'/unicode',
'/wordcount',
'/scaletran',
'/signimage',
'/randompassword',
'/urlencode',
'/ascii',
'/uuid',
'/barrage',
'/unit',
'/qrcode',
'/decision',
'/morse',
'/random',
'/numbertochinese',
'/diff',
'/markdown',
'/texttoimg',
'/webinfo',
'/bar',
'/line',
'/pie',
'/scatter',
'/coin',
'/dice',
'/textremoveduplicate',
'/imgcut',
'/httpstatuscode',
'/jwt',
'/htmlentity',
'/colorpicker',
'/asciiwordpic',
'/jsforamt',
'/htmlformat',
'/cssformat',
'/textedit',
'/base64',
'/baseconverter',
'/storageconverter',
'/hashcalculator',
'/xmlformat',
'/sqlformat',
'/textreplace',
'/textworkflow',
'/emoji',
'/wordfrequency',
'/wordcloud',
'/lottery',
'/rockpaperscissors',
'/wheel',
'/imagecolorpicker',
'/pomodoro',
'/calculator',
'/reactiontest',
'/m3u8player',
'/imagewatermark',
'/colorpalette',
'/about'
],
// network: true,
// removeStyle: true // removeStyle: true
}) })
} }