bri-components 1.5.14 → 1.5.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.
Files changed (151) hide show
  1. package/README.md +83 -83
  2. package/lib/0.bri-components.min.js +1 -1
  3. package/lib/1.bri-components.min.js +1 -1
  4. package/lib/10.bri-components.min.js +1 -1
  5. package/lib/2.bri-components.min.js +1 -1
  6. package/lib/3.bri-components.min.js +1 -1
  7. package/lib/4.bri-components.min.js +1 -1
  8. package/lib/5.bri-components.min.js +1 -1
  9. package/lib/6.bri-components.min.js +1 -1
  10. package/lib/7.bri-components.min.js +1 -1
  11. package/lib/8.bri-components.min.js +1 -1
  12. package/lib/9.bri-components.min.js +1 -1
  13. package/lib/bri-components.min.js +4 -4
  14. package/lib/styles/bundle.css +12 -12
  15. package/lib/styles/font/fontello.svg +31 -31
  16. package/package.json +125 -125
  17. package/src/components/Error/Error403.vue +42 -42
  18. package/src/components/Error/Error404.vue +40 -40
  19. package/src/components/Error/Error500.vue +51 -51
  20. package/src/components/Error/error.less +162 -162
  21. package/src/components/Error/errorBack.vue +40 -40
  22. package/src/components/controls/DshControlInput.vue +195 -195
  23. package/src/components/controls/base/BriUpload/BriUpload.vue +434 -434
  24. package/src/components/controls/base/BriUpload/BriUploadImage.vue +377 -377
  25. package/src/components/controls/base/BriUpload/uploadList.vue +727 -727
  26. package/src/components/controls/base/BriUpload/uploadMixin.js +446 -446
  27. package/src/components/controls/base/DshCascader/DshCascader.vue +215 -215
  28. package/src/components/controls/base/DshCascader/components/cascaderModal.vue +366 -366
  29. package/src/components/controls/base/DshCascader/components/cascaderPicker.vue +416 -416
  30. package/src/components/controls/base/DshCascader/components/cascaderSimple.vue +141 -141
  31. package/src/components/controls/base/DshCascader/components/cascaderTree.vue +151 -151
  32. package/src/components/controls/base/DshCoordinates.vue +577 -577
  33. package/src/components/controls/base/DshDate/DshDate.vue +191 -191
  34. package/src/components/controls/base/DshDate/DshDaterange.vue +186 -186
  35. package/src/components/controls/base/DshDivider.vue +201 -201
  36. package/src/components/controls/base/DshEditor.vue +274 -274
  37. package/src/components/controls/base/DshInput/BriInputs.vue +166 -166
  38. package/src/components/controls/base/DshInput/DshInput.vue +260 -260
  39. package/src/components/controls/base/DshNumber/BriInputNumber/BriInputNumber.vue +435 -435
  40. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/emitter.js +34 -34
  41. package/src/components/controls/base/DshNumber/BriInputNumber/mixins/form.js +14 -14
  42. package/src/components/controls/base/DshNumber/BriInputNumber/utils/assist.js +322 -322
  43. package/src/components/controls/base/DshNumber/DshNumber.vue +143 -143
  44. package/src/components/controls/base/DshNumber/DshNumberange.vue +109 -109
  45. package/src/components/controls/base/DshSelect/DshCheckbox.vue +168 -168
  46. package/src/components/controls/base/DshSelect/DshSelect.vue +180 -180
  47. package/src/components/controls/base/DshSwitch/DshSwitch.vue +115 -115
  48. package/src/components/controls/control.less +324 -324
  49. package/src/components/controls/controlMap.js +114 -114
  50. package/src/components/controls/extra/DshColor.vue +81 -81
  51. package/src/components/controls/extra/DshThemeColor.vue +100 -100
  52. package/src/components/controls/extra/DshThemeIcon.vue +122 -122
  53. package/src/components/controls/mixins/cascaderMixin.js +325 -325
  54. package/src/components/controls/mixins/cascaderPickerMixin.js +227 -227
  55. package/src/components/controls/mixins/cascaderTableMixin.js +130 -130
  56. package/src/components/controls/mixins/controlMixin.js +393 -393
  57. package/src/components/controls/mixins/dateMixin.js +149 -149
  58. package/src/components/controls/mixins/flatTableMixin.js +111 -111
  59. package/src/components/controls/mixins/numberMixin.js +112 -112
  60. package/src/components/controls/mixins/selectMixin.js +233 -233
  61. package/src/components/controls/mixins/switchMixin.js +87 -87
  62. package/src/components/controls/mixins/userAndDepartMixin.js +260 -260
  63. package/src/components/controls/senior/DshLabels.vue +333 -333
  64. package/src/components/controls/senior/DshPackage.vue +57 -57
  65. package/src/components/controls/senior/cascaderTable.vue +213 -213
  66. package/src/components/controls/senior/flatTable.vue +138 -138
  67. package/src/components/controls/senior/selectDepartments.vue +399 -399
  68. package/src/components/controls/senior/selectUsers/departMenu.vue +293 -293
  69. package/src/components/controls/senior/selectUsers/selectUsers.vue +712 -712
  70. package/src/components/controls/special/DshBack.vue +42 -42
  71. package/src/components/controls/special/DshUndeveloped.vue +41 -41
  72. package/src/components/form/DshAdvSearch.vue +510 -510
  73. package/src/components/form/DshDefaultSearch.vue +260 -260
  74. package/src/components/form/DshForm.vue +494 -494
  75. package/src/components/form/searchMixin.js +376 -376
  76. package/src/components/list/BriCard.vue +95 -95
  77. package/src/components/list/BriTable.vue +205 -205
  78. package/src/components/list/BriTree.vue +529 -529
  79. package/src/components/list/BriTreeItem.vue +163 -163
  80. package/src/components/list/DshBox/DshBox.vue +219 -219
  81. package/src/components/list/DshBox/DshCard.vue +446 -446
  82. package/src/components/list/DshBox/DshCrossTable.vue +827 -827
  83. package/src/components/list/DshBox/DshList.vue +404 -404
  84. package/src/components/list/DshBox/DshPanel.vue +669 -669
  85. package/src/components/list/DshBox/DshSingleData.vue +119 -119
  86. package/src/components/list/DshBox/DshTable.vue +239 -239
  87. package/src/components/list/DshCascaderTable.vue +115 -115
  88. package/src/components/list/DshFlatTable.vue +337 -337
  89. package/src/components/list/DshPage.vue +194 -194
  90. package/src/components/list/DshTreeTable.vue +113 -113
  91. package/src/components/list/common/importModal.vue +243 -243
  92. package/src/components/list/common/quoteListModal.vue +206 -206
  93. package/src/components/list/mixins/DshCascaderTableMixin.js +278 -278
  94. package/src/components/list/mixins/DshFlatTableMixin.js +509 -509
  95. package/src/components/list/mixins/DshTreeTableMixin.js +286 -286
  96. package/src/components/list/mixins/tableBaseMixin.js +1653 -1653
  97. package/src/components/list/mixins/treeTableBaseMixin.js +145 -145
  98. package/src/components/other/BriAvatar.vue +166 -166
  99. package/src/components/other/BriCode.vue +125 -125
  100. package/src/components/other/BriCollapseTree.vue +207 -207
  101. package/src/components/other/BriGantt.vue +1087 -1087
  102. package/src/components/other/BriIframe.vue +116 -116
  103. package/src/components/other/BriLoading.vue +171 -171
  104. package/src/components/other/BriSvg.vue +27 -27
  105. package/src/components/other/DshColorPanel.vue +128 -128
  106. package/src/components/other/DshMenuNav.vue +188 -188
  107. package/src/components/small/BriButton.vue +71 -71
  108. package/src/components/small/BriDrawer.vue +169 -169
  109. package/src/components/small/BriTooltip.vue +87 -87
  110. package/src/components/small/DshBtnModal.vue +68 -68
  111. package/src/components/small/DshButtons.vue +324 -324
  112. package/src/components/small/DshDropdown.vue +225 -225
  113. package/src/components/small/DshIcons.vue +59 -59
  114. package/src/components/small/DshListRender.js +21 -21
  115. package/src/components/small/DshModal.vue +160 -160
  116. package/src/components/small/DshSteps.vue +141 -141
  117. package/src/components/small/DshTabs.vue +598 -598
  118. package/src/components/small/DshTabsSet.vue +309 -309
  119. package/src/components/small/DshTags.vue +251 -251
  120. package/src/components/small/DshTitle.vue +50 -50
  121. package/src/components/small/render.js +20 -20
  122. package/src/components/unit/DshFormUnit.vue +398 -398
  123. package/src/components/unit/DshListUnit.vue +115 -115
  124. package/src/components/unit/unitMixin.js +86 -86
  125. package/src/data/index.js +4 -4
  126. package/src/index.js +282 -282
  127. package/src/styles/bundle.css +12 -12
  128. package/src/styles/components/BriButton.less +307 -307
  129. package/src/styles/components/BriTable.less +344 -344
  130. package/src/styles/components/DshModal.less +257 -257
  131. package/src/styles/components/index.less +3 -3
  132. package/src/styles/global/animate.less +11 -11
  133. package/src/styles/global/base.less +45 -45
  134. package/src/styles/global/box.less +186 -186
  135. package/src/styles/global/control.less +122 -122
  136. package/src/styles/global/flex.less +282 -282
  137. package/src/styles/global/global.less +8 -8
  138. package/src/styles/global/text.less +59 -59
  139. package/src/styles/global/variables.less +85 -85
  140. package/src/styles/iconfont/iconfont.css +254 -254
  141. package/src/styles/iconfont/iconfont.json +422 -422
  142. package/src/styles/iconfont/iconfont.svg +137 -137
  143. package/src/styles/index.less +26 -26
  144. package/src/styles/reset-easytable.less +21 -21
  145. package/src/styles/reset-iview-controls.less +145 -145
  146. package/src/styles/reset-iview-other.less +49 -49
  147. package/src/styles/reset-iview-variables.less +43 -43
  148. package/src/styles/reset.less +45 -45
  149. package/src/utils/index.js +5 -5
  150. package/src/utils/table.js +175 -175
  151. package/lib/11.bri-components.min.js +0 -1
@@ -1,186 +1,186 @@
1
- // 清除浮动
2
- .dsh-clearfix {
3
- &:after {
4
- display: block;
5
- content: ".";
6
- height: 0px;
7
- clear: both;
8
- visibility: hidden;
9
- }
10
- }
11
-
12
- .dsh-margin3 {
13
- margin: 3px;
14
- }
15
- .dsh-margin5 {
16
- margin: 5px;
17
- }
18
- .dsh-margin10 {
19
- margin: 10px;
20
- }
21
- .dsh-margin20 {
22
- margin: 20px;
23
- }
24
- .dsh-margin50 {
25
- margin: 50px;
26
- }
27
- .dsh-margin100 {
28
- margin: 100px;
29
- }
30
-
31
- .dsh-margin-top5 {
32
- margin-top: 5px;
33
- }
34
- .dsh-margin-bottom5 {
35
- margin-bottom: 5px;
36
- }
37
- .dsh-margin-left5 {
38
- margin-left: 5px;
39
- }
40
- .dsh-margin-right5 {
41
- margin-right: 5px;
42
- }
43
-
44
- .dsh-margin-top8 {
45
- margin-top: 8px;
46
- }
47
- .dsh-margin-bottom8 {
48
- margin-bottom: 8px;
49
- }
50
- .dsh-margin-left8 {
51
- margin-left: 8px;
52
- }
53
- .dsh-margin-right8 {
54
- margin-right: 8px;
55
- }
56
-
57
- .dsh-margin-top10 {
58
- margin-top: 10px;
59
- }
60
- .dsh-margin-bottom10 {
61
- margin-bottom: 10px;
62
- }
63
- .dsh-margin-left10 {
64
- margin-left: 10px;
65
- }
66
- .dsh-margin-right10 {
67
- margin-right: 10px;
68
- }
69
-
70
- .dsh-margin-left12 {
71
- margin-left: 12px;
72
- }
73
- .dsh-margin-right12 {
74
- margin-right: 12px;
75
- }
76
-
77
- .dsh-margin-top20 {
78
- margin-top: 20px;
79
- }
80
- .dsh-margin-bottom20 {
81
- margin-bottom: 20px;
82
- }
83
- .dsh-margin-left20 {
84
- margin-left: 20px;
85
- }
86
- .dsh-margin-right20 {
87
- margin-right: 20px;
88
- }
89
-
90
- .dsh-margin-top50 {
91
- margin-top: 50px;
92
- }
93
- .dsh-margin-bottom50 {
94
- margin-bottom: 50px;
95
- }
96
- .dsh-margin-left50 {
97
- margin-left: 50px;
98
- }
99
- .dsh-margin-right50 {
100
- margin-right: 50px;
101
- }
102
-
103
- .dsh-margin-top100 {
104
- margin-top: 100px;
105
- }
106
- .dsh-margin-bottom100 {
107
- margin-bottom: 100px;
108
- }
109
- .dsh-margin-left100 {
110
- margin-left: 100px;
111
- }
112
- .dsh-margin-right100 {
113
- margin-right: 100px;
114
- }
115
-
116
- .dsh-padding3 {
117
- padding: 3px;
118
- }
119
- .dsh-padding5 {
120
- padding: 5px;
121
- }
122
- .dsh-padding10 {
123
- padding: 10px;
124
- }
125
- .dsh-padding15 {
126
- padding: 15px;
127
- }
128
- .dsh-padding20 {
129
- padding: 20px;
130
- }
131
- .dsh-padding24 {
132
- padding: 24px;
133
- }
134
- .dsh-padding100 {
135
- padding: 100px;
136
- }
137
-
138
- .dsh-padding-top5 {
139
- padding-top: 5px;
140
- }
141
- .dsh-padding-bottom5 {
142
- padding-bottom: 5px;
143
- }
144
- .dsh-padding-left5 {
145
- padding-left: 5px;
146
- }
147
- .dsh-padding-right5 {
148
- padding-right: 5px;
149
- }
150
- .dsh-padding-top10 {
151
- padding-top: 10px;
152
- }
153
- .dsh-padding-bottom10 {
154
- padding-bottom: 10px;
155
- }
156
- .dsh-padding-left10 {
157
- padding-left: 10px;
158
- }
159
- .dsh-padding-right10 {
160
- padding-right: 10px;
161
- }
162
- .dsh-padding-top20 {
163
- padding-top: 20px;
164
- }
165
- .dsh-padding-bottom20 {
166
- padding-bottom: 20px;
167
- }
168
- .dsh-padding-left20 {
169
- padding-left: 20px;
170
- }
171
- .dsh-padding-right20 {
172
- padding-right: 20px;
173
- }
174
- .dsh-padding-top24 {
175
- padding-top: 24px;
176
- }
177
- .dsh-padding-bottom24 {
178
- padding-bottom: 24px;
179
- }
180
- .dsh-padding-left24 {
181
- padding-left: 24px;
182
- }
183
- .dsh-padding-right24 {
184
- padding-right: 24px;
185
- }
186
-
1
+ // 清除浮动
2
+ .dsh-clearfix {
3
+ &:after {
4
+ display: block;
5
+ content: ".";
6
+ height: 0px;
7
+ clear: both;
8
+ visibility: hidden;
9
+ }
10
+ }
11
+
12
+ .dsh-margin3 {
13
+ margin: 3px;
14
+ }
15
+ .dsh-margin5 {
16
+ margin: 5px;
17
+ }
18
+ .dsh-margin10 {
19
+ margin: 10px;
20
+ }
21
+ .dsh-margin20 {
22
+ margin: 20px;
23
+ }
24
+ .dsh-margin50 {
25
+ margin: 50px;
26
+ }
27
+ .dsh-margin100 {
28
+ margin: 100px;
29
+ }
30
+
31
+ .dsh-margin-top5 {
32
+ margin-top: 5px;
33
+ }
34
+ .dsh-margin-bottom5 {
35
+ margin-bottom: 5px;
36
+ }
37
+ .dsh-margin-left5 {
38
+ margin-left: 5px;
39
+ }
40
+ .dsh-margin-right5 {
41
+ margin-right: 5px;
42
+ }
43
+
44
+ .dsh-margin-top8 {
45
+ margin-top: 8px;
46
+ }
47
+ .dsh-margin-bottom8 {
48
+ margin-bottom: 8px;
49
+ }
50
+ .dsh-margin-left8 {
51
+ margin-left: 8px;
52
+ }
53
+ .dsh-margin-right8 {
54
+ margin-right: 8px;
55
+ }
56
+
57
+ .dsh-margin-top10 {
58
+ margin-top: 10px;
59
+ }
60
+ .dsh-margin-bottom10 {
61
+ margin-bottom: 10px;
62
+ }
63
+ .dsh-margin-left10 {
64
+ margin-left: 10px;
65
+ }
66
+ .dsh-margin-right10 {
67
+ margin-right: 10px;
68
+ }
69
+
70
+ .dsh-margin-left12 {
71
+ margin-left: 12px;
72
+ }
73
+ .dsh-margin-right12 {
74
+ margin-right: 12px;
75
+ }
76
+
77
+ .dsh-margin-top20 {
78
+ margin-top: 20px;
79
+ }
80
+ .dsh-margin-bottom20 {
81
+ margin-bottom: 20px;
82
+ }
83
+ .dsh-margin-left20 {
84
+ margin-left: 20px;
85
+ }
86
+ .dsh-margin-right20 {
87
+ margin-right: 20px;
88
+ }
89
+
90
+ .dsh-margin-top50 {
91
+ margin-top: 50px;
92
+ }
93
+ .dsh-margin-bottom50 {
94
+ margin-bottom: 50px;
95
+ }
96
+ .dsh-margin-left50 {
97
+ margin-left: 50px;
98
+ }
99
+ .dsh-margin-right50 {
100
+ margin-right: 50px;
101
+ }
102
+
103
+ .dsh-margin-top100 {
104
+ margin-top: 100px;
105
+ }
106
+ .dsh-margin-bottom100 {
107
+ margin-bottom: 100px;
108
+ }
109
+ .dsh-margin-left100 {
110
+ margin-left: 100px;
111
+ }
112
+ .dsh-margin-right100 {
113
+ margin-right: 100px;
114
+ }
115
+
116
+ .dsh-padding3 {
117
+ padding: 3px;
118
+ }
119
+ .dsh-padding5 {
120
+ padding: 5px;
121
+ }
122
+ .dsh-padding10 {
123
+ padding: 10px;
124
+ }
125
+ .dsh-padding15 {
126
+ padding: 15px;
127
+ }
128
+ .dsh-padding20 {
129
+ padding: 20px;
130
+ }
131
+ .dsh-padding24 {
132
+ padding: 24px;
133
+ }
134
+ .dsh-padding100 {
135
+ padding: 100px;
136
+ }
137
+
138
+ .dsh-padding-top5 {
139
+ padding-top: 5px;
140
+ }
141
+ .dsh-padding-bottom5 {
142
+ padding-bottom: 5px;
143
+ }
144
+ .dsh-padding-left5 {
145
+ padding-left: 5px;
146
+ }
147
+ .dsh-padding-right5 {
148
+ padding-right: 5px;
149
+ }
150
+ .dsh-padding-top10 {
151
+ padding-top: 10px;
152
+ }
153
+ .dsh-padding-bottom10 {
154
+ padding-bottom: 10px;
155
+ }
156
+ .dsh-padding-left10 {
157
+ padding-left: 10px;
158
+ }
159
+ .dsh-padding-right10 {
160
+ padding-right: 10px;
161
+ }
162
+ .dsh-padding-top20 {
163
+ padding-top: 20px;
164
+ }
165
+ .dsh-padding-bottom20 {
166
+ padding-bottom: 20px;
167
+ }
168
+ .dsh-padding-left20 {
169
+ padding-left: 20px;
170
+ }
171
+ .dsh-padding-right20 {
172
+ padding-right: 20px;
173
+ }
174
+ .dsh-padding-top24 {
175
+ padding-top: 24px;
176
+ }
177
+ .dsh-padding-bottom24 {
178
+ padding-bottom: 24px;
179
+ }
180
+ .dsh-padding-left24 {
181
+ padding-left: 24px;
182
+ }
183
+ .dsh-padding-right24 {
184
+ padding-right: 24px;
185
+ }
186
+
@@ -1,123 +1,123 @@
1
- // 表单控件共用样式
2
- .bri-control-edit {
3
- border: 1px solid @borderColor;
4
- border-radius: @borderRadius;
5
- background: @inputBg;
6
- color: @textColor;
7
- cursor: pointer;
8
- }
9
-
10
- .bri-control-disabled {
11
- border: 1px solid @border-disabled;
12
- border-radius: @borderRadius;
13
- background: @inputBg-disabled;
14
- color: @textColor;
15
- cursor: not-allowed;
16
-
17
- &.bri-control-nodata {
18
- color: @placeholder-disabled-color;
19
- }
20
- }
21
-
22
- // .bri-control-readonly {
23
- // border: 1px solid @border-readonly;
24
- // border-radius: @borderRadius;
25
- // background: @inputBg-readonly;
26
- // color: @textColor-readonly;
27
- // cursor: not-allowed;
28
- // .ivu-icon {
29
- // color: @textColor-readonly;
30
- // }
31
- // }
32
- .bri-control-show {
33
- border: none;
34
- background-color: transparent;
35
- color: @textColor;
36
-
37
- .text {
38
- .dsh-ellipsis();
39
- }
40
- }
41
-
42
- // 自定义样式
43
- #custom-show () {
44
- margin: 0px;
45
- min-height: 32px;
46
- color: @textColor-readonly;
47
- border: 1px solid @border-readonly;
48
- background: @inputBg-readonly;
49
- border-radius: @borderRadius;
50
-
51
- &.bri-control-nodata {
52
- .dsh-ellipsis();
53
- }
54
- }
55
-
56
- // 带边框 frame
57
- .control-show-frame {
58
- #custom-show ();
59
- background: transparent;
60
- padding: 3px 7px;
61
- line-height: 24px;
62
-
63
- &-tag {
64
- #custom-show ();
65
- background: transparent;
66
- padding: 1px 4px;
67
-
68
- &.bri-control-nodata {
69
- padding: 3px 7px;
70
- line-height: 24px
71
- }
72
- }
73
- }
74
-
75
- // 带背景 backdrop
76
- .control-show-backdrop {
77
- #custom-show ();
78
- border: none;
79
- padding: 4px 7px;
80
- line-height: 24px;
81
-
82
- &-tag {
83
- #custom-show ();
84
- border: none;
85
- padding: 2px 4px;
86
-
87
- &.bri-control-nodata {
88
- padding: 4px 7px;
89
- line-height: 24px
90
- }
91
- }
92
- }
93
-
94
-
95
- .bri-control-unit {
96
- border: none;
97
- background-color: transparent;
98
- color: @textColor;
99
-
100
- .text {
101
- .dsh-ellipsis();
102
- }
103
-
104
- &.bri-control-nodata {
105
- line-height: 1.5;
106
- }
107
- }
108
-
109
- // 无数据
110
- .bri-control-nodata {
111
- color: @placeholderColor;
112
- }
113
-
114
- // 单元格标签式展示 -非全部类型通用
115
- .bri-unit-show () {
116
- display: inline-block;
117
- max-width: 100%;
118
- padding: 0px 6px;
119
- line-height: 24px;
120
- border-radius: @borderRadius;
121
- background-color: @theme-focus;
122
- color: @themeColor;
1
+ // 表单控件共用样式
2
+ .bri-control-edit {
3
+ border: 1px solid @borderColor;
4
+ border-radius: @borderRadius;
5
+ background: @inputBg;
6
+ color: @textColor;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .bri-control-disabled {
11
+ border: 1px solid @border-disabled;
12
+ border-radius: @borderRadius;
13
+ background: @inputBg-disabled;
14
+ color: @textColor;
15
+ cursor: not-allowed;
16
+
17
+ &.bri-control-nodata {
18
+ color: @placeholder-disabled-color;
19
+ }
20
+ }
21
+
22
+ // .bri-control-readonly {
23
+ // border: 1px solid @border-readonly;
24
+ // border-radius: @borderRadius;
25
+ // background: @inputBg-readonly;
26
+ // color: @textColor-readonly;
27
+ // cursor: not-allowed;
28
+ // .ivu-icon {
29
+ // color: @textColor-readonly;
30
+ // }
31
+ // }
32
+ .bri-control-show {
33
+ border: none;
34
+ background-color: transparent;
35
+ color: @textColor;
36
+
37
+ .text {
38
+ .dsh-ellipsis();
39
+ }
40
+ }
41
+
42
+ // 自定义样式
43
+ #custom-show () {
44
+ margin: 0px;
45
+ min-height: 32px;
46
+ color: @textColor-readonly;
47
+ border: 1px solid @border-readonly;
48
+ background: @inputBg-readonly;
49
+ border-radius: @borderRadius;
50
+
51
+ &.bri-control-nodata {
52
+ .dsh-ellipsis();
53
+ }
54
+ }
55
+
56
+ // 带边框 frame
57
+ .control-show-frame {
58
+ #custom-show ();
59
+ background: transparent;
60
+ padding: 3px 7px;
61
+ line-height: 24px;
62
+
63
+ &-tag {
64
+ #custom-show ();
65
+ background: transparent;
66
+ padding: 1px 4px;
67
+
68
+ &.bri-control-nodata {
69
+ padding: 3px 7px;
70
+ line-height: 24px
71
+ }
72
+ }
73
+ }
74
+
75
+ // 带背景 backdrop
76
+ .control-show-backdrop {
77
+ #custom-show ();
78
+ border: none;
79
+ padding: 4px 7px;
80
+ line-height: 24px;
81
+
82
+ &-tag {
83
+ #custom-show ();
84
+ border: none;
85
+ padding: 2px 4px;
86
+
87
+ &.bri-control-nodata {
88
+ padding: 4px 7px;
89
+ line-height: 24px
90
+ }
91
+ }
92
+ }
93
+
94
+
95
+ .bri-control-unit {
96
+ border: none;
97
+ background-color: transparent;
98
+ color: @textColor;
99
+
100
+ .text {
101
+ .dsh-ellipsis();
102
+ }
103
+
104
+ &.bri-control-nodata {
105
+ line-height: 1.5;
106
+ }
107
+ }
108
+
109
+ // 无数据
110
+ .bri-control-nodata {
111
+ color: @placeholderColor;
112
+ }
113
+
114
+ // 单元格标签式展示 -非全部类型通用
115
+ .bri-unit-show () {
116
+ display: inline-block;
117
+ max-width: 100%;
118
+ padding: 0px 6px;
119
+ line-height: 24px;
120
+ border-radius: @borderRadius;
121
+ background-color: @theme-focus;
122
+ color: @themeColor;
123
123
  }