This commit is contained in:
novice.li 2024-01-28 16:42:42 +08:00
parent 724938a544
commit 54c2f1d02c
1 changed files with 17 additions and 16 deletions

View File

@ -388,7 +388,7 @@
</head>
<body>
<main class="px-6 z-grid py-10" style="--space: 20rem; --gutter: 3.5rem">
<article class="card" >
<article class="card" data-product="IntelliJ IDEA" data-product-codes="II,PCWMP,PSI">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -408,7 +408,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="PhpStorm" data-product-codes="PS,PCWMP,PSI">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -427,7 +427,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="AppCode" data-product-codes="AC,PCWMP,PSI">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -446,7 +446,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="DataGrip" data-product-codes="DB,PSI,PDB">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -465,7 +465,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="RubyMine" data-product-codes="RM,PCWMP,PSI">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -484,7 +484,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="WebStorm" data-product-codes="WS,PCWMP,PSI">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -503,7 +503,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="Rider" data-product-codes="RD,PDB,PSI,PCWMP">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -522,7 +522,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="CLion" data-product-codes="CL,PSI,PCWMP">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -541,7 +541,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="PyCharm" data-product-codes="PC,PSI,PCWMP">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -560,7 +560,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="GoLand" data-product-codes="GO,PSI,PCWMP">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -579,7 +579,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="DataSpell" data-product-codes="DS,PSI,PDB,PCWMP">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -598,7 +598,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="dotCover" data-product-codes="DC">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -617,7 +617,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="dotTrace" data-product-codes="DPN,DP">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -636,7 +636,7 @@
<div class="mask"></div>
<div class="mask mask-c-1"></div>
</article>
<article class="card" >
<article class="card" data-product="dotMemory" data-product-codes="DM">
<header>
<div class="flex items-center justify-between px-6 pt-1 pb-0 bg-card radius-1">
<div class="avatar-wrapper flex items-center justify-center overflow-hidden shrink-0">
@ -661,8 +661,9 @@
<div class="text-sm text-grey">Copy from ja-netfilter</div>
</footer>
<script>
const codes = ["YTD", "QDGO", "MF", "DG", "PS", "QA", "IIE", "YTWE", "FLS", "DLE", "RFU", "PPS", "PCWMP", "II", "TCC", "RSU", "PCC", "RC", "PCE", "FLIJ", "TBA", "DL", "SPP", "QDCLD", "SPA", "DMCLP", "PSW", "GW", "PSI", "IIU", "DMU", "PWS", "HB", "WS", "PCP", "KT", "DCCLT", "RSCLT", "WRS", "RSC", "RRD", "TC", "IIC", "QDPY", "DPK", "DC", "PDB", "DPPS", "QDPHP", "GO", "HCC", "RDCPPP", "QDJVMC", "CL", "DM", "CWML", "FLL", "RR", "QDJS", "RS", "RM", "DS", "MPS", "DPN", "US", "CLN", "DPCLT", "RSV", "MPSIIP", "DB", "QDANDC", "AC", "QDJVM", "PRB", "RD", "CWMR", "SP", "RS0", "DP", "RSF", "PGO", "QDPYC", "PPC", "PC", "EHS", "RSCHB", "FL", "QDNET", "JCD"]
window.copyLicense = async function () {
// const codes = ["YTD", "QDGO", "MF", "DG", "PS", "QA", "IIE", "YTWE", "FLS", "DLE", "RFU", "PPS", "PCWMP", "II", "TCC", "RSU", "PCC", "RC", "PCE", "FLIJ", "TBA", "DL", "SPP", "QDCLD", "SPA", "DMCLP", "PSW", "GW", "PSI", "IIU", "DMU", "PWS", "HB", "WS", "PCP", "KT", "DCCLT", "RSCLT", "WRS", "RSC", "RRD", "TC", "IIC", "QDPY", "DPK", "DC", "PDB", "DPPS", "QDPHP", "GO", "HCC", "RDCPPP", "QDJVMC", "CL", "DM", "CWML", "FLL", "RR", "QDJS", "RS", "RM", "DS", "MPS", "DPN", "US", "CLN", "DPCLT", "RSV", "MPSIIP", "DB", "QDANDC", "AC", "QDJVM", "PRB", "RD", "CWMR", "SP", "RS0", "DP", "RSF", "PGO", "QDPYC", "PPC", "PC", "EHS", "RSCHB", "FL", "QDNET", "JCD"]
window.copyLicense = async function (e) {
let codes = e.closest('.card').dataset.productCodes.split(',')
let products = Array.from(codes).map((code) => {
return {code: code}
})