diff --git a/public/images/icons/cotti.webp b/public/images/icons/cotti.webp new file mode 100644 index 0000000..303ee7e Binary files /dev/null and b/public/images/icons/cotti.webp differ 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
-
-
{item.name[0]}
-
{item.name[1]}
+
+
{item.name[0]}
+
{item.name[1]}
))}
-
已完成
+ {/*
已完成
{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: ['',''] },