| | |
| | | import { Tabs, Icon } from 'antd' |
| | | import Utils from '@/utils/utils.js' |
| | | import Card from './card' |
| | | import subtable from '@/assets/img/subtable.jpg' |
| | | import './index.scss' |
| | | |
| | | const { TabPane } = Tabs |
| | | const photo = { |
| | | SubTable: subtable |
| | | } |
| | | |
| | | const Container = ({list, type, setting, placeholder, handleList, handleMenu, deleteMenu }) => { |
| | | let target = null |
| | |
| | | <Icon className="edit close" type="close" onClick={() => del(card)} /> |
| | | </div> |
| | | } key={`${index}`}> |
| | | {card.description} |
| | | <img src={photo[card.type]} alt=""/> |
| | | </TabPane> |
| | | ))} |
| | | </Tabs> |