|
|
|
@ -11,6 +11,7 @@ import Button from '@/app/components/base/button'
|
|
|
|
import Pagination from '@/app/components/base/pagination'
|
|
|
|
import Pagination from '@/app/components/base/pagination'
|
|
|
|
import { APP_PAGE_LIMIT } from '@/config'
|
|
|
|
import { APP_PAGE_LIMIT } from '@/config'
|
|
|
|
import { noop } from 'lodash'
|
|
|
|
import { noop } from 'lodash'
|
|
|
|
|
|
|
|
import Tip from './components/tip'
|
|
|
|
|
|
|
|
|
|
|
|
const i18nPrefix = 'app.checkLegacy'
|
|
|
|
const i18nPrefix = 'app.checkLegacy'
|
|
|
|
const Page = () => {
|
|
|
|
const Page = () => {
|
|
|
|
@ -41,12 +42,11 @@ const Page = () => {
|
|
|
|
}, [published, t])
|
|
|
|
}, [published, t])
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className='flex grow flex-col rounded-t-2xl border-t border-effects-highlight bg-background-default-subtle px-6 pt-4'>
|
|
|
|
<div className='flex grow rounded-t-2xl border-t border-effects-highlight bg-background-default-subtle px-6 pt-4'>
|
|
|
|
<Header appNum={5} publishedNum={3}/>
|
|
|
|
<div className='flex h-full grow flex-col pr-6'>
|
|
|
|
<div className='flex grow'>
|
|
|
|
<Header className='shrink-0' appNum={5} publishedNum={3}/>
|
|
|
|
<div className='flex flex-col'>
|
|
|
|
|
|
|
|
{/* Filter */}
|
|
|
|
{/* Filter */}
|
|
|
|
<div className='mb-2 mt-4 flex items-center justify-between'>
|
|
|
|
<div className='mb-2 mt-4 flex shrink-0 items-center justify-between'>
|
|
|
|
<div className='flex items-center gap-2'>
|
|
|
|
<div className='flex items-center gap-2'>
|
|
|
|
<Chip
|
|
|
|
<Chip
|
|
|
|
className='min-w-[150px]'
|
|
|
|
className='min-w-[150px]'
|
|
|
|
@ -80,16 +80,18 @@ const Page = () => {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<List list={list} />
|
|
|
|
<List list={list} />
|
|
|
|
{(total && total > APP_PAGE_LIMIT)
|
|
|
|
{(total && total > APP_PAGE_LIMIT)
|
|
|
|
? <Pagination
|
|
|
|
? <div className='flex justify-end'><Pagination
|
|
|
|
className='shrink-0'
|
|
|
|
className='shrink-0'
|
|
|
|
current={1}
|
|
|
|
current={1}
|
|
|
|
onChange={noop}
|
|
|
|
onChange={noop}
|
|
|
|
total={total}
|
|
|
|
total={total}
|
|
|
|
limit={10}
|
|
|
|
limit={10}
|
|
|
|
onLimitChange={noop}
|
|
|
|
onLimitChange={noop}
|
|
|
|
/>
|
|
|
|
/></div>
|
|
|
|
: null}
|
|
|
|
: null}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className='ml-3 shrink-0 pr-8 pt-[108px]'>
|
|
|
|
|
|
|
|
<Tip />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|