Files
tools-web/src/router/router.ts
T
osiris 04537038c5 feat: 新增7个工具
工具:帮你选择(#)
工具:摩斯电码(#)
工具:生成随机数(#)
工具:数字转金额大写(#)
工具:文本对比(#)
工具:markdown编辑器(#)
工具:文字转图片(#)
2023-12-18 11:50:00 +08:00

267 lines
9.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//对外暴露配置路由(常量路由)
export const constantRoute = [
{
path: '/',
component: () => import('@/components/Home/Home.vue'),
name: 'home',
meta: {
keywords: '然部落工具坊,在线工具,开发人员工具,时间戳转换,加密,解密,md5,进制转换,二维码,正则表达式,json格式化,照片处理,字数统计',
description: '然部落工具坊,在线工具大全,开发人员工具,日常生活工具,办公助手,时间戳转换,加密,解密,md5,进制转换,二维码,正则表达式,json格式化,照片处理,字数统计',
}
},
{
path: '/timetran',
component: () => import('@/components/TimeTran/TimeTran.vue'),
name: 'timetran',
meta: {
title: "时间戳转换",
keywords: '时间,日期转换时间戳,Unix时间戳',
description: 'Unix时间戳转换可以把Unix时间转成北京时间。',
}
},
{
path: '/MD5',
component: () => import('@/components/MD5/MD5.vue'),
name: 'MD5',
meta: {
title: "MD5在线加密",
keywords: 'md5加密,md5在线加密,md5',
description: '在线md5加密,一键生成md5加密字符串,可生成16位或32位md5加密字符串,md5双重加密',
}
},
{
path: '/json',
component: () => import('@/components/JsonTran/JsonTran.vue'),
name: 'json',
meta: {
title: "Json在线转换",
keywords: 'json编辑器,json格式化,json压缩,json转义,json去转义',
description: 'json编辑器,json解析,json格式化,json压缩,json转义,json去转义',
}
},
{
path: '/reg',
component: () => import('@/components/RegTest/RegTest.vue'),
name: 'reg',
meta: {
title: "正则表达式测试",
keywords: '正则表达式测试工具,常用正则表达式,在线正则表达式',
description: '正则表达式测试工具,常用正则表达式,在线正则表达式',
}
},
{
path: '/unicode',
component: () => import('@/components/Unicode/Unicode.vue'),
name: 'unicode',
meta: {
title: "Unicode转中文",
keywords: '在线Unicode编码转换,中文转UnicodeUnicode转中文',
description: '在线Unicode编码转换,中文转Unicode,Unicode转中文,在文本框里输入要转换的内容,然后点击要转换的类型按钮,转换完成后即可看到对应的内容。..',
}
},
{
path: '/wordcount',
component: () => import('@/components/WordCount/WordCount.vue'),
name: 'wordcount',
meta: {
title: "在线字数统计",
keywords: '在线字数计算器,计算字数,在线字数统计器,字数计数器',
description: '在线字数计数器,主要是方便计算字数,以控制文字数量的小工具(小说作者、论文、文案文档、文字编辑必备工具)。',
}
},
{
path: '/ip',
component: () => import('@/components/Ip/Ip.vue'),
name: 'ip',
meta: {
title: "IP查询",
keywords: 'ip,ip查询,ip地址查询,ip138,查ip,我的ip,公网ip,ip归属地查询',
description: '公网ip地址归属地查询',
}
},
{
path: '/scaletran',
component: () => import('@/components/ScaleTran/ScaleTran.vue'),
name: 'scaletran',
meta: {
title: "常用进制转换",
keywords: '进制转换,进制转换工具,10进制转2进制,2进制转10进制,10进制转62进制,62进制转10进制',
description: '常用进制转换工具,支持32进制以上进制转换',
}
},
{
path: '/signimage',
component: () => import('@/components/SignImage/SignImage.vue'),
name: 'signimage',
meta: {
title: "在线编辑图片",
keywords: '图片裁剪,图片滤镜,图片旋转,图片编辑,美化图片',
description: '图片裁剪,图片滤镜,图片旋转,图片编辑,美化图片',
}
},
{
path: '/random_password',
component: () => import('@/components/RandomPassword/RandomPassword.vue'),
name: 'random_password',
meta: {
title: "随机密码生成",
keywords: '在线生成随机密码,批量生成随机密码,密码生成',
description: '在线随机密码生成',
}
},
{
path: '/urlencode',
component: () => import('@/components/UrlEncode/UrlEncode.vue'),
name: 'urlencode',
meta: {
title: "URL编码/解码",
keywords: 'url编码,url解码,url加密,url解密',
description: '在线url编码,在线url解码工具',
}
},
{
path: '/ascii',
component: () => import('@/components/ASCII/ASCII.vue'),
name: 'ascii',
meta: {
title: "ASCII码表",
keywords: 'asciiascii码表,ascii对照表,ascii控制字符,ascii打印字符,ascii扩展码',
description: 'ascii全面对照表,包含控制字符,打印字符,扩展码',
}
},
{
path: '/uuid',
component: () => import('@/components/UUID/UUID.vue'),
name: 'uuid',
meta: {
title: "UUID生成器",
keywords: 'UUID生成器',
description: 'uuid生成器,批量uuid生成',
}
},
{
path: '/barrage',
component: () => import('@/components/Barrage/Barrage.vue'),
name: 'barrage',
meta: {
title: "手持弹幕",
keywords: '手持弹幕,弹幕工具',
description: '手持弹幕是一种新型的互动沟通工具,可以方便地为各种户外活动、演出嘉年华等活动增加趣味性和互动性。手持弹幕具有轻便、易携带、易操作等优点,可以让每个参与者都变成活动的一部分。同时,手持弹幕还可以通过预先编写的文本、表情等形式,表达参与者的情感和想法,实现沟通互动。在社交媒体时代,手持弹幕的使用也带来了更广泛的社交效应,增加了活动的互动性和传播度。无论是举办方还是参与者,手持弹幕都是一个非常有价值的互动工具。',
}
},
{
path: '/palettes',
component: () => import('@/components/Palettes/Palettes.vue'),
name: 'palettes',
meta: {
title: "色板",
keywords: '色板,颜色板',
description: '在线复制颜色,好看的颜色组合色板',
}
},
{
path: '/unit',
component: () => import('@/components/Unit/Unit.vue'),
name: 'unit',
meta: {
title: "单位转换",
keywords: '在线单位换算,长度单位换算,面积单位换算,时间单位换算,重量单位换算,温度单位换算,压力单位换算,热量单位换算,功率单位换算。',
description: '在线单位换算,长度单位换算,面积单位换算,时间单位换算,重量单位换算,温度单位换算,压力单位换算,热量单位换算,功率单位换算。',
}
},
{
path: '/qrcode',
component: () => import('@/components/Qrcode/Qrcode.vue'),
name: 'qrcode',
meta: {
title: "二维码生成",
keywords: '二维码,qrcode,二维码制作,二维码生成,微信二维码',
description: '在线生成二维码,logo二维码',
}
},
{
path: '/decision',
component: () => import('@/components/Decision/Decision.vue'),
name: 'decision',
meta: {
title: "帮我决定",
keywords: '选择困难,难以决定,今天吃什么,现在做什么,自定义选项都给你安排的明明白白',
description: '选择困难症,自定义选择内容',
}
},
{
path: '/morse',
component: () => import('@/components/Morse/Morse.vue'),
name: 'morse',
meta: {
title: "摩斯电码",
keywords: 'morse电码,摩斯电码',
description: '摩斯电码编码解码',
}
},
{
path: '/random',
component: () => import('@/components/Random/Random.vue'),
name: 'random',
meta: {
title: "生成随机数",
keywords: '随机数生成,随机数',
description: '可定制范围内进行随机数字,可用于抽奖、点名等用途',
}
},
{
path: '/numberToChinese',
component: () => import('@/components/NumberToChinese/NumberToChinese.vue'),
name: 'numberToChinese',
meta: {
title: "数字转金额大写",
keywords: '数字转中文,数字转大写,中文转数字,大写转数字,数字中文互转',
description: '在线数字一键转换成人民币大写,中文大写金额数字应用正楷或行书填写',
}
},
{
path: '/diff',
component: () => import('@/components/Diff/Diff.vue'),
name: 'diff',
meta: {
title: "文本对比",
keywords: '中文比对,代码比对,代码对比,文本比对,英文比对',
description: '文本差异比对支持中文、英文、代码比对',
}
},
{
path: '/markdown',
component: () => import('@/components/Markdown/Markdown.vue'),
name: 'markdown',
meta: {
title: "markdown编辑器",
keywords: '在线创建或编辑markdown, 实时预览,导出markdown',
description: '在线markdown编辑器',
}
},
{
path: '/textToImg',
component: () => import('@/components/TextToImg/TextToImg.vue'),
name: 'textToImg',
meta: {
title: "文本转图片",
keywords: '文本生成图片,文本生成长图,推广长图',
description: '把文本转换成图片,生成长图,具有超多个性文字排版',
}
},
{
path: '/404',
component: () => import('@/components/404/404.vue'),
name: '404',
meta: {
title: "404"
}
},
{
//重定向
path: '/:pathMatch(.*)*',
redirect: '/404',
name: 'Any',
},
]