[fix 87933] 一般搜索名称过长

This commit is contained in:
danshihao
2024-08-01 11:16:23 +08:00
parent a2d504ded9
commit abe77f0e93
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ module.exports = {
},
// 高级搜索
advancedSearch: {
searchType: 'Search Type',
standardNum: 'Standard number',
standardName: 'Regulation Name',
releaseDate: 'Published Date',
+1
View File
@@ -33,6 +33,7 @@ module.exports = {
},
// 高级搜索
advancedSearch: {
searchType: '搜索类型',
standardNum: '标准号',
standardName: '标准名称',
releaseDate: '发布日期',
@@ -12,7 +12,7 @@
<a-divider>{{ $t('dashboard.advancedSearch.retrieveCategories') }}</a-divider>
<div class="filter-area-div" ref="filterArea">
<a-row :gutter="24" class="filter-row">
<a-col :md="2" class="label-col"><span class="search_label">{{ $t('dashboard.advancedSearch.standardType') }}</span></a-col>
<a-col :md="2" class="label-col"><span class="search_label">{{ $t('dashboard.advancedSearch.searchType') }}</span></a-col>
<a-col :md="18" class="option-col">
<div v-for="item in standardTypeOptions" :key="item.value" class="option-div" :class="currStandardType === item.value ? 'option-curr' : ''" @click="standardTypeChange(item.value)">
{{ item.label }}
@@ -908,6 +908,7 @@ export default {
line-height: 28px;
margin-right: 20px;
max-height: calc(100% - 340px);
max-width: 50%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;