vsyswin-ui 0.3.21 → 0.3.22
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/lib/vsyswin-ui.common.js +117 -117
- package/lib/vsyswin-ui.common.js.map +1 -1
- package/lib/vsyswin-ui.umd.js +117 -117
- package/lib/vsyswin-ui.umd.js.map +1 -1
- package/lib/vsyswin-ui.umd.min.js +13 -13
- package/lib/vsyswin-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/button-ellipsis/src/button-container.vue +4 -1
- package/packages/search-bar/src/search-bar.scss +5 -11
- package/packages/search-bar/src/search-bar.vue +4 -3
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@ export default {
|
|
|
45
45
|
const dropDown = h(
|
|
46
46
|
'el-dropdown',
|
|
47
47
|
{
|
|
48
|
-
props: { trigger: this.trigger, size: '
|
|
48
|
+
props: { trigger: this.trigger, size: 'mini', placement: 'bottom-end' }
|
|
49
49
|
},
|
|
50
50
|
[moreDiv, h('el-dropdown-menu', { slot: 'dropdown' }, moreBtns)]
|
|
51
51
|
)
|
|
@@ -82,5 +82,8 @@ export default {
|
|
|
82
82
|
&:hover{
|
|
83
83
|
background: #E6EFF8;
|
|
84
84
|
}
|
|
85
|
+
.el-icon-more{
|
|
86
|
+
color: #037AFF;
|
|
87
|
+
}
|
|
85
88
|
}
|
|
86
89
|
</style>
|
|
@@ -7,15 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
@include b(searchbar-container) {
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
// padding: 16px 0;
|
|
11
|
-
// height: 64px;
|
|
12
|
-
padding: 20px 0;
|
|
13
10
|
overflow: hidden;
|
|
14
11
|
display: flex;
|
|
15
12
|
align-items: center;
|
|
16
|
-
.el-button--small {
|
|
17
|
-
padding: 8px 15px;
|
|
18
|
-
}
|
|
19
13
|
@include e(input) {
|
|
20
14
|
float: left;
|
|
21
15
|
width: $--input-width-base;
|
|
@@ -26,7 +20,7 @@
|
|
|
26
20
|
}
|
|
27
21
|
|
|
28
22
|
@include e(filter) {
|
|
29
|
-
margin-left:
|
|
23
|
+
margin-left: 20px;
|
|
30
24
|
color: $--color-primary;
|
|
31
25
|
font-size: $--font-size-base;
|
|
32
26
|
&:hover,
|
|
@@ -48,7 +42,7 @@
|
|
|
48
42
|
padding: 0;
|
|
49
43
|
width: $--button-width-base;
|
|
50
44
|
height: $--button-height-base;
|
|
51
|
-
font-size:
|
|
45
|
+
font-size: 14px;
|
|
52
46
|
border-radius: $--button-border-radius;
|
|
53
47
|
background-color: $--button-primary-background-color;
|
|
54
48
|
-webkit-border-radius: $--button-border-radius;
|
|
@@ -64,13 +58,13 @@
|
|
|
64
58
|
padding: 0;
|
|
65
59
|
width: $--button-width-base;
|
|
66
60
|
height: $--button-height-base;
|
|
67
|
-
font-size:
|
|
61
|
+
font-size: 14px;
|
|
68
62
|
border-radius: $--button-border-radius;
|
|
69
63
|
-webkit-border-radius: $--button-border-radius;
|
|
70
64
|
-moz-border-radius: $--button-border-radius;
|
|
71
65
|
-ms-border-radius: $--button-border-radius;
|
|
72
66
|
-o-border-radius: $--button-border-radius;
|
|
73
|
-
|
|
67
|
+
|
|
74
68
|
&:hover {
|
|
75
69
|
color: #606266 !important;
|
|
76
70
|
border-color: #dcdfe6 !important;
|
|
@@ -80,7 +74,7 @@
|
|
|
80
74
|
|
|
81
75
|
@include e(listBtns) {
|
|
82
76
|
position: absolute;
|
|
83
|
-
right:
|
|
77
|
+
right: 0;
|
|
84
78
|
.el-button--text {
|
|
85
79
|
color: $--color-primary;
|
|
86
80
|
}
|
|
@@ -9,16 +9,17 @@
|
|
|
9
9
|
<slot slot="prepend" name="prepend"></slot>
|
|
10
10
|
<slot slot="suffix" name="suffix"></slot>
|
|
11
11
|
</el-input>
|
|
12
|
-
<el-button v-if="showFilter" type="text" size="
|
|
12
|
+
<el-button v-if="showFilter" type="text" size="mini" class="syswin-searchbar-container__filter" @click="handleToggleFilterList">
|
|
13
13
|
{{ shrinkFilterList ? '收起筛选' : '更多筛选' }}
|
|
14
14
|
<i class="el-icon-caret-bottom" :class="{ 'is-rotate-180': shrinkFilterList }"></i>
|
|
15
15
|
</el-button>
|
|
16
|
-
<el-button type="primary" size="
|
|
16
|
+
<el-button type="primary" size="mini" class="syswin-searchbar-container__search" :class="{ 'is-margin-left-16': !showFilter }" @click="handleSearch()">
|
|
17
17
|
{{ searchButtonText }}
|
|
18
18
|
</el-button>
|
|
19
|
-
<el-button v-if="showFilter" size="
|
|
19
|
+
<el-button v-if="showFilter" size="mini" class="syswin-searchbar-container__reset" @click="handleReset">
|
|
20
20
|
{{ resetButtonText }}
|
|
21
21
|
</el-button>
|
|
22
|
+
<slot name="behind"></slot>
|
|
22
23
|
<div class="syswin-searchbar-container__listBtns">
|
|
23
24
|
<slot name="listBtns"></slot>
|
|
24
25
|
</div>
|