bri-components 1.2.36 → 1.2.38
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": "bri-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.38",
|
|
4
4
|
"author": "dengshanghui",
|
|
5
5
|
"description": "a component lib for vue project",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"axios": "^0.23.0",
|
|
34
34
|
"ali-oss": "^6.13.1",
|
|
35
|
-
"bri-datas": "1.0.
|
|
35
|
+
"bri-datas": "^1.0.38",
|
|
36
36
|
"jshint": "^2.12.0",
|
|
37
37
|
"jsonlint": "^1.6.3",
|
|
38
38
|
"minio": "7.1.0",
|
|
@@ -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
|
|
@@ -80,4 +80,6 @@
|
|
|
80
80
|
|
|
81
81
|
// 老版本待优化
|
|
82
82
|
@resourceColor : #3D84EE,#F4A135, #32B5A5, #A3CF26, #C36625, #793CB7, #E94829,
|
|
83
|
-
#E8BB1F, #52A829, #37B653, #1DD9E6, #1457BC, #4B5CC4, #7471F7, #C434DB, #252F36;
|
|
83
|
+
#E8BB1F, #52A829, #37B653, #1DD9E6, #1457BC, #4B5CC4, #7471F7, #C434DB, #252F36;
|
|
84
|
+
|
|
85
|
+
@import "./common/index.less"; // 共用样式
|