bri-components 1.2.37 → 1.2.39
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
|
@@ -15,18 +15,13 @@
|
|
|
15
15
|
:style="operationItem.style"
|
|
16
16
|
:class="[
|
|
17
17
|
index ? 'dsh-margin-left8' : undefined,
|
|
18
|
-
!operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
|
|
18
|
+
!operationItem.loading && !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
|
|
19
19
|
itemClass,
|
|
20
20
|
]"
|
|
21
21
|
:propsObj="operationItem"
|
|
22
22
|
@click="emit(operationItem)"
|
|
23
23
|
>
|
|
24
|
-
|
|
25
|
-
v-if="operationItem.name"
|
|
26
|
-
class="DshButtons-item-name"
|
|
27
|
-
>
|
|
28
|
-
{{ operationItem.name }}
|
|
29
|
-
</span>
|
|
24
|
+
{{ operationItem.name }}
|
|
30
25
|
</bri-button>
|
|
31
26
|
|
|
32
27
|
<!-- 更多的 下拉按钮-->
|
|
@@ -60,18 +55,13 @@
|
|
|
60
55
|
:style="operationItem.style"
|
|
61
56
|
:class="[
|
|
62
57
|
index ? 'dsh-margin-left8' : undefined,
|
|
63
|
-
!operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
|
|
58
|
+
!operationItem.loading && !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
|
|
64
59
|
itemClass,
|
|
65
60
|
]"
|
|
66
61
|
:propsObj="operationItem"
|
|
67
62
|
@click="emit(operationItem)"
|
|
68
63
|
>
|
|
69
|
-
|
|
70
|
-
v-if="operationItem.name"
|
|
71
|
-
class="DshButtons-item-name"
|
|
72
|
-
>
|
|
73
|
-
{{ operationItem.name }}
|
|
74
|
-
</span>
|
|
64
|
+
{{ operationItem.name }}
|
|
75
65
|
</bri-button>
|
|
76
66
|
</div>
|
|
77
67
|
</div>
|
|
@@ -83,19 +73,14 @@
|
|
|
83
73
|
:style="operationItem.style"
|
|
84
74
|
:class="[
|
|
85
75
|
index ? 'dsh-margin-left8' : undefined,
|
|
86
|
-
!operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
|
|
76
|
+
!operationItem.loading && !operationItem.customIcon && !operationItem.icon ? 'DshButtons-item' : undefined,
|
|
87
77
|
itemClass,
|
|
88
78
|
...(Array.isArray(operationItem.class) ? operationItem.class : [operationItem.class])
|
|
89
79
|
]"
|
|
90
80
|
:propsObj="operationItem"
|
|
91
81
|
@click="emit(operationItem)"
|
|
92
82
|
>
|
|
93
|
-
|
|
94
|
-
v-if="operationItem.name"
|
|
95
|
-
class="DshButtons-item-name"
|
|
96
|
-
>
|
|
97
|
-
{{ operationItem.name }}
|
|
98
|
-
</span>
|
|
83
|
+
{{ operationItem.name }}
|
|
99
84
|
</bri-button>
|
|
100
85
|
|
|
101
86
|
<dsh-dropdown
|
|
@@ -14,19 +14,21 @@
|
|
|
14
14
|
<slot
|
|
15
15
|
v-if="renderStatusMap[tabItem._key]"
|
|
16
16
|
:tabItem="tabItem"
|
|
17
|
-
|
|
17
|
+
>
|
|
18
|
+
<span></span>
|
|
19
|
+
</slot>
|
|
18
20
|
</TabPane>
|
|
19
21
|
|
|
20
22
|
<div
|
|
21
23
|
slot="extra"
|
|
22
|
-
class="
|
|
24
|
+
class="extra"
|
|
23
25
|
>
|
|
24
26
|
<span
|
|
25
27
|
v-for="tabItem in rightTabList"
|
|
26
28
|
:key="tabItem._key"
|
|
27
29
|
:class="{
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
+
'extra-item': true,
|
|
31
|
+
'extra-item-active': tabItem._key === curTabKey
|
|
30
32
|
}"
|
|
31
33
|
@click="curTabKey = tabItem._key"
|
|
32
34
|
>
|
|
@@ -119,7 +121,7 @@
|
|
|
119
121
|
padding-top: 20px;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
|
-
|
|
124
|
+
.extra {
|
|
123
125
|
height: 100%;
|
|
124
126
|
|
|
125
127
|
&-item {
|
|
@@ -132,16 +134,16 @@
|
|
|
132
134
|
color: @themeColor;
|
|
133
135
|
position: relative;
|
|
134
136
|
|
|
135
|
-
&::after {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
137
|
+
// &::after {
|
|
138
|
+
// content: "";
|
|
139
|
+
// width: 100%;
|
|
140
|
+
// height: 2px;
|
|
141
|
+
// position: absolute;
|
|
142
|
+
// bottom: 0px;
|
|
143
|
+
// left: 0;
|
|
144
|
+
// z-index: 1;
|
|
145
|
+
// background-color: @themeColor;
|
|
146
|
+
// }
|
|
145
147
|
}
|
|
146
148
|
}
|
|
147
149
|
}
|
|
@@ -163,7 +165,6 @@
|
|
|
163
165
|
|
|
164
166
|
.ivu-tabs-nav-container {
|
|
165
167
|
height: 100%;
|
|
166
|
-
overflow: visible;
|
|
167
168
|
|
|
168
169
|
.ivu-tabs-nav-wrap {
|
|
169
170
|
|
|
@@ -231,6 +232,7 @@
|
|
|
231
232
|
}
|
|
232
233
|
|
|
233
234
|
.ivu-tabs-nav-container {
|
|
235
|
+
overflow: visible;
|
|
234
236
|
|
|
235
237
|
.ivu-tabs-nav-wrap {
|
|
236
238
|
|
|
@@ -274,6 +276,23 @@
|
|
|
274
276
|
|
|
275
277
|
// 页面编辑版
|
|
276
278
|
&-page {
|
|
279
|
+
.extra {
|
|
280
|
+
&-item {
|
|
281
|
+
&-active {
|
|
282
|
+
&::after {
|
|
283
|
+
content: "";
|
|
284
|
+
width: 100%;
|
|
285
|
+
height: 2px;
|
|
286
|
+
position: absolute;
|
|
287
|
+
bottom: 0px;
|
|
288
|
+
left: 0;
|
|
289
|
+
z-index: 1;
|
|
290
|
+
background-color: @themeColor;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
277
296
|
.ivu-tabs {
|
|
278
297
|
|
|
279
298
|
&-bar {
|