update style

This commit is contained in:
Fine 2022-09-08 19:37:33 +08:00
parent 49bc349064
commit 0705aadb04
3 changed files with 17 additions and 8 deletions

View File

@ -17,14 +17,13 @@ limitations under the License. -->
<div class="search"> <div class="search">
<el-input <el-input
v-model="searchText" v-model="searchText"
placeholder="Please input endpoint name" placeholder="Search for more endpoints"
size="small"
@change="searchList" @change="searchList"
class="inputs" class="inputs"
> >
<template #append> <template #append>
<el-button size="small" @click="searchList"> <el-button @click="searchList" class="btn">
<Icon size="sm" iconName="search" /> <Icon size="middle" iconName="search" />
</el-button> </el-button>
</template> </template>
</el-input> </el-input>
@ -198,4 +197,8 @@ watch(
.inputs { .inputs {
width: 300px; width: 300px;
} }
.btn {
margin-top: -12px;
}
</style> </style>

View File

@ -18,12 +18,11 @@ limitations under the License. -->
<el-input <el-input
v-model="searchText" v-model="searchText"
placeholder="Please input instance name" placeholder="Please input instance name"
size="small"
@change="searchList" @change="searchList"
class="inputs" class="inputs"
> >
<template #append> <template #append>
<el-button size="small" @click="searchList"> <el-button class="btn" @click="searchList">
<Icon size="sm" iconName="search" /> <Icon size="sm" iconName="search" />
</el-button> </el-button>
</template> </template>
@ -255,4 +254,8 @@ watch(
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
} }
.btn {
margin-top: -12px;
}
</style> </style>

View File

@ -18,12 +18,11 @@ limitations under the License. -->
<el-input <el-input
v-model="searchText" v-model="searchText"
placeholder="Please input service name" placeholder="Please input service name"
size="small"
@change="searchList" @change="searchList"
class="inputs mt-5" class="inputs mt-5"
> >
<template #append> <template #append>
<el-button size="small" @click="searchList"> <el-button class="btn" @click="searchList">
<Icon size="sm" iconName="search" /> <Icon size="sm" iconName="search" />
</el-button> </el-button>
</template> </template>
@ -290,4 +289,8 @@ watch(
.inputs { .inputs {
width: 300px; width: 300px;
} }
.btn {
margin-top: -12px;
}
</style> </style>