perf: search input styles

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/588/head
Ryan Wang 2022-07-05 14:54:28 +08:00
parent f18951abd2
commit abe0f3787d
8 changed files with 8 additions and 8 deletions

View File

@ -398,7 +398,7 @@ onMounted(() => {
<div class="flex w-full flex-1 sm:w-auto">
<VInput
v-if="!checkAll"
class="w-full sm:w-72"
class="w-72"
placeholder="输入关键词搜索"
/>
<VSpace v-else>

View File

@ -42,7 +42,7 @@ const checkAll = ref(false);
<div class="flex w-full flex-1 sm:w-auto">
<VInput
v-if="!checkAll"
class="w-full sm:w-72"
class="w-72"
placeholder="输入关键词搜索"
/>
<VSpace v-else>

View File

@ -148,7 +148,7 @@ onMounted(() => {
<div class="flex w-full flex-1 sm:w-auto">
<VInput
v-if="!checkAll"
class="w-full sm:w-72"
class="w-72"
placeholder="输入关键词搜索"
/>
<VSpace v-else>

View File

@ -360,7 +360,7 @@ onMounted(() => {
<div class="flex w-full flex-1 sm:w-auto">
<VInput
v-if="checkedCount <= 0"
class="w-full sm:w-72"
class="w-72"
placeholder="输入关键词搜索"
/>
<VSpace v-else>

View File

@ -92,7 +92,7 @@ onMounted(handleFetchPlugins);
<div class="flex w-full flex-1 sm:w-auto">
<VInput
v-if="!checkAll"
class="w-full sm:w-72"
class="w-72"
placeholder="输入关键词搜索"
/>
<VSpace v-else>

View File

@ -74,7 +74,7 @@ onMounted(() => {
class="relative flex flex-col items-start sm:flex-row sm:items-center"
>
<div class="flex w-full flex-1 sm:w-auto">
<VInput class="w-full sm:w-72" placeholder="输入关键词搜索" />
<VInput class="w-72" placeholder="输入关键词搜索" />
</div>
<div class="mt-4 flex sm:mt-0">
<VSpace spacing="lg">

View File

@ -51,7 +51,7 @@ const handleLogin = async () => {
} catch (e) {
console.error(e);
} finally {
await router.replace({ name: "Dashboard" });
window.location.href = "/#/dashboard";
loginForm.value.logging = false;
}
};

View File

@ -86,7 +86,7 @@ onMounted(() => {
<div class="flex w-full flex-1 sm:w-auto">
<VInput
v-if="!checkAll"
class="w-full sm:w-72"
class="w-72"
placeholder="输入关键词搜索"
/>
<VSpace v-else>