mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 09:45:35 +08:00
feat: collapse proxies and provider
This commit is contained in:
parent
b79f10f528
commit
875792432a
@ -63,9 +63,10 @@ export default () => {
|
||||
|
||||
return (
|
||||
<div class="flex flex-col gap-2">
|
||||
<div>
|
||||
<h1 class="pb-4 text-lg font-semibold">{t('proxies')}</h1>
|
||||
|
||||
<div class="collapse collapse-arrow">
|
||||
<input type="checkbox" checked />
|
||||
<h1 class="collapse-title p-2 text-lg font-semibold">{t('proxies')}</h1>
|
||||
<div class="collapse-content p-0">
|
||||
<ForTwoLine
|
||||
subChild={proxies().map((proxy) => {
|
||||
const title = (
|
||||
@ -117,11 +118,15 @@ export default () => {
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Show when={proxyProviders().length > 0}>
|
||||
<div>
|
||||
<h1 class="pb-4 text-lg font-semibold">{t('proxyProviders')}</h1>
|
||||
|
||||
<div class="collapse-arrow collapse">
|
||||
<input type="checkbox" checked />
|
||||
<h1 class="collapse-title p-2 text-lg font-semibold">
|
||||
{t('proxyProviders')}
|
||||
</h1>
|
||||
<div class="collapse-content p-0">
|
||||
<ForTwoLine
|
||||
subChild={proxyProviders().map((proxyProvider) => {
|
||||
const title = (
|
||||
@ -188,6 +193,7 @@ export default () => {
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</Show>
|
||||
</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user