diff --git a/src/pages/friends-photo/components/SubmitButton/index.css b/src/pages/friends-photo/components/SubmitButton/index.css index 18b81cc..725ab6a 100644 --- a/src/pages/friends-photo/components/SubmitButton/index.css +++ b/src/pages/friends-photo/components/SubmitButton/index.css @@ -30,7 +30,7 @@ font-weight: 600; } -.submit-button[disabled] { +.submit-button.disabled { background-color: #ccc; cursor: not-allowed; border: none; diff --git a/src/pages/history/index.tsx b/src/pages/history/index.tsx index 809f39a..c1a95d0 100644 --- a/src/pages/history/index.tsx +++ b/src/pages/history/index.tsx @@ -158,10 +158,10 @@ export default function History() { handleItemClick(record)}> {record.status === 'completed' && record.outputResult ? ( - + ) : ( - + {/* 生成中状态的扫描效果 */} {isGenerating && ( diff --git a/src/pages/result/components/GeneratingComponent.tsx b/src/pages/result/components/GeneratingComponent.tsx index 8f61bf8..992b51d 100644 --- a/src/pages/result/components/GeneratingComponent.tsx +++ b/src/pages/result/components/GeneratingComponent.tsx @@ -1,4 +1,4 @@ -import { Image, View,Text } from '@tarojs/components'; +import { Image, View, Text } from '@tarojs/components'; import { navigateBack } from '@tarojs/taro'; import { useEffect, useState } from 'react'; @@ -63,7 +63,7 @@ const GeneratingComponent: React.FC = ({ task }) => { {/* 预览图片或占位符 */} {task?.inputImageUrl ? ( - + ) : ( 🎨 @@ -73,7 +73,7 @@ const GeneratingComponent: React.FC = ({ task }) => { {/* 光扫描动画 */} - {Math.round(progress)}% + {Math.round(progress)}%