IT-TOOLS-PRO v1 - 定制版开发者工具站
12个原创工具(批量条码/二维码识别/在线翻译/OCR/面单设计/AI修图/网站收藏/PDF工具/图片工具/文档转换等) + 卡密授权系统(CardAuth对接,30分钟试用,换卡/撤销) + 体验优化(中文默认/收藏/最近使用/菜单展开/宽屏/品牌页脚)
This commit is contained in:
commit
01ff133ac9
528 files changed
+50026
No files matched your search
@@ -0,0 +1,27 @@
|
||||
<script setup lang="ts">
|
||||
import { useHead } from '@vueuse/head';
|
||||
|
||||
useHead({ title: 'Page not found - IT-TOOLS-PRO' });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div mt-20 flex flex-col items-center>
|
||||
<span text-90px lh-1 op-50>
|
||||
<icon-mdi:kettle-steam-outline />
|
||||
</span>
|
||||
|
||||
<h1 m-0 mt-3>
|
||||
{{ $t('404.notFound') }}
|
||||
</h1>
|
||||
<div mt-4 op-60>
|
||||
{{ $t('404.sorry') }}
|
||||
</div>
|
||||
<div mb-8 op-60>
|
||||
{{ $t('404.maybe') }}
|
||||
</div>
|
||||
|
||||
<c-button to="/">
|
||||
{{ $t('404.backHome') }}
|
||||
</c-button>
|
||||
</div>
|
||||
</template>
|
||||
@@ -0,0 +1,229 @@
|
||||
<script setup lang="ts">
|
||||
import { useHead } from '@vueuse/head';
|
||||
|
||||
useHead({ title: '新功能介绍 - IT-TOOLS-PRO' });
|
||||
|
||||
interface Item {
|
||||
name: string;
|
||||
icon: string;
|
||||
desc: string;
|
||||
tag: string;
|
||||
}
|
||||
|
||||
const groups: { title: string; items: Item[] }[] = [
|
||||
{
|
||||
title: '原创工具',
|
||||
items: [
|
||||
{ name: '批量条码生成', icon: '条', desc: 'EAN/UPC/Code128/Code39/DataMatrix 等 12 种码制,批量生成、打包下载,尺寸颜色字号可调', tag: '全新' },
|
||||
{ name: '二维码条码识别', icon: '扫', desc: '上传/拖拽/粘贴图片一键识别,支持多码混合批量输出,本地 WASM 解码,图片不上传', tag: '全新' },
|
||||
{ name: '在线翻译', icon: '译', desc: '中英日韩等 16 种语言互译,谷歌主线 + MyMemory 备用双线路,自动识别源语言', tag: '全新' },
|
||||
{ name: '图片OCR / PDF文字识别', icon: '识', desc: '本地 OCR 引擎,截图扫描件文字提取(准确率 99%+);PDF 逐页识别、预览、导出 TXT', tag: '全新' },
|
||||
{ name: '面单设计', icon: '单', desc: '快递面单模板开箱即用,支持上传 PDF 面单二次编辑(遮盖改字),300dpi 高清导出', tag: '全新' },
|
||||
{ name: 'AI修图', icon: 'AI', desc: '去水印/修复(涂抹智能填充)、抠图去背景、4x 超分辨率、人脸修复,本地 AI 模型 10 秒级出图', tag: '全新' },
|
||||
{ name: 'IT网站收藏', icon: '藏', desc: '内置 91 个精选开发站点(社区/文档/工具/AI/设计/视频/媒体平台),数据存用户本地,可自选目录', tag: '全新' },
|
||||
{ name: '文档格式转换', icon: '转', desc: 'Word/PDF/TXT/RTF/ODT/EPUB/MOBI/AZW3/HTML 九格式互转,自建 calibre 引擎,批量打包下载', tag: '全新' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '深度改造',
|
||||
items: [
|
||||
{ name: 'JSON 美化和格式化', icon: 'J', desc: '双栏专业工作台:左侧行号编辑,右侧树视图/语法高亮切换,含 Dict/Get参数/XML/CSV 等 7 种转换', tag: '改造' },
|
||||
{ name: 'PDF工具', icon: 'P', desc: '合并/拆分/旋转/重排/压缩/加密/解密/水印/提取文本/页码/转图片,11 功能全程浏览器本地处理', tag: '全新' },
|
||||
{ name: '图片工具', icon: '图', desc: '压缩/转换/尺寸/裁剪/旋转/滤镜/打码/EXIF/二维码生成识别/水印/拼接,12 功能本地处理', tag: '全新' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '授权与体验',
|
||||
items: [
|
||||
{ name: '卡密授权系统', icon: '锁', desc: '对接自建 CardAuth:高级功能 30 分钟免费试用,卡密激活全站通用,支持换卡密/自助撤销', tag: '全新' },
|
||||
{ name: '授权介绍页', icon: '介', desc: '右上角「授权应用」直达:功能清单、购买优势、一键购买与机器码复制', tag: '全新' },
|
||||
{ name: '生成记录', icon: '记', desc: '翻译/OCR/修图/转换等 9 个工具自动留痕,支持复制、删除、清空,数据存本地', tag: '全新' },
|
||||
{ name: '体验优化', icon: '优', desc: '全站中文默认、收藏与最近使用、菜单一键展开/收起、宽屏自适应、品牌页脚等数十项细节', tag: '优化' },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
const repoUrl = 'https://github.com/personal82555/it-tools-pro';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="about-root">
|
||||
<div class="hero">
|
||||
<div class="hero-title">IT-TOOLS-PRO 新增功能介绍</div>
|
||||
<div class="hero-sub">
|
||||
基于开源项目 IT-Tools 深度定制:新增 12 个原创工具、授权系统与数十项体验优化,全部功能持续更新中。
|
||||
</div>
|
||||
<a class="repo-btn" :href="repoUrl" target="_blank" rel="noopener">
|
||||
⭐ GitHub 源码仓库
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div v-for="g in groups" :key="g.title" class="group">
|
||||
<h3 class="group-title">
|
||||
{{ g.title }}
|
||||
</h3>
|
||||
<div class="item-grid">
|
||||
<div v-for="it in g.items" :key="it.name" class="item-card">
|
||||
<div class="item-head">
|
||||
<span class="item-icon">{{ it.icon }}</span>
|
||||
<span class="item-name">{{ it.name }}</span>
|
||||
<span class="item-tag" :class="{ hot: it.tag === '全新' }">{{ it.tag }}</span>
|
||||
</div>
|
||||
<div class="item-desc">
|
||||
{{ it.desc }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bottom-links">
|
||||
<a :href="repoUrl" target="_blank" rel="noopener">GitHub 仓库</a>
|
||||
<span class="sep">·</span>
|
||||
<RouterLink to="/pricing">
|
||||
授权购买
|
||||
</RouterLink>
|
||||
<span class="sep">·</span>
|
||||
<a href="https://nav.88531.cn" target="_blank" rel="noopener">nav.88531.cn 更多应用</a>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.about-root {
|
||||
max-width: 980px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px 80px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
text-align: center;
|
||||
margin-bottom: 34px;
|
||||
|
||||
.hero-title {
|
||||
font-size: 26px;
|
||||
font-weight: 800;
|
||||
background: linear-gradient(48deg, rgba(37, 99, 108, 1) 0%, rgba(59, 149, 111, 1) 55%, rgba(20, 160, 88, 1) 100%);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.hero-sub {
|
||||
margin-top: 10px;
|
||||
font-size: 14px;
|
||||
opacity: 0.65;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.repo-btn {
|
||||
display: inline-block;
|
||||
margin-top: 16px;
|
||||
background: #24292f;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-size: 13.5px;
|
||||
font-weight: 600;
|
||||
border-radius: 999px;
|
||||
padding: 9px 26px;
|
||||
transition: opacity 0.15s;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.group {
|
||||
margin-bottom: 26px;
|
||||
|
||||
.group-title {
|
||||
font-size: 16.5px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.item-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.item-card {
|
||||
border: 1px solid rgba(128, 128, 128, 0.22);
|
||||
border-radius: 10px;
|
||||
padding: 12px 14px;
|
||||
transition: border-color 0.15s;
|
||||
|
||||
&:hover {
|
||||
border-color: rgba(24, 160, 88, 0.55);
|
||||
}
|
||||
|
||||
.item-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 6px;
|
||||
|
||||
.item-icon {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: 7px;
|
||||
background: rgba(24, 160, 88, 0.12);
|
||||
color: #18a058;
|
||||
font-size: 12.5px;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.item-name {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.item-tag {
|
||||
margin-left: auto;
|
||||
font-size: 11px;
|
||||
padding: 1px 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(128, 128, 128, 0.12);
|
||||
color: #777;
|
||||
flex-shrink: 0;
|
||||
|
||||
&.hot {
|
||||
background: rgba(24, 160, 88, 0.12);
|
||||
color: #18a058;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-desc {
|
||||
font-size: 12.5px;
|
||||
opacity: 0.7;
|
||||
line-height: 1.75;
|
||||
}
|
||||
}
|
||||
|
||||
.bottom-links {
|
||||
text-align: center;
|
||||
margin-top: 30px;
|
||||
font-size: 13px;
|
||||
|
||||
a {
|
||||
color: #18a058;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.sep {
|
||||
margin: 0 10px;
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,151 @@
|
||||
<script setup lang="ts">
|
||||
import { IconDragDrop, IconHeart } from '@tabler/icons-vue';
|
||||
import { useHead } from '@vueuse/head';
|
||||
import { computed } from 'vue';
|
||||
import Draggable from 'vuedraggable';
|
||||
import ColoredCard from '../components/ColoredCard.vue';
|
||||
import ToolCard from '../components/ToolCard.vue';
|
||||
import { useToolStore } from '@/tools/tools.store';
|
||||
import { useRecentTools } from '@/composable/recent-tools';
|
||||
import { config } from '@/config';
|
||||
|
||||
const toolStore = useToolStore();
|
||||
const { recentTools } = useRecentTools();
|
||||
|
||||
// map recent paths to tool objects (newest first, cap 8)
|
||||
const recentToolList = computed(() => {
|
||||
const byPath = new Map(toolStore.tools.map(t => [t.path, t]));
|
||||
const out: any[] = [];
|
||||
for (const r of recentTools.value) {
|
||||
const tool = byPath.get(r.path);
|
||||
if (tool && !out.includes(tool)) {
|
||||
out.push(tool);
|
||||
}
|
||||
if (out.length >= 8) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
});
|
||||
|
||||
useHead({ title: 'IT-TOOLS-PRO - Handy online tools for developers' });
|
||||
const { t } = useI18n();
|
||||
|
||||
const favoriteTools = computed(() => toolStore.favoriteTools);
|
||||
|
||||
// Update favorite tools order when drag is finished
|
||||
function onUpdateFavoriteTools() {
|
||||
toolStore.updateFavoriteTools(favoriteTools.value); // Update the store with the new order
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="pt-50px">
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
|
||||
<ColoredCard v-if="config.showBanner" :title="$t('home.follow.title')" :icon="IconHeart">
|
||||
{{ $t('home.follow.p1') }}
|
||||
<a
|
||||
href="https://github.com/CorentinTh/it-tools"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
:aria-label="$t('home.follow.githubRepository')"
|
||||
>GitHub</a>
|
||||
{{ $t('home.follow.p2') }}
|
||||
<a
|
||||
href="https://x.com/ittoolsdottech"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
:aria-label="$t('home.follow.twitterXAccount')"
|
||||
>X</a>.
|
||||
{{ $t('home.follow.thankYou') }}
|
||||
<n-icon :component="IconHeart" />
|
||||
</ColoredCard>
|
||||
</div>
|
||||
|
||||
<div v-if="recentToolList.length > 0">
|
||||
<h3 class="mb-5px mt-25px text-neutral-400 font-500">
|
||||
🕘 {{ $t('home.categories.recentTools') }}
|
||||
</h3>
|
||||
<div class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
|
||||
<ToolCard v-for="tool in recentToolList" :key="tool.name" :tool="tool" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<transition name="height">
|
||||
<div v-if="toolStore.favoriteTools.length > 0">
|
||||
<h3 class="mb-5px mt-25px text-neutral-400 font-500">
|
||||
{{ $t('home.categories.favoriteTools') }}
|
||||
<c-tooltip :tooltip="$t('home.categories.favoritesDndToolTip')">
|
||||
<n-icon :component="IconDragDrop" size="18" />
|
||||
</c-tooltip>
|
||||
</h3>
|
||||
<Draggable
|
||||
:list="favoriteTools"
|
||||
class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4"
|
||||
ghost-class="ghost-favorites-draggable"
|
||||
item-key="name"
|
||||
@end="onUpdateFavoriteTools"
|
||||
>
|
||||
<template #item="{ element: tool }">
|
||||
<ToolCard :tool="tool" />
|
||||
</template>
|
||||
</Draggable>
|
||||
</div>
|
||||
</transition>
|
||||
|
||||
<div v-if="toolStore.newTools.length > 0">
|
||||
<h3 class="mb-5px mt-25px text-neutral-400 font-500">
|
||||
{{ t('home.categories.newestTools') }}
|
||||
</h3>
|
||||
<div class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
|
||||
<ToolCard v-for="tool in toolStore.newTools" :key="tool.name" :tool="tool" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 class="mb-5px mt-25px text-neutral-400 font-500">
|
||||
{{ $t('home.categories.allTools') }}
|
||||
</h3>
|
||||
<div class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
|
||||
<ToolCard v-for="tool in toolStore.tools" :key="tool.name" :tool="tool" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="less">
|
||||
.height-enter-active,
|
||||
.height-leave-active {
|
||||
transition: all 0.5s ease-in-out;
|
||||
overflow: hidden;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
.height-enter-from,
|
||||
.height-leave-to {
|
||||
max-height: 42px;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.ghost-favorites-draggable {
|
||||
opacity: 0.4;
|
||||
background-color: #ccc;
|
||||
border: 2px dashed #666;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
||||
transform: scale(1.1);
|
||||
animation: ghost-favorites-draggable-animation 0.2s ease-out;
|
||||
}
|
||||
|
||||
@keyframes ghost-favorites-draggable-animation {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(0.9);
|
||||
}
|
||||
100% {
|
||||
opacity: 0.4;
|
||||
transform: scale(1.0);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,385 @@
|
||||
<script setup lang="ts">
|
||||
import { useHead } from '@vueuse/head';
|
||||
import { BUY_URL, PROTECTED_TOOLS, getMachineId } from '@/tools/license/license';
|
||||
|
||||
useHead({ title: '授权应用 - IT-TOOLS-PRO' });
|
||||
|
||||
interface Feature {
|
||||
path: string;
|
||||
name: string;
|
||||
icon: string;
|
||||
points: string[];
|
||||
}
|
||||
|
||||
const FEATURES: Feature[] = [
|
||||
{
|
||||
path: '/translator',
|
||||
name: '在线翻译',
|
||||
icon: '🌐',
|
||||
points: ['支持中英日韩等 16 种语言互译', '谷歌翻译主线 + MyMemory 备用双线路', '粘贴即译,自动识别源语言'],
|
||||
},
|
||||
{
|
||||
path: '/image-ocr',
|
||||
name: '图片OCR文字识别',
|
||||
icon: '📷',
|
||||
points: ['本地 OCR 引擎,中文识别准确率 99%+', '截图、扫描件、照片文字一键提取', '逐行输出带置信度,支持粘贴图片'],
|
||||
},
|
||||
{
|
||||
path: '/pdf-ocr',
|
||||
name: 'PDF文字识别',
|
||||
icon: '📄',
|
||||
points: ['逐页 OCR 中英文 PDF(最多 50 页)', '每页预览、翻页查看识别结果', '一键复制全部或下载 TXT'],
|
||||
},
|
||||
{
|
||||
path: '/ai-retouch',
|
||||
name: 'AI修图',
|
||||
icon: '🎨',
|
||||
points: ['去水印/修复:涂抹区域智能填充', '抠图去背景、4x 超分辨率、人脸修复', '本地 AI 模型推理,单张 10 秒级出图'],
|
||||
},
|
||||
{
|
||||
path: '/label-designer',
|
||||
name: '面单设计',
|
||||
icon: '🏷️',
|
||||
points: ['快递面单/物流标签常用模板开箱即用', '上传 PDF 面单二次编辑(遮盖改字)', '300dpi 高清导出,打印即用'],
|
||||
},
|
||||
{
|
||||
path: '/doc-convert',
|
||||
name: '文档格式转换',
|
||||
icon: '🔄',
|
||||
points: ['Word/PDF/TXT/RTF/ODT/EPUB/MOBI/AZW3/HTML 九种格式互转', '自建转换引擎,批量转换打包下载', '单文件最快几秒完成'],
|
||||
},
|
||||
];
|
||||
|
||||
// only show tools that are actually in the protected list
|
||||
const paidFeatures = FEATURES.filter(f => f.path in PROTECTED_TOOLS);
|
||||
|
||||
const machineId = getMachineId();
|
||||
const copied = ref(false);
|
||||
|
||||
async function copyMachine() {
|
||||
try {
|
||||
await navigator.clipboard.writeText(machineId);
|
||||
copied.value = true;
|
||||
setTimeout(() => (copied.value = false), 1500);
|
||||
}
|
||||
catch { /* ignore */ }
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="pricing-root">
|
||||
<!-- hero -->
|
||||
<div class="hero">
|
||||
<div class="hero-title">🚀 授权解锁全部高级功能</div>
|
||||
<div class="hero-sub">
|
||||
IT-TOOLS-PRO 的 20+ 基础工具永久免费,下面 6 个算力型高级功能需要授权。一次激活,全部通用。
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- feature grid -->
|
||||
<div class="section">
|
||||
<h3 class="section-title">
|
||||
授权可用的高级功能
|
||||
</h3>
|
||||
<div class="feat-grid">
|
||||
<div v-for="f in paidFeatures" :key="f.path" class="feat-card">
|
||||
<div class="feat-head">
|
||||
<span class="feat-icon">{{ f.icon }}</span>
|
||||
<RouterLink class="feat-name" :to="f.path">
|
||||
{{ f.name }}
|
||||
</RouterLink>
|
||||
<span class="feat-tag">授权功能</span>
|
||||
</div>
|
||||
<ul class="feat-points">
|
||||
<li v-for="(p, i) in f.points" :key="i">
|
||||
{{ p }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- advantages -->
|
||||
<div class="section">
|
||||
<h3 class="section-title">
|
||||
为什么值得购买
|
||||
</h3>
|
||||
<div class="adv-grid">
|
||||
<div class="adv-card">
|
||||
<div class="adv-icon">🔑</div>
|
||||
<div class="adv-title">一次激活,全站通用</div>
|
||||
<div class="adv-desc">输入一次卡密,6 个高级功能全部解锁,无需逐个购买</div>
|
||||
</div>
|
||||
<div class="adv-card">
|
||||
<div class="adv-icon">♾️</div>
|
||||
<div class="adv-title">永久套餐</div>
|
||||
<div class="adv-desc">买断制授权,不按次、不按月,长期使用无后顾之忧</div>
|
||||
</div>
|
||||
<div class="adv-card">
|
||||
<div class="adv-icon">🎁</div>
|
||||
<div class="adv-title">先用后买</div>
|
||||
<div class="adv-desc">每个高级功能免费试用 30 分钟,觉得好用再付费</div>
|
||||
</div>
|
||||
<div class="adv-card">
|
||||
<div class="adv-icon">🔒</div>
|
||||
<div class="adv-title">隐私友好</div>
|
||||
<div class="adv-desc">PDF/图片工具全程浏览器本地处理,文件不上传服务器</div>
|
||||
</div>
|
||||
<div class="adv-card">
|
||||
<div class="adv-icon">⚡</div>
|
||||
<div class="adv-title">自建服务稳定</div>
|
||||
<div class="adv-desc">翻译、OCR、AI 修图、格式转换均为自建服务,不依赖第三方接口</div>
|
||||
</div>
|
||||
<div class="adv-card">
|
||||
<div class="adv-icon">🧊</div>
|
||||
<div class="adv-title">免费工具持续更新</div>
|
||||
<div class="adv-desc">条码、JSON、二维码、IT 网站收藏等 20+ 工具永久免费,还会不断增加</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CTA -->
|
||||
<div class="section">
|
||||
<div class="cta-box">
|
||||
<div class="cta-left">
|
||||
<div class="cta-title">
|
||||
立即购买授权
|
||||
</div>
|
||||
<div class="cta-sub">
|
||||
购买后你会得到一个卡密,在任意高级功能页右上角「卡密」入口输入即可激活本设备。
|
||||
</div>
|
||||
<div class="cta-machine">
|
||||
本设备机器码:<code>{{ machineId }}</code>
|
||||
<a href="javascript:;" class="copy-link" @click="copyMachine">{{ copied ? '已复制 ✓' : '复制' }}</a>
|
||||
<span class="cta-machine-hint">(购买或激活遇到问题时提供给客服)</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cta-right">
|
||||
<c-button type="primary" class="cta-btn" tag="a" :href="BUY_URL" target="_blank" rel="noopener">
|
||||
💳 前往购买卡密
|
||||
</c-button>
|
||||
<div class="cta-hint">
|
||||
支付后自动发卡,卡密即时可用
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="foot-note">
|
||||
已购买用户切换设备使用?在旧设备的功能页点「撤销」,新设备重新输入卡密即可。
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.pricing-root {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px 80px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
text-align: center;
|
||||
margin-bottom: 36px;
|
||||
|
||||
.hero-title {
|
||||
font-size: 30px;
|
||||
font-weight: 800;
|
||||
background: linear-gradient(48deg, rgba(37, 99, 108, 1) 0%, rgba(59, 149, 111, 1) 55%, rgba(20, 160, 88, 1) 100%);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.hero-sub {
|
||||
margin-top: 10px;
|
||||
font-size: 14.5px;
|
||||
opacity: 0.65;
|
||||
}
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 34px;
|
||||
|
||||
.section-title {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
// ---- feature grid ----
|
||||
.feat-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.feat-card {
|
||||
border: 1px solid rgba(128, 128, 128, 0.25);
|
||||
border-radius: 12px;
|
||||
padding: 14px 16px;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
|
||||
&:hover {
|
||||
border-color: rgba(24, 160, 88, 0.6);
|
||||
box-shadow: 0 4px 16px rgba(24, 160, 88, 0.08);
|
||||
}
|
||||
|
||||
.feat-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
.feat-icon {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.feat-name {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: #18a058;
|
||||
}
|
||||
}
|
||||
|
||||
.feat-tag {
|
||||
margin-left: auto;
|
||||
font-size: 11px;
|
||||
color: #18a058;
|
||||
background: rgba(24, 160, 88, 0.1);
|
||||
border-radius: 999px;
|
||||
padding: 2px 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.feat-points {
|
||||
margin: 0;
|
||||
padding-left: 18px;
|
||||
font-size: 12.5px;
|
||||
line-height: 1.9;
|
||||
opacity: 0.75;
|
||||
}
|
||||
}
|
||||
|
||||
// ---- advantages ----
|
||||
.adv-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.adv-card {
|
||||
border: 1px solid rgba(128, 128, 128, 0.2);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
background: rgba(24, 160, 88, 0.03);
|
||||
|
||||
.adv-icon {
|
||||
font-size: 24px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.adv-title {
|
||||
font-size: 14.5px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.adv-desc {
|
||||
font-size: 12.5px;
|
||||
opacity: 0.65;
|
||||
line-height: 1.7;
|
||||
}
|
||||
}
|
||||
|
||||
// ---- CTA ----
|
||||
.cta-box {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
border: 2px solid rgba(24, 160, 88, 0.45);
|
||||
border-radius: 14px;
|
||||
padding: 22px 26px;
|
||||
background: linear-gradient(120deg, rgba(24, 160, 88, 0.06), rgba(24, 160, 88, 0.02));
|
||||
flex-wrap: wrap;
|
||||
|
||||
.cta-left {
|
||||
flex: 1;
|
||||
min-width: 260px;
|
||||
|
||||
.cta-title {
|
||||
font-size: 19px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.cta-sub {
|
||||
font-size: 13px;
|
||||
opacity: 0.7;
|
||||
margin-top: 6px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.cta-machine {
|
||||
margin-top: 10px;
|
||||
font-size: 12.5px;
|
||||
opacity: 0.85;
|
||||
|
||||
code {
|
||||
background: rgba(128, 128, 128, 0.1);
|
||||
padding: 2px 8px;
|
||||
border-radius: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.copy-link {
|
||||
color: #18a058;
|
||||
margin-left: 8px;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.cta-machine-hint {
|
||||
opacity: 0.5;
|
||||
font-size: 11.5px;
|
||||
margin-left: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cta-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
|
||||
.cta-btn {
|
||||
background: #18a058 !important;
|
||||
color: #fff !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 700;
|
||||
padding: 10px 30px !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.cta-hint {
|
||||
font-size: 11.5px;
|
||||
opacity: 0.55;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.foot-note {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user