@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,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/pro-layout",
3
- "version": "1.0.0-beta.260",
3
+ "version": "1.0.0-beta.262",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -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" footer-hide :closable="false" :mask="false"
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-input-prefix{
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-right: 99px;
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 {
@@ -115,7 +115,6 @@ export default {
115
115
  originMenuList:[],
116
116
  menuList: [],
117
117
  appId: '',
118
- primaryColor: '#ff0000',
119
118
  collapsed: false,
120
119
  accordion: true,
121
120
  activeName: '',