From cb11539029a0eea1739732cfa4ef8fd1902ace53 Mon Sep 17 00:00:00 2001 From: YuzeTT Date: Thu, 23 Nov 2023 01:53:43 +0800 Subject: [PATCH] chore: update index --- public/images/icons/cotti.webp | Bin 0 -> 9000 bytes src/pages/index.tsx | 39 ++++++++++++++++++--------------- src/utils/router.ts | 20 ++++++++--------- 3 files changed, 31 insertions(+), 28 deletions(-) create mode 100644 public/images/icons/cotti.webp diff --git a/public/images/icons/cotti.webp b/public/images/icons/cotti.webp new file mode 100644 index 0000000000000000000000000000000000000000..303ee7e37348e1db70d9fcb666805db3f83bd8dc GIT binary patch literal 9000 zcmeHtXHZjJ+ivV)0Te|#A_z)HItU0npa>)a(xi7O34{`A5(Pn!CQW)1sR1IrgY+6A zM0z07JA_Ukfe+vByz{(2zBA{~IWy0U zoBt2}IRIdP7;t6*0Gz=8F#dmXQCZu#S)BzD&zigI+2R1eIqNfi$L_zm*B@^A-#qLO zcYUp`d=`^&#vj@J2eY5!huqrKR#RNPrva<%+)0NJ#*kxMuv zhT1D&6U3d{$M;b8`jWPKM`q;_R&5mhJ=v8X#TZ8?c#=W5>N?F+``-=duoKu+N9k+c zxR=@5`Tx<~w zhQ-l?4NiuFk!!e8h^a@~MCCzTI;AE@c%^>13F1ia2VE6eUzyXxSw3vSP#uJuRYOBJ z^;?4cvvF)P&^iZ_m^T>YyMj`=^sn4?hl5%k;@IS^I+KPV#qCryz&EBTXNAQjKQK)ZkZC@J{f~?`b9vQE=FCT2z=NV^HC6Tf&uf0*o^}&x9 zj;!NC&x9$M(RgUKaqv9SDcS7iK3B!K$>G5Ewc{w>?QHRMn)T>M+C!7WLB50&BOlhc z^BzTI>~iI5rhCJ2VhYf?7FRj7q2AcSLn3~C8&yV*xWH2^hzZks^+x*)#>U2_r1RN~ zgIvQ%UvSk5pOIT+G7{)c(0E#>sg5{a**SO~?l+&$W6CDI(omvA#};7L$Wl~vZ#^b^*3U9sru7(hA73*^*UD9o*%x1gu}%kG08%| zgT61`L)cPG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;c8*|MPulU zvHj1;r%w=CTHjj8vs6(__I&<%OzW`mJv5@?5o!M1E!C!b%V%_$#Zpy>cjWqxx=)itrl0i-{lp})3EoT8YWM8D2t7rxf-YN zjhT7WFhW!qhg;AOP>AN%eAon|EKGPxFU_e#sy7q$gEs4i#?sGqrjXz4F^Pi*3N*|3 fQ!@Yjuka84QQ-f90>4iwr${$))9I-*HQ>Jh<0Q7p literal 0 HcmV?d00001 diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 4b82bc0..4a4657e 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,6 +1,6 @@ import { message } from 'antd' // import { Button } from '@chakra-ui/react' -import { useNavigate } from 'react-router-dom'; +// import { useNavigate } from 'react-router-dom'; import { CopyToClipboard } from 'react-copy-to-clipboard'; import list from '../utils/router' // import FollowMe from '../components/FollowMe'; @@ -8,15 +8,15 @@ import isVip from '../utils/isVip'; import AccountButton from "../components/AccountButton"; export default function index() { - const navigate = useNavigate(); + // const navigate = useNavigate(); - const jumpBefore = (url: string) => { - jump(url) - } + // const jumpBefore = (url: string) => { + // jump(url) + // } - const jump = (url: string) => { - navigate(url) - } + // const jump = (url: string) => { + // navigate(url) + // } // const h = 0 const h = new Date().getHours() @@ -85,21 +85,24 @@ export default function index() { -
所有工具
-
+
+
所有工具
+
Beta
+
+
{list.done.map((item, key)=>( - +
logo
-
-
已完成
+ {/*
已完成
{list.done.map((item, key)=>(
{jumpBefore(item.url)}}> @@ -120,8 +123,8 @@ export default function index() { }
))} -
-
待制作(或许赞助可以加速呢!)
+
*/} + {/*
待制作(或许赞助可以加速呢!)
{list.todo.map((item, key)=>(
@@ -132,7 +135,7 @@ export default function index() {
{item.name[1]}
))} -
+
*/} {isVip().is_vip?'':
广告
diff --git a/src/utils/router.ts b/src/utils/router.ts index 78f3e2f..f502ddf 100644 --- a/src/utils/router.ts +++ b/src/utils/router.ts @@ -1,9 +1,9 @@ -import LuckingCoffee from '/images/lucking_coffee.svg' +// import LuckingCoffee from '/images/lucking_coffee.svg' import Train from '/images/train.svg' // import Ticket_ from '/images/damai.png' import Ticket from '/images/cinema_logo.png' import Mcdonald from '/images/mcdonald.png' -import Heytea from '/images/heytea.png' +// import Heytea from '/images/heytea.png' import Chagee from '/images/chagee.png' const hot = ['#FEE2E2','#DC2626'] @@ -12,7 +12,7 @@ const hot = ['#FEE2E2','#DC2626'] const list = { done: [ { - name: ['Apple Music', '播放器 透卡/小卡'], + name: ['Apple Music', '播放器 透卡/小卡 88.5mm*57m(含出血3mm)'], logo: '/images/icons/music.webp', url: '/tools/music', color: ['#EB4666', '#EF4146'], @@ -95,7 +95,7 @@ const list = { name: ['瑞幸咖啡', '咖啡标签'], logo: '/images/icons/lucking_coffee.webp', url: '/lucking_coffee', - color: ['#EB4666', '#EF4146'], + color: ['#0022AB', '#1641eb'], tag: '热门', tag_color: hot }, @@ -109,9 +109,9 @@ const list = { }, { name: ['库迪咖啡', '咖啡标签'], - logo: '/images/cotti.png', + logo: '/images/icons/cotti.webp', url: '/tools/cotti', - color: ['#EB4666', '#EF4146'], + color: ['#CF323B', '#ff6069'], tag: '', tag_color: ['',''] }, @@ -119,15 +119,15 @@ const list = { name: ['照片打卡', '纪念卡'], logo: '/images/photo.png', url: '/photo', - color: ['#EB4666', '#EF4146'], + color: ['#1254E2', '#2F70FA'], tag: '', tag_color: ['',''] }, { - name: ['路牌', '你懂的'], + name: ['路牌', '写啥都很土的小牌子 可加杆子'], logo: '/images/guideboard.png', url: '/guideboard', - color: ['#EB4666', '#EF4146'], + color: ['#1F4DA0', '#2869dd'], tag: '', tag_color: ['',''] }, @@ -143,7 +143,7 @@ const list = { name: ['霸王茶姬', '奶茶标签'], logo: Chagee, url: '/tools/chagee', - color: ['#EB4666', '#EF4146'], + color: ['#EA1C24', '#ff4a51'], tag: '', tag_color: ['',''] },