🐞 fix:修复搜索工具栏中el-input、el-select、el-date-picker宽度

This commit is contained in:
preschooler
2024-08-20 11:44:51 +08:00
parent dea9ef8cd1
commit d3dc508171
25 changed files with 58 additions and 28 deletions

View File

@ -71,7 +71,7 @@
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
class="!w-220px"
class="!w-240px"
/>
</el-form-item>
<el-form-item>

View File

@ -9,6 +9,7 @@
placeholder="请输入要搜索的内容"
:suffix-icon="Search"
@keyup.enter="handleQuery"
class="!w-240px"
/>
<div class="gallery">
<!-- TODO @fan这个图片的风格要不和 ImageCard.vue 界面一致只有卡片没有操作因为看着更有相框的感觉~~~ -->
@ -66,8 +67,8 @@ onMounted(async () => {
</script>
<style scoped lang="scss">
.square-container {
background-color: #fff;
padding: 20px;
background-color: #fff;
.gallery {
display: grid;
@ -75,21 +76,21 @@ onMounted(async () => {
gap: 10px;
//max-width: 1000px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}
.gallery-item {
position: relative;
overflow: hidden;
background: #f0f0f0;
cursor: pointer;
background: #f0f0f0;
transition: transform 0.3s;
}
.gallery-item img {
display: block;
width: 100%;
height: auto;
display: block;
transition: transform 0.3s;
}

View File

@ -40,7 +40,7 @@
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
class="!w-220px"
class="!w-240px"
/>
</el-form-item>
<el-form-item>

View File

@ -70,7 +70,7 @@
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]"
class="!w-220px"
class="!w-240px"
/>
</el-form-item>
<el-form-item label="是否发布" prop="publicStatus">

View File

@ -39,7 +39,12 @@
</el-select>
</el-form-item>
<el-form-item label="平台" prop="platform">
<el-select v-model="queryParams.platform" placeholder="请选择平台" clearable class="!w-240px">
<el-select
v-model="queryParams.platform"
placeholder="请选择平台"
clearable
class="!w-240px"
>
<el-option
v-for="dict in getStrDictOptions(DICT_TYPE.AI_PLATFORM)"
:key="dict.value"
@ -143,7 +148,7 @@
<el-table-column label="错误信息" align="center" prop="errorMessage" />
<el-table-column label="操作" align="center">
<template #default="scope">
<!-- TODO @YunaiV 目前没有修改接口写作要可以更改吗-->
<!-- TODO @YunaiV 目前没有修改接口写作要可以更改吗-->
<el-button
link
type="primary"