test: 开发图文集界面
parent
8d80e794bd
commit
affd9c603c
@ -0,0 +1,82 @@
|
|||||||
|
import { Conditional } from '@/components/Conditional'
|
||||||
|
import useAuthStore from '@/stores/AuthStore'
|
||||||
|
import useFormStore from '@/stores/FormStore'
|
||||||
|
import { useOrderStore } from '@/stores/OrderStore'
|
||||||
|
import { copy, isNotEmpty, isEmpty } from '@/utils/commons'
|
||||||
|
import { WhatsAppOutlined } from '@ant-design/icons'
|
||||||
|
import { Row, Col, Tag, List, Form, Input, Button, Space } from 'antd'
|
||||||
|
import dayjs from 'dayjs'
|
||||||
|
import { useCallback, useEffect, useState } from 'react'
|
||||||
|
import { Link } from 'react-router-dom'
|
||||||
|
|
||||||
|
function SnippetList() {
|
||||||
|
const [form] = Form.useForm()
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Space direction='vertical' size='large' style={{ width: '100%' }}>
|
||||||
|
<Form
|
||||||
|
layout={'inline'}
|
||||||
|
form={form}
|
||||||
|
initialValues={{
|
||||||
|
layout: 'inline',
|
||||||
|
}}>
|
||||||
|
<Form.Item label='所有者'>
|
||||||
|
<Input placeholder='placeholder' />
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label='类别'>
|
||||||
|
<Input placeholder='placeholder' />
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label='状态'>
|
||||||
|
<Input placeholder='placeholder' />
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item label='标题'>
|
||||||
|
<Input placeholder='placeholder' />
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item>
|
||||||
|
<Button type='primary'>搜索</Button>
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item>
|
||||||
|
<Button>新增</Button>
|
||||||
|
</Form.Item>
|
||||||
|
</Form>
|
||||||
|
<Row gutter={16}>
|
||||||
|
<Col span={8}>
|
||||||
|
<List
|
||||||
|
bordered
|
||||||
|
dataSource={[
|
||||||
|
'问客人发帖',
|
||||||
|
'婚礼团upsale',
|
||||||
|
'泰国相关',
|
||||||
|
'日本暑期预警',
|
||||||
|
'Highlights Travel Family Loyalty Club',
|
||||||
|
]}
|
||||||
|
renderItem={(item) => (
|
||||||
|
<List.Item className='hover:bg-gray-50'>
|
||||||
|
<Row gutter={16} className='w-full'>
|
||||||
|
<Col span={16}>
|
||||||
|
<Tag color='magenta'>类型</Tag>
|
||||||
|
{item}
|
||||||
|
</Col>
|
||||||
|
<Col span={8}>
|
||||||
|
<div className='text-end'>王静</div>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
|
</List.Item>
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
</Col>
|
||||||
|
<Col span={16}>
|
||||||
|
<pre>
|
||||||
|
<p>
|
||||||
|
Discover China with the <strong>award-winning</strong>
|
||||||
|
</p>
|
||||||
|
</pre>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
|
</Space>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default SnippetList
|
Loading…
Reference in New Issue