feat: init

This commit is contained in:
2025-09-05 16:44:12 +08:00
parent 85244a451e
commit 242a15c589
27 changed files with 191 additions and 168 deletions

View File

@@ -1,5 +1,5 @@
// components/ErrorBoundary/index.tsx
import React, { Component, ReactNode } from "react";
import { Component, ReactNode } from "react";
import { Result, Button } from "antd-mobile";
interface Props {

View File

@@ -11,7 +11,7 @@
.actions {
display: flex;
gap: 16px;
gap: 12px;
margin-top: 24px;
.button {

View File

@@ -1,4 +1,4 @@
import React, { useCallback, useState } from "react";
import React, { useCallback } from "react";
import "./index.less";
const VoiceIcon = (props: { isPlaying: boolean; onChange?: () => void }) => {
@@ -7,10 +7,7 @@ const VoiceIcon = (props: { isPlaying: boolean; onChange?: () => void }) => {
props.onChange?.();
}, [isPlaying]);
return (
<div
className={`voice-icon ${isPlaying ? "playing" : ""}`}
onClick={onChange}
>
<div className={`voice-icon ${isPlaying ? "playing" : ""}`} onClick={onChange}>
<div className="wave wave1"></div>
<div className="wave wave2"></div>
<div className="wave wave3"></div>