增加用户中心、用户注册登录

This commit is contained in:
jiangh277
2025-12-26 15:12:49 +08:00
parent 1eb1dafe1e
commit 07e011febd
43 changed files with 2006 additions and 611 deletions

View File

@@ -4,6 +4,7 @@ import { DeleteOutlined, DownloadOutlined, EyeOutlined } from '@ant-design/icons
import { Button, Card, Checkbox, Spin } from 'antd';
import React, { FC } from 'react';
import '../index.css';
import { getAuthization } from '@/utils/userUtils';
interface ListViewProps {
imageList: ImageItem[];
@@ -50,10 +51,11 @@ const ListView: FC<ListViewProps> = ({
style={{
width: imageSize.width,
height: imageSize.height,
backgroundImage: `url(/file/image/${item.instanceId})`,
backgroundImage: `url(/file/image/${item.instanceId}?Authorization=${getAuthization()})`,
backgroundSize: 'cover',
backgroundPosition: 'center',
backgroundRepeat: 'no-repeat',
position: 'relative',
}}
onClick={() => !batchMode && onPreview(index)}
/>
@@ -94,4 +96,4 @@ const ListView: FC<ListViewProps> = ({
);
};
export default ListView;
export default ListView;