🐞 fix:
This commit is contained in:
parent
66bc4cd97d
commit
ef7659b446
|
@ -1,13 +1,14 @@
|
||||||
<!--
|
<!--
|
||||||
* @LastEditors: John
|
* @LastEditors: John
|
||||||
* @Date: 2024-07-18 14:40:44
|
* @Date: 2024-07-18 14:40:44
|
||||||
* @LastEditTime: 2024-07-18 16:19:18
|
* @LastEditTime: 2024-07-22 18:14:52
|
||||||
* @Author: John
|
* @Author: John
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/starcraft.svg" />
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
<meta name="MobileOptimized" content="176" />
|
<meta name="MobileOptimized" content="176" />
|
||||||
<meta name="HandheldFriendly" content="True" />
|
<meta name="HandheldFriendly" content="True" />
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
<meta name="robots" content="noindex,nofollow" />
|
||||||
<title></title>
|
<title>starcraft tg webapp</title>
|
||||||
<script src="https://telegram.org/js/telegram-web-app.js?1"></script>
|
<script src="https://telegram.org/js/telegram-web-app.js?1"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721123338744" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4804" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M0 512a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#25133A" p-id="4805"></path><path d="M240.919273 258.699636h436.084363a141.032727 141.032727 0 0 1 141.032728 141.032728v20.619636a246.597818 246.597818 0 0 1-246.597819 246.644364h-45.707636l-26.158545 98.304H385.489455l86.295272-343.04h115.432728l-36.305455 148.48q130.327273 14.987636 156.020364-115.432728c19.223273-101.515636-63.069091-96.162909-102.632728-96.162909h-230.865454q-106.868364 2.141091-132.514909-100.445091z" fill="#FCB44B" p-id="4806"></path><path d="M370.222545 564.363636h-115.432727l-49.152 200.936728h115.432727l49.152-200.936728z" fill="#FCB44B" p-id="4807"></path><path d="M407.645091 422.213818h-115.432727l-19.223273 79.127273h115.432727l19.223273-79.127273z" fill="#593B8B" p-id="4808"></path></svg>
|
|
Before Width: | Height: | Size: 1.1 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 638 KiB |
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* @LastEditors: John
|
* @LastEditors: John
|
||||||
* @Date: 2024-07-13 10:50:24
|
* @Date: 2024-07-13 10:50:24
|
||||||
* @LastEditTime: 2024-07-19 19:03:45
|
* @LastEditTime: 2024-07-22 18:10:26
|
||||||
* @Author: John
|
* @Author: John
|
||||||
*/
|
*/
|
||||||
import classes from "./Home-m.module.css";
|
import classes from "./Home-m.module.css";
|
||||||
|
@ -230,6 +230,7 @@ function TaskItem({
|
||||||
fill="none"
|
fill="none"
|
||||||
className={button_disable ? classes.button_disable : ""}
|
className={button_disable ? classes.button_disable : ""}
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
|
if (button_disable) return;
|
||||||
await api_start_task().send({ queryParams: { id: task_id } });
|
await api_start_task().send({ queryParams: { id: task_id } });
|
||||||
WebApp.openLink(task_url);
|
WebApp.openLink(task_url);
|
||||||
onTaskSuccess?.();
|
onTaskSuccess?.();
|
||||||
|
|
Loading…
Reference in New Issue