bri-components 1.2.11 → 1.2.12
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/bri-components.min.js +2 -2
- package/package.json +1 -1
- package/src/components/controls/BriControlInput.vue +2 -2
- package/src/components/controls/base/DshCascader/DshCascader.vue +3 -4
- package/src/components/small/BriDrawer.vue +1 -0
- package/src/styles/components/list/BriFlatTable.less +3 -58
package/package.json
CHANGED
|
@@ -347,11 +347,10 @@
|
|
|
347
347
|
// 默认方式的 -值改变
|
|
348
348
|
changeVal (val, ...params) {
|
|
349
349
|
if (this.isVisible || !val.length) {
|
|
350
|
-
this.
|
|
350
|
+
this.value[this.controlKey] = val;
|
|
351
|
+
// 注:...params 参数不可去单独使用地区组件时调用
|
|
352
|
+
this.$emit("change", this.value[this.controlKey], ...params);
|
|
351
353
|
}
|
|
352
|
-
|
|
353
|
-
// 注:...params 参数不可去单独使用地区组件时调用
|
|
354
|
-
this.$emit("change", this.value[this.controlKey], ...params);
|
|
355
354
|
}
|
|
356
355
|
},
|
|
357
356
|
watch: {
|
|
@@ -1,64 +1,9 @@
|
|
|
1
1
|
.BriFlatTable {
|
|
2
|
-
|
|
2
|
+
.BriFlatTable-main {
|
|
3
3
|
height: auto;
|
|
4
|
-
|
|
5
|
-
.table {
|
|
6
|
-
width: 100%;
|
|
7
|
-
border-spacing: 0;
|
|
8
|
-
border-collapse: collapse;
|
|
9
|
-
border-color: #E5E5E5;
|
|
10
|
-
background-color: #fff;
|
|
11
|
-
|
|
12
|
-
&-head {
|
|
13
|
-
background-color: #f0f0f0;
|
|
14
|
-
color: #666;
|
|
15
|
-
|
|
16
|
-
&-description {
|
|
17
|
-
color: #828499;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-row {
|
|
22
|
-
height: 50px;
|
|
23
|
-
|
|
24
|
-
&:hover {
|
|
25
|
-
.table-row-td-add {
|
|
26
|
-
display: inline-block;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-td {
|
|
31
|
-
position: relative;
|
|
32
|
-
|
|
33
|
-
.td-inner {
|
|
34
|
-
&-compare {
|
|
35
|
-
width: 100%;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-tip {
|
|
40
|
-
padding: 2px 5px 0px 10px;
|
|
41
|
-
font-size: 12px;
|
|
42
|
-
line-height: 1;
|
|
43
|
-
color: #ed4014;
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: calc(100% - 18px);
|
|
46
|
-
left: 20px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&-add {
|
|
50
|
-
line-height: 20px;
|
|
51
|
-
position: absolute;
|
|
52
|
-
bottom: 0px;
|
|
53
|
-
right: 0px;
|
|
54
|
-
display: none;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
4
|
}
|
|
60
|
-
|
|
5
|
+
|
|
61
6
|
&-create {
|
|
62
7
|
margin-top: 8px;
|
|
63
8
|
}
|
|
64
|
-
}
|
|
9
|
+
}
|