fix: login modal size

This commit is contained in:
汪少伟
2025-03-19 13:58:34 +08:00
parent 1ab0cf3767
commit 2953efb0f9
2 changed files with 9 additions and 9 deletions

View File

@@ -48,13 +48,7 @@
</div>
</template>
</d-input>
<d-dropdown-menu
v-model="isOpen"
:origin="searchInput?.$el"
close-scope="'blank'"
:offset="offset"
:clickOutside="closeOutside"
>
<d-dropdown-menu v-model="isOpen" :origin="searchInput?.$el" :offset="offset">
<div class="advanced-search-menu" :style="{ width: dropdownWidth + 'px' }">
<AdvanceSearch @submit="submit($event)" @cancel="isOpen = false" class="p-20" :layout="'vertical'">
<template #title>
@@ -128,6 +122,7 @@ const industryOptions = ref(['通信', '军工', '金融', '能源']);
const searchType = ref('软件');
const searchOptions = ref(['软件']);
const offset = ref({ mainAxis: 7, crossAxis: -10 });
const isKeepOpen = ref(true);
const isOpen = ref(false);
const rotate = ref(0);
const cateRotate = ref(0);