feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -18,7 +18,7 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import { Button, Image, Typography } from '@douyinfe/semi-ui';
|
||||
import { Button, Image, Typography } from '@/components/ui';
|
||||
import { Upload } from 'lucide-react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { showError } from '../../helpers';
|
||||
@@ -90,9 +90,9 @@ export default function QrCodeUpload({
|
||||
className='flex flex-wrap items-center gap-4 rounded-lg border border-dashed p-4'
|
||||
style={{
|
||||
borderColor: invalid
|
||||
? 'var(--semi-color-danger)'
|
||||
: 'var(--semi-color-border)',
|
||||
background: 'var(--semi-color-fill-0)',
|
||||
? 'var(--ui-color-danger)'
|
||||
: 'var(--ui-color-border)',
|
||||
background: 'var(--ui-color-fill-0)',
|
||||
}}
|
||||
>
|
||||
{value ? (
|
||||
@@ -106,7 +106,7 @@ export default function QrCodeUpload({
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<Upload size={28} className='m-4 text-[var(--semi-color-text-2)]' />
|
||||
<Upload size={28} className='m-4 text-[var(--ui-color-text-2)]' />
|
||||
)}
|
||||
<div className='flex flex-col gap-2'>
|
||||
<input
|
||||
|
||||
Reference in New Issue
Block a user