File tree Expand file tree Collapse file tree 2 files changed +31
-23
lines changed Expand file tree Collapse file tree 2 files changed +31
-23
lines changed Original file line number Diff line number Diff line change @@ -1081,10 +1081,22 @@ $mainHight: 100vh;
1081
1081
1082
1082
.transition-box {
1083
1083
overflow : hidden ;
1084
- width : 120 px ;
1084
+ width : 160 px ;
1085
1085
margin-right : 32px ;
1086
1086
text-align : center ;
1087
1087
margin-top : -12px ;
1088
+ .el-input__wrapper {
1089
+ .el-input__inner {
1090
+ height : 100% ;
1091
+ }
1092
+ box-shadow : none !important ;
1093
+ }
1094
+ .el-select .el-input .el-input__wrapper.is-focus {
1095
+ box-shadow : none !important ;
1096
+ }
1097
+ .el-select .el-input.is-focus .el-input__wrapper {
1098
+ box-shadow : none !important ;
1099
+ }
1088
1100
}
1089
1101
1090
1102
.screenfull {
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" search-component" >
3
- <transition name =" el-fade-in-linear" >
4
- <div v-show =" show" class =" transition-box" style =" display : inline-block ;" >
5
- <el-select
6
- ref =" searchInput"
7
- v-model =" value"
8
- filterable
9
- placeholder =" 请选择"
10
- @blur =" hiddenSearch"
11
- @change =" changeRouter"
12
- >
13
- <el-option
14
- v-for =" item in routerStore.routerList"
15
- :key =" item.value"
16
- :label =" item.label"
17
- :value =" item.value"
18
- />
19
- </el-select >
20
- </div >
21
- </transition >
3
+ <div v-if =" show" class =" transition-box" style =" display : inline-block ;" >
4
+ <el-select
5
+ ref =" searchInput"
6
+ v-model =" value"
7
+ filterable
8
+ placeholder =" 请选择"
9
+ @blur =" hiddenSearch"
10
+ @change =" changeRouter"
11
+ >
12
+ <el-option
13
+ v-for =" item in routerStore.routerList"
14
+ :key =" item.value"
15
+ :label =" item.label"
16
+ :value =" item.value"
17
+ />
18
+ </el-select >
19
+ </div >
22
20
<div
23
21
v-if =" btnShow"
24
22
class =" user-box"
@@ -73,9 +71,7 @@ const show = ref(false)
73
71
const btnShow = ref (true )
74
72
const hiddenSearch = () => {
75
73
show .value = false
76
- setTimeout (() => {
77
- btnShow .value = true
78
- }, 500 )
74
+ btnShow .value = true
79
75
}
80
76
81
77
const searchInput = ref (null )
You can’t perform that action at this time.
0 commit comments