style: playground style

This commit is contained in:
jialin
2024-09-22 14:55:23 +08:00
parent c04b9342b8
commit b041cdc766
26 changed files with 373 additions and 312 deletions
@@ -1,4 +1,4 @@
import { CloseCircleOutlined } from '@ant-design/icons';
import { CloseCircleOutlined, EyeOutlined } from '@ant-design/icons';
import { Image } from 'antd';
import _ from 'lodash';
import React, { useCallback } from 'react';
@@ -25,7 +25,14 @@ const ThumbImg: React.FC<{
return (
<span key={item.uid} className="thumb-img">
<span className="img">
<Image src={item.dataUrl} width={56} height={56} />
<Image
src={item.dataUrl}
width={56}
height={56}
preview={{
mask: <EyeOutlined />
}}
/>
</span>
<span className="del" onClick={() => handleOnDelete(item.uid)}>