@lambo-design/pro-layout 1.0.0-beta.260 → 1.0.0-beta.262
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="search-fast-con">
|
|
2
|
+
<div class="search-fast-con" :class="defaultClass">
|
|
3
3
|
<div class="search-fast-con-side" >
|
|
4
4
|
<div class="sideInput" @click="handleSideClick">
|
|
5
5
|
<Input v-if="searchType === 0" v-model="searchText" clearable placeholder="搜索菜单" font-size="8px"
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
</Input>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
|
-
<Modal v-model="searchSideModal" class="search-fast-con-side-modal"
|
|
13
|
+
<Modal v-model="searchSideModal" class="search-fast-con-side-modal" :class="defaultClass"
|
|
14
|
+
footer-hide :closable="false" :mask="false"
|
|
14
15
|
scrollable width="255px">
|
|
15
16
|
<div v-if="spinShow" style="height: 300px;font-size: 19px;">
|
|
16
17
|
<Spin size="large" :show="spinShow">
|
|
@@ -67,6 +68,19 @@ export default {
|
|
|
67
68
|
searchMenuList: []
|
|
68
69
|
}
|
|
69
70
|
},
|
|
71
|
+
computed:{
|
|
72
|
+
defaultClass(){
|
|
73
|
+
if (this.systemInfo && this.systemInfo.layoutSize) {
|
|
74
|
+
let layoutSize = this.systemInfo.layoutSize;
|
|
75
|
+
if (layoutSize == 'default') {
|
|
76
|
+
return 'large';
|
|
77
|
+
} else {
|
|
78
|
+
return '';
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return '';
|
|
82
|
+
}
|
|
83
|
+
},
|
|
70
84
|
methods:{
|
|
71
85
|
initListener(){
|
|
72
86
|
Bus.$on('menu-list',(data)=>{
|
|
@@ -158,7 +172,7 @@ export default {
|
|
|
158
172
|
.sideInput{
|
|
159
173
|
width: 240px;
|
|
160
174
|
transform: translateX(-14px);
|
|
161
|
-
/deep/.ivu-
|
|
175
|
+
/deep/.ivu-icon{
|
|
162
176
|
height: 40px;
|
|
163
177
|
line-height: 40px;
|
|
164
178
|
font-weight: 400;
|
|
@@ -171,8 +185,7 @@ export default {
|
|
|
171
185
|
font-weight: 400;
|
|
172
186
|
border: none;
|
|
173
187
|
text-align:left; /* 确保文本默认左对齐 */
|
|
174
|
-
padding-
|
|
175
|
-
padding-left: 58px;
|
|
188
|
+
padding-left: 62px;
|
|
176
189
|
&::placeholder{
|
|
177
190
|
font-size: 14px;
|
|
178
191
|
font-weight: 400;
|
|
@@ -250,6 +263,12 @@ export default {
|
|
|
250
263
|
}
|
|
251
264
|
}
|
|
252
265
|
}
|
|
266
|
+
&.large{
|
|
267
|
+
.ivu-modal {
|
|
268
|
+
margin-left : 0px;
|
|
269
|
+
margin-top : 15px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
253
272
|
}
|
|
254
273
|
|
|
255
274
|
.v-transfer-dom ::-webkit-scrollbar {
|