diff --git a/src/pages/tools.tsx b/src/pages/tools.tsx
index 49dc288..37b02fe 100644
--- a/src/pages/tools.tsx
+++ b/src/pages/tools.tsx
@@ -1,5 +1,5 @@
-import { Segmented, message } from "antd";
-import { Button, Collapse, useToast } from '@chakra-ui/react'
+import { message } from "antd";
+import { Button, Collapse, useToast, Tabs, Tab, TabList } from '@chakra-ui/react'
import { useCallback, useRef, useState } from "react";
import showImage from "../utils/downloadHtmlAsImage/showImage";
// import SecureWatermark from "../components/SecureWatermark";
@@ -64,8 +64,8 @@ export default function Heytea() {
蓝色输入框可编辑,点击灰色文字快速填充哦!
-
-
{
+
+ {/* {
console.log(highLight);
setStatus(parseInt(`${v}`))
@@ -74,40 +74,47 @@ export default function Heytea() {
} else if (v === 1) {
setHighLight(false)
}
- }} />
+ }} /> */}
+
+ {
+ setStatus(parseInt(`${v}`))
+ if (v === 0) {
+ setHighLight(true)
+ } else if (v === 1) {
+ setHighLight(false)
+ }
+ }}>
+
+ 编辑
+ 预览
+ 导出记录
+
+
+
-
- {/*
*/}
+
+
{status === 0 ?
-
: ''
}
- {/* */}
- {/*
*/}
{status === 1 ?
导出选项
-
{
+ {
console.log('+ 导出');
out(1.3)
}}>
{/* */}
急速 720P
- {/* {
- console.log('+ 导出');
- out()
- }}>
-
- 标准导出
- */}
{
console.log('+ 导出');
if (isVip().is_vip) {
@@ -153,18 +160,15 @@ export default function Heytea() {
: ''
}
- {/* */}
- {/*
*/}
{status === 2 ?
- {
+ {
setStatus(0)
setHighLight(true)
}}>
- 返回编辑
- : ''
+ 返回编辑
+ : ''
}
- {/* */}