save
This commit is contained in:
parent
05c283ee49
commit
7e2112aec6
|
@ -95,9 +95,12 @@ export default defineComponent({
|
||||||
<div
|
<div
|
||||||
class={
|
class={
|
||||||
'absolute left-0 top-0 w-full h-full rounded-lg p-4 ' +
|
'absolute left-0 top-0 w-full h-full rounded-lg p-4 ' +
|
||||||
(isGame.value ? 'bg-white/10' : 'bg-white/80')
|
(isGame.value ? 'bg-white/20' : 'bg-white/20')
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
<div class="flex flex-col">
|
||||||
|
<div></div>
|
||||||
|
</div>
|
||||||
<ConfigProvider
|
<ConfigProvider
|
||||||
theme={{
|
theme={{
|
||||||
token: isGame.value
|
token: isGame.value
|
||||||
|
@ -105,14 +108,17 @@ export default defineComponent({
|
||||||
: theme.defaultAlgorithm(theme.defaultSeed)
|
: theme.defaultAlgorithm(theme.defaultSeed)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Form labelCol={{ span: 6 }} model={form} class="grid grid-cols-2 gap-4" colon={false}>
|
<Form model={form} class="flex flex-col" colon={false}>
|
||||||
<Form.Item label="地址" name="link" class="col-span-2" labelCol={{ span: 3 }}>
|
<Form.Item label="地址" name="link" class="w-[380px]" >
|
||||||
<Input v-model:value={form.link} />
|
<Input v-model:value={form.link} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label="名称" name="name">
|
<Form.Item label="名称" name="name" class="w-[380px]">
|
||||||
<Input v-model:value={form.name} />
|
<Input v-model:value={form.name} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item name="type" label=" " class="col-span-2" labelCol={{ span: 3 }}>
|
<Form.Item label="图标" name="text">
|
||||||
|
<Input v-model:value={form.text} />
|
||||||
|
</Form.Item>
|
||||||
|
<Form.Item name="type" label=" " class="">
|
||||||
<TypeSelector
|
<TypeSelector
|
||||||
v-model:value={form.type}
|
v-model:value={form.type}
|
||||||
v-model:icon={form.icon}
|
v-model:icon={form.icon}
|
||||||
|
@ -121,9 +127,7 @@ export default defineComponent({
|
||||||
background={form.background}
|
background={form.background}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
<Form.Item label="图标文字" name="text">
|
|
||||||
<Input v-model:value={form.text} />
|
|
||||||
</Form.Item>
|
|
||||||
</Form>
|
</Form>
|
||||||
</ConfigProvider>
|
</ConfigProvider>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue