bri-components 1.2.13 → 1.2.15
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/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/4.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +11 -11
- package/package.json +2 -2
- package/src/components/controls/base/BriUpload/uploadMixin.js +16 -1
- package/src/components/controls/base/DshCheckbox.vue +0 -1
- package/src/components/controls/base/DshSelect.vue +0 -1
- package/src/components/controls/senior/cascaderTable.vue +16 -10
- package/src/components/controls/senior/flatTable.vue +17 -12
- package/src/components/list/BriTable.vue +5 -7
- package/src/components/list/DshBox/DshTable.vue +5 -4
- package/src/components/unit/DshFormItem.vue +3 -1
- package/src/index.js +20 -34
- package/src/styles/common/text.less +1 -2
- package/src/styles/components/controls/base/DshCascader/DshCascader.less +7 -12
- package/src/styles/components/controls/base/DshCheckbox.less +3 -8
- package/src/styles/components/controls/base/DshSelect.less +102 -104
- package/src/styles/components/index.less +12 -13
- package/src/styles/components/list/BriTable.less +10 -4
- package/src/styles/components/list/DshBox/DshTable.less +9 -1
- package/src/styles/components/small/DshButtons.less +2 -9
- package/src/utils/table.js +4 -3
- /package/src/{styles/components/small → abolish}/DshCrumbItem.less +0 -0
- /package/src/{styles/components/small → abolish}/DshCrumbs.less +0 -0
- /package/src/{components/small → abolish}/DshCrumbs.vue +0 -0
- /package/src/{components/small → abolish}/DshCrumbsItem.vue +0 -0
- /package/src/{styles/components/other → abolish}/DshEditPanel.less +0 -0
- /package/src/{components/other → abolish}/DshEditPanel.vue +0 -0
- /package/src/{styles/components/other → abolish}/DshMenu.less +0 -0
- /package/src/{components/other → abolish}/DshMenu.vue +0 -0
- /package/src/components/{other → small}/DshBtnModal.vue +0 -0
- /package/src/styles/components/{other → small}/DshBtnModal.less +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bri-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15",
|
|
4
4
|
"author": "dengshanghui",
|
|
5
5
|
"description": "a component lib for vue project",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"jshint": "^2.12.0",
|
|
37
37
|
"minio": "^7.0.26",
|
|
38
38
|
"stream": "^0.0.2",
|
|
39
|
-
"view-design": "4.6.0",
|
|
39
|
+
"view-design": "^4.6.0",
|
|
40
40
|
"viewerjs": "^1.10.2",
|
|
41
41
|
"vue-codemirror": "^4.0.6",
|
|
42
42
|
"vue-cropperjs": "^4.1.0",
|
|
@@ -144,7 +144,22 @@ export default {
|
|
|
144
144
|
callbackBodyType: "application/json",
|
|
145
145
|
callbackBody: this.transferCallBody(callbackBody)
|
|
146
146
|
};
|
|
147
|
-
|
|
147
|
+
|
|
148
|
+
let newOss = {
|
|
149
|
+
...res.ossConfig,
|
|
150
|
+
refreshSTSToken: async () => {
|
|
151
|
+
// 向您搭建的STS服务获取临时访问凭证。
|
|
152
|
+
return {
|
|
153
|
+
accessKeyId: res.ossConfig.accessKeyId, // 自己账户的accessKeyId或临时秘钥
|
|
154
|
+
accessKeySecret: res.ossConfig.accessKeySecret, // 自己账户的accessKeySecret或临时秘钥
|
|
155
|
+
stsToken: res.ossConfig.stsToken // 从STS服务获取的安全令牌(SecurityToken)。
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
// 刷新临时访问凭证的时间间隔,单位为毫秒。
|
|
159
|
+
refreshSTSTokenInterval: 3600 * 1000
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
new Oss(newOss).multipartUpload(remoteName, file, {
|
|
148
163
|
progress: (percentage) => {
|
|
149
164
|
this.inProgress(Number((percentage * 100).toFixed(0)));
|
|
150
165
|
this.handleProgress && this.handleProgress(percentage, file);
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
v-if="isUnitShow"
|
|
6
6
|
class="cascaderTable-unit"
|
|
7
7
|
>
|
|
8
|
-
<dsh-icons :list="$getOperationList(['
|
|
8
|
+
<dsh-icons :list="$getOperationList(['canLink'])"></dsh-icons>
|
|
9
9
|
<span class="cascaderTable-unit-text">
|
|
10
|
-
{{
|
|
10
|
+
{{ curVal && curVal.tree.length }}行
|
|
11
11
|
</span>
|
|
12
12
|
</span>
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
:canEdit="finalCanEdit"
|
|
19
19
|
:treeColumns="treeColumns"
|
|
20
20
|
:subColumns="subColumns"
|
|
21
|
-
:data="
|
|
21
|
+
:data="curVal"
|
|
22
22
|
:propsObj="propsObj"
|
|
23
23
|
@change="change"
|
|
24
24
|
></dsh-cascader-table>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
:canEdit="finalCanEdit"
|
|
40
40
|
:treeColumns="treeColumns"
|
|
41
41
|
:subColumns="subColumns"
|
|
42
|
-
:data="
|
|
42
|
+
:data="curVal"
|
|
43
43
|
:propsObj="propsObj"
|
|
44
44
|
@change="change"
|
|
45
45
|
></dsh-cascader-table>
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
:propsObj="modalPropsObj"
|
|
52
52
|
>
|
|
53
53
|
<dsh-cascader-table
|
|
54
|
-
v-if="
|
|
54
|
+
v-if="curVal && isEnlarge"
|
|
55
55
|
useCol
|
|
56
56
|
:canEdit="finalCanEdit"
|
|
57
57
|
:treeColumns="treeColumns"
|
|
58
58
|
:subColumns="subColumns"
|
|
59
|
-
:data="
|
|
59
|
+
:data="curVal"
|
|
60
60
|
:propsObj="propsObj"
|
|
61
61
|
@change="change"
|
|
62
62
|
></dsh-cascader-table>
|
|
@@ -68,13 +68,18 @@
|
|
|
68
68
|
|
|
69
69
|
<script>
|
|
70
70
|
import controlMixin from "../controlMixin.js";
|
|
71
|
+
import DshBtnModal from "../../small/DshBtnModal.vue";
|
|
72
|
+
import DshCascaderTable from "../../list/DshCascaderTable.vue";
|
|
71
73
|
|
|
72
74
|
export default {
|
|
73
75
|
name: "cascaderTable",
|
|
74
76
|
mixins: [
|
|
75
77
|
controlMixin
|
|
76
78
|
],
|
|
77
|
-
components: {
|
|
79
|
+
components: {
|
|
80
|
+
DshBtnModal,
|
|
81
|
+
DshCascaderTable
|
|
82
|
+
},
|
|
78
83
|
props: {},
|
|
79
84
|
data () {
|
|
80
85
|
return {
|
|
@@ -97,16 +102,17 @@
|
|
|
97
102
|
btnType: "text",
|
|
98
103
|
event: "clickEnlarge"
|
|
99
104
|
},
|
|
100
|
-
|
|
105
|
+
canLink: {
|
|
101
106
|
customIcon: "bico-Cascadetable"
|
|
102
107
|
}
|
|
103
108
|
}
|
|
104
109
|
};
|
|
105
110
|
},
|
|
106
111
|
computed: {
|
|
112
|
+
// 用户态的每条数据的表头配置,都是存的自己的,不用通用配置_treeForm的
|
|
107
113
|
treeColumns () {
|
|
108
|
-
return this.
|
|
109
|
-
? this.
|
|
114
|
+
return this.curVal && this.curVal._treeForm
|
|
115
|
+
? this.curVal._treeForm
|
|
110
116
|
: this.propsObj._treeForm;
|
|
111
117
|
},
|
|
112
118
|
subColumns () {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
customIcon: 'bico-internaltable'
|
|
10
10
|
}]"></dsh-icons>
|
|
11
11
|
<span class="flatTable-unit-text">
|
|
12
|
-
{{
|
|
12
|
+
{{ curVal.list.length }}行
|
|
13
13
|
</span>
|
|
14
14
|
</span>
|
|
15
15
|
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
<bri-flat-table
|
|
20
20
|
:canEdit="finalCanEdit"
|
|
21
21
|
:columns="columns"
|
|
22
|
-
:data="
|
|
23
|
-
:rowDefault="
|
|
22
|
+
:data="curVal.list"
|
|
23
|
+
:rowDefault="curVal.rowDefault"
|
|
24
24
|
:outObj="value"
|
|
25
25
|
:propsObj="propsObj"
|
|
26
26
|
@change="change"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
ref="dshFatTable"
|
|
42
42
|
:canEdit="finalCanEdit"
|
|
43
43
|
:columns="columns"
|
|
44
|
-
:data="
|
|
45
|
-
:oldData="
|
|
46
|
-
:rowDefault="
|
|
44
|
+
:data="curVal.list"
|
|
45
|
+
:oldData="curVal.oldList"
|
|
46
|
+
:rowDefault="curVal.rowDefault"
|
|
47
47
|
:outObj="value"
|
|
48
48
|
:propsObj="propsObj"
|
|
49
49
|
@change="change"
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
:propsObj="modalPropsObj"
|
|
57
57
|
>
|
|
58
58
|
<bri-flat-table
|
|
59
|
-
v-if="
|
|
59
|
+
v-if="isEnlarge"
|
|
60
60
|
:canEdit="finalCanEdit"
|
|
61
61
|
:columns="columns"
|
|
62
|
-
:data="
|
|
63
|
-
:oldData="
|
|
64
|
-
:rowDefault="
|
|
62
|
+
:data="curVal.list"
|
|
63
|
+
:oldData="curVal.oldList"
|
|
64
|
+
:rowDefault="curVal.rowDefault"
|
|
65
65
|
:outObj="value"
|
|
66
66
|
:propsObj="propsObj"
|
|
67
67
|
@change="change"
|
|
@@ -74,13 +74,18 @@
|
|
|
74
74
|
|
|
75
75
|
<script>
|
|
76
76
|
import controlMixin from "../controlMixin.js";
|
|
77
|
+
import DshBtnModal from "../../small/DshBtnModal.vue";
|
|
78
|
+
import BriFlatTable from "../../list/BriFlatTable.vue";
|
|
77
79
|
|
|
78
80
|
export default {
|
|
79
81
|
name: "flatTable",
|
|
80
82
|
mixins: [
|
|
81
83
|
controlMixin
|
|
82
84
|
],
|
|
83
|
-
components: {
|
|
85
|
+
components: {
|
|
86
|
+
DshBtnModal,
|
|
87
|
+
BriFlatTable
|
|
88
|
+
},
|
|
84
89
|
props: {},
|
|
85
90
|
data () {
|
|
86
91
|
return {
|
|
@@ -99,7 +104,7 @@
|
|
|
99
104
|
};
|
|
100
105
|
},
|
|
101
106
|
computed: {
|
|
102
|
-
|
|
107
|
+
curVal () {
|
|
103
108
|
// TODO: 待定处理
|
|
104
109
|
return this.value[this.controlKey] || {
|
|
105
110
|
list: [],
|
|
@@ -34,14 +34,11 @@
|
|
|
34
34
|
></ve-table>
|
|
35
35
|
|
|
36
36
|
<!-- loading -->
|
|
37
|
-
<bri-loading
|
|
38
|
-
<!-- empty -->
|
|
39
|
-
<div
|
|
40
|
-
v-else-if="!data.length"
|
|
37
|
+
<bri-loading
|
|
41
38
|
class="bri-table-empty"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
:value="isLoading ? 1 : data.length? 0 : 2"
|
|
40
|
+
:noText="noDataText"
|
|
41
|
+
/>
|
|
45
42
|
</div>
|
|
46
43
|
</template>
|
|
47
44
|
|
|
@@ -75,6 +72,7 @@
|
|
|
75
72
|
rowKeyFieldName: "_id",
|
|
76
73
|
scrollWidth: "0",
|
|
77
74
|
borderY: true,
|
|
75
|
+
fixedHeader: true,
|
|
78
76
|
cellSelectionOption: {
|
|
79
77
|
enable: false
|
|
80
78
|
},
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
.split("/")
|
|
67
67
|
.map(item => item.length * (operationItem.size === "small" ? 12 : 14))
|
|
68
68
|
) + (
|
|
69
|
-
operationItem.icon || operationItem.customIcon ?
|
|
70
|
-
|
|
69
|
+
operationItem.icon || operationItem.customIcon ? 25 : 0
|
|
70
|
+
);
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
return this.operationList.map(operationItem => {
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
// 漏在外部按钮的宽度
|
|
127
127
|
this.selfOperationList
|
|
128
128
|
.slice(0, this.selfOperationList.length > maxBtnNum ? maxBtnNum - 1 : this.selfOperationList.length)
|
|
129
|
-
.reduce((total, operationItem) => total + operationItem.width, 0) +
|
|
130
|
-
(this.selfOperationList.length > maxBtnNum ?
|
|
129
|
+
.reduce((total, operationItem) => total + operationItem.width + 16, 0) +
|
|
130
|
+
(this.selfOperationList.length > maxBtnNum ? 69 : 0) + // 出现更多按钮的宽度
|
|
131
131
|
(this.selfOperationList.length > 0 ? 40 : 0) + // 操作列的padding
|
|
132
132
|
4 // 留出4px空间,避免麻烦问题
|
|
133
133
|
, 80
|
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
// TODO: 注意此处totalOperationList用的一定是表格行显示最多的操作按钮数组,有改动注意看此备注!!!
|
|
148
148
|
return h("dsh-buttons", {
|
|
149
149
|
props: {
|
|
150
|
+
class: "table-operation",
|
|
150
151
|
list: totalOperationList,
|
|
151
152
|
maxFlatNum: maxBtnNum - 1,
|
|
152
153
|
itemClass: "table-operation-btn"
|
package/src/index.js
CHANGED
|
@@ -11,11 +11,10 @@ import CN from "vue-easytable/libs/locale/lang/zh-CN.js";
|
|
|
11
11
|
import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
12
12
|
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
13
13
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
14
|
-
|
|
15
|
-
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
16
14
|
import BriTable from "./components/list/BriTable.vue";
|
|
17
|
-
import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
18
15
|
import DshPage from "./components/list/DshPage.vue";
|
|
16
|
+
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
17
|
+
// import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
19
18
|
|
|
20
19
|
// form
|
|
21
20
|
import DshForm from "./components/form/DshForm.vue";
|
|
@@ -34,22 +33,15 @@ import DshCheckbox from "./components/controls/base/DshCheckbox.vue";
|
|
|
34
33
|
import DshCascader from "./components/controls/base/DshCascader/DshCascader.vue";
|
|
35
34
|
|
|
36
35
|
// other
|
|
37
|
-
import BriCode from "./components/other/BriCode.vue";
|
|
38
36
|
import BriLoading from "./components/other/BriLoading.vue";
|
|
37
|
+
import BriSvg from "./components/other/BriSvg.vue";
|
|
39
38
|
import DshAvatar from "./components/other/DshAvatar.vue";
|
|
40
|
-
import DshBtnModal from "./components/other/DshBtnModal.vue";
|
|
41
|
-
import DshColorPanel from "./components/other/DshColorPanel.vue";
|
|
42
|
-
import DshEditPanel from "./components/other/DshEditPanel.vue";
|
|
43
|
-
import DshMenu from "./components/other/DshMenu.vue";
|
|
44
|
-
import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
45
39
|
|
|
46
40
|
// small
|
|
47
41
|
import BriButton from "./components/small/BriButton.vue";
|
|
48
42
|
import BriDrawer from "./components/small/BriDrawer.vue";
|
|
49
43
|
import BriTooltip from "./components/small/BriTooltip.vue";
|
|
50
44
|
import DshButtons from "./components/small/DshButtons.vue";
|
|
51
|
-
import DshCrumbs from "./components/small/DshCrumbs.vue";
|
|
52
|
-
import DshCrumbsItem from "./components/small/DshCrumbsItem.vue";
|
|
53
45
|
import DshDropdown from "./components/small/DshDropdown.vue";
|
|
54
46
|
import DshIcons from "./components/small/DshIcons.vue";
|
|
55
47
|
import DshModal from "./components/small/DshModal.vue";
|
|
@@ -91,9 +83,15 @@ import DshBack from "./components/controls/special/DshBack.vue";
|
|
|
91
83
|
import DshUndeveloped from "./components/controls/special/DshUndeveloped.vue";
|
|
92
84
|
|
|
93
85
|
// other
|
|
86
|
+
import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
87
|
+
import BriCode from "./components/other/BriCode.vue";
|
|
94
88
|
import BriCollapseTree from "./components/other/BriCollapseTree.vue";
|
|
95
89
|
import BriGantt from "./components/other/BriGantt.vue";
|
|
96
90
|
import BriIframe from "./components/other/BriIframe.vue";
|
|
91
|
+
import DshColorPanel from "./components/other/DshColorPanel.vue";
|
|
92
|
+
|
|
93
|
+
// small
|
|
94
|
+
import DshBtnModal from "./components/small/DshBtnModal.vue";
|
|
97
95
|
|
|
98
96
|
// !!!!!!挂载全局的组件,不是别写在这
|
|
99
97
|
const map = {
|
|
@@ -104,10 +102,7 @@ const map = {
|
|
|
104
102
|
DshBox,
|
|
105
103
|
DshTable,
|
|
106
104
|
DshList,
|
|
107
|
-
|
|
108
|
-
BriFlatTable, // 可取消全局
|
|
109
105
|
BriTable,
|
|
110
|
-
DshCascaderTable, // 可取消全局
|
|
111
106
|
DshPage,
|
|
112
107
|
|
|
113
108
|
// form
|
|
@@ -129,19 +124,12 @@ const map = {
|
|
|
129
124
|
// other
|
|
130
125
|
BriLoading,
|
|
131
126
|
DshAvatar,
|
|
132
|
-
DshBtnModal,
|
|
133
|
-
DshEditPanel,
|
|
134
|
-
DshColorPanel,
|
|
135
|
-
DshMenu,
|
|
136
|
-
DshMenuNav,
|
|
137
127
|
|
|
138
128
|
// small
|
|
139
129
|
BriButton,
|
|
140
130
|
BriDrawer,
|
|
141
131
|
BriTooltip,
|
|
142
132
|
DshButtons,
|
|
143
|
-
DshCrumbs,
|
|
144
|
-
DshCrumbsItem,
|
|
145
133
|
DshDropdown,
|
|
146
134
|
DshIcons,
|
|
147
135
|
DshModal,
|
|
@@ -193,14 +181,14 @@ export {
|
|
|
193
181
|
DshBox,
|
|
194
182
|
DshTable,
|
|
195
183
|
DshList,
|
|
184
|
+
BriTable,
|
|
185
|
+
DshPage,
|
|
186
|
+
BriFlatTable,
|
|
187
|
+
// DshCascaderTable,
|
|
196
188
|
|
|
197
189
|
BriCard,
|
|
198
|
-
BriFlatTable,
|
|
199
|
-
BriTable,
|
|
200
190
|
BriTree,
|
|
201
191
|
BriTreeItem,
|
|
202
|
-
DshCascaderTable,
|
|
203
|
-
DshPage,
|
|
204
192
|
|
|
205
193
|
// form
|
|
206
194
|
DshForm,
|
|
@@ -234,26 +222,22 @@ export {
|
|
|
234
222
|
selectDepartments,
|
|
235
223
|
|
|
236
224
|
// other
|
|
237
|
-
BriCode,
|
|
238
225
|
BriLoading,
|
|
226
|
+
BriSvg,
|
|
239
227
|
DshAvatar,
|
|
240
|
-
DshBtnModal,
|
|
241
|
-
DshColorPanel,
|
|
242
|
-
DshEditPanel,
|
|
243
|
-
DshMenu,
|
|
244
|
-
DshMenuNav,
|
|
245
228
|
|
|
229
|
+
DshMenuNav,
|
|
230
|
+
BriCode,
|
|
246
231
|
BriCollapseTree,
|
|
247
232
|
BriGantt,
|
|
248
233
|
BriIframe,
|
|
234
|
+
DshColorPanel,
|
|
249
235
|
|
|
250
236
|
// small
|
|
251
237
|
BriButton,
|
|
252
238
|
BriDrawer,
|
|
253
239
|
DshButtons,
|
|
254
240
|
BriTooltip,
|
|
255
|
-
DshCrumbs,
|
|
256
|
-
DshCrumbsItem,
|
|
257
241
|
DshDropdown,
|
|
258
242
|
DshIcons,
|
|
259
243
|
DshModal,
|
|
@@ -262,5 +246,7 @@ export {
|
|
|
262
246
|
DshTags,
|
|
263
247
|
DshTitle,
|
|
264
248
|
DshRender,
|
|
265
|
-
DshTdRender
|
|
249
|
+
DshTdRender,
|
|
250
|
+
|
|
251
|
+
DshBtnModal
|
|
266
252
|
};
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
width: 100%;
|
|
3
3
|
|
|
4
4
|
&-edit {
|
|
5
|
+
|
|
5
6
|
// 多选
|
|
6
7
|
&-multiple {
|
|
7
8
|
width: 100%;
|
|
8
|
-
|
|
9
|
-
&-edit {
|
|
10
9
|
|
|
11
|
-
}
|
|
10
|
+
&-edit {}
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
// 单选 -新模式
|
|
15
14
|
&-custom {
|
|
16
15
|
width: 100%;
|
|
17
16
|
}
|
|
17
|
+
|
|
18
18
|
// 单选 -默认模式
|
|
19
19
|
&-single {
|
|
20
20
|
width: 100%;
|
|
@@ -23,22 +23,18 @@
|
|
|
23
23
|
|
|
24
24
|
// 查看
|
|
25
25
|
&-show {
|
|
26
|
-
&-multiple {
|
|
27
|
-
|
|
28
|
-
}
|
|
26
|
+
&-multiple {}
|
|
29
27
|
|
|
30
|
-
&-single {
|
|
31
|
-
|
|
32
|
-
}
|
|
28
|
+
&-single {}
|
|
33
29
|
}
|
|
34
30
|
|
|
35
31
|
// 多选类型且独自一行时
|
|
36
32
|
&-row {
|
|
37
|
-
&-edit {
|
|
33
|
+
&-edit {}
|
|
38
34
|
|
|
39
|
-
}
|
|
40
35
|
&-show {
|
|
41
36
|
height: auto;
|
|
37
|
+
|
|
42
38
|
.text,
|
|
43
39
|
.overflow {
|
|
44
40
|
width: 100%;
|
|
@@ -66,7 +62,6 @@
|
|
|
66
62
|
.ivu-cascader-menu {
|
|
67
63
|
max-height: 400px;
|
|
68
64
|
height: auto;
|
|
69
|
-
max-width: 300px;
|
|
70
65
|
}
|
|
71
66
|
}
|
|
72
67
|
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
&-color {
|
|
13
13
|
.ivu-checkbox-border {
|
|
14
|
-
margin-bottom: 5px;
|
|
15
14
|
margin-right: 16px;
|
|
16
15
|
height: 32px;
|
|
17
16
|
border: none;
|
|
@@ -75,19 +74,15 @@
|
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
76
|
|
|
78
|
-
&-item {
|
|
77
|
+
&-item {}
|
|
79
78
|
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&-show {
|
|
83
|
-
|
|
84
|
-
}
|
|
79
|
+
&-show {}
|
|
85
80
|
|
|
86
81
|
.ivu-select-multiple {
|
|
87
82
|
.ivu-select-selection {
|
|
88
83
|
height: 32px;
|
|
89
84
|
.dsh-flex-row-between-center();
|
|
90
|
-
|
|
85
|
+
|
|
91
86
|
& > div {
|
|
92
87
|
width: 100%;
|
|
93
88
|
height: 100%;
|