@lambo-design/pro-layout 1.0.0-beta.261 → 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)=>{
|
|
@@ -249,6 +263,12 @@ export default {
|
|
|
249
263
|
}
|
|
250
264
|
}
|
|
251
265
|
}
|
|
266
|
+
&.large{
|
|
267
|
+
.ivu-modal {
|
|
268
|
+
margin-left : 0px;
|
|
269
|
+
margin-top : 15px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
252
272
|
}
|
|
253
273
|
|
|
254
274
|
.v-transfer-dom ::-webkit-scrollbar {
|