feat: detail suspend
This commit is contained in:
0
src/components/UploadCover/index.scss
Normal file
0
src/components/UploadCover/index.scss
Normal file
24
src/components/UploadCover/index.tsx
Normal file
24
src/components/UploadCover/index.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import React, { useState } from 'react'
|
||||
import { Popup } from "@nutui/nutui-react-taro";
|
||||
|
||||
import './index.scss'
|
||||
|
||||
export default function UploadCover(props) {
|
||||
const { value = [], onChange = () => {} } = props
|
||||
const [visible, setVisible] = useState(false)
|
||||
|
||||
return (
|
||||
<>
|
||||
<Popup
|
||||
visible={visible}
|
||||
onClose={() => setVisible(false)}
|
||||
round
|
||||
closeable
|
||||
>
|
||||
<div className="upload-cover-popup" onClick={}>
|
||||
<div className="upload-cover-popup-title">上传封面</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user