[update] 修改一般检索联调
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 4236293 */
|
font-family: "iconfont"; /* Project id 4236293 */
|
||||||
src: url('iconfont.woff2?t=1699953801277') format('woff2'),
|
src: url('iconfont.woff2?t=1700117916443') format('woff2'),
|
||||||
url('iconfont.woff?t=1699953801277') format('woff'),
|
url('iconfont.woff?t=1700117916443') format('woff'),
|
||||||
url('iconfont.ttf?t=1699953801277') format('truetype');
|
url('iconfont.ttf?t=1700117916443') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
@@ -13,6 +13,18 @@
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-settings:before {
|
||||||
|
content: "\e699";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-link:before {
|
||||||
|
content: "\e632";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-rukou:before {
|
||||||
|
content: "\e624";
|
||||||
|
}
|
||||||
|
|
||||||
.icon-Searchbar_Search_icon:before {
|
.icon-Searchbar_Search_icon:before {
|
||||||
content: "\e64a";
|
content: "\e64a";
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -5,6 +5,27 @@
|
|||||||
"css_prefix_text": "icon-",
|
"css_prefix_text": "icon-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "8106221",
|
||||||
|
"name": "settings",
|
||||||
|
"font_class": "settings",
|
||||||
|
"unicode": "e699",
|
||||||
|
"unicode_decimal": 59033
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "747955",
|
||||||
|
"name": "链接",
|
||||||
|
"font_class": "link",
|
||||||
|
"unicode": "e632",
|
||||||
|
"unicode_decimal": 58930
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "23713925",
|
||||||
|
"name": "入口",
|
||||||
|
"font_class": "rukou",
|
||||||
|
"unicode": "e624",
|
||||||
|
"unicode_decimal": 58916
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "12150232",
|
"icon_id": "12150232",
|
||||||
"name": "Search bar_Search_icon",
|
"name": "Search bar_Search_icon",
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
@@ -167,7 +167,7 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
// 设置对象key为搜索时需要传给后端的字段名,以及设置选项和字段label
|
// 设置对象key为搜索时需要传给后端的字段名,以及设置选项和字段label
|
||||||
for (const item in res.result) {
|
for (const item in res.result) {
|
||||||
if (res.result) {
|
if (res.result[item]) {
|
||||||
let label = ''
|
let label = ''
|
||||||
if (item === 'applicableVehicle') {
|
if (item === 'applicableVehicle') {
|
||||||
// 适用车辆类型
|
// 适用车辆类型
|
||||||
@@ -200,9 +200,14 @@ export default {
|
|||||||
label: label,
|
label: label,
|
||||||
current: 'all'
|
current: 'all'
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// 该字段为null,删除原本有的该字段
|
||||||
|
if (Object.keys(this.selectOptions).includes(item)) {
|
||||||
|
delete this.selectOptions[item]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.selectOptions = Object.assign({}, this.selectOptions)
|
console.log(this.selectOptions)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
this.selectOptions = {}
|
this.selectOptions = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user