doway-coms 1.5.7 → 1.5.9

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 (74) hide show
  1. package/.browserslistrc +2 -2
  2. package/README.md +28 -28
  3. package/dist/css/chunk-vendors.7f83d8f9.css +8 -0
  4. package/dist/css/index.7946d50b.css +1 -0
  5. package/dist/favicon.ico +0 -0
  6. package/dist/js/chunk-vendors.28fda91d.js +340 -0
  7. package/dist/js/index.49bc6add.js +2 -0
  8. package/lib/doway-coms.common.js +120397 -0
  9. package/lib/doway-coms.css +1 -0
  10. package/lib/doway-coms.umd.js +120407 -0
  11. package/lib/doway-coms.umd.min.js +328 -0
  12. package/package.json +52 -52
  13. package/packages/BaseButton/index.js +7 -7
  14. package/packages/BaseButton/src/index.vue +241 -241
  15. package/packages/BaseCheckbox/index.js +7 -7
  16. package/packages/BaseCheckbox/src/index.vue +134 -134
  17. package/packages/BaseDate/index.js +7 -7
  18. package/packages/BaseDate/src/index.vue +197 -197
  19. package/packages/BaseDateWeek/index.js +7 -7
  20. package/packages/BaseDateWeek/src/index.vue +163 -163
  21. package/packages/BaseDatetime/index.js +7 -7
  22. package/packages/BaseDatetime/src/index.vue +196 -196
  23. package/packages/BaseForm/index.js +7 -7
  24. package/packages/BaseForm/src/index.vue +664 -664
  25. package/packages/BaseGantt/index.js +9 -9
  26. package/packages/BaseGantt/src/index.vue +604 -604
  27. package/packages/BaseGrid/index.js +9 -9
  28. package/packages/BaseGrid/src/index.vue +2700 -2690
  29. package/packages/BaseGridAdjust/index.js +9 -9
  30. package/packages/BaseGridAdjust/src/index.vue +455 -455
  31. package/packages/BaseInput/index.js +7 -7
  32. package/packages/BaseInput/src/index.vue +164 -164
  33. package/packages/BaseIntervalInput/index.js +7 -7
  34. package/packages/BaseIntervalInput/src/index.vue +310 -310
  35. package/packages/BaseKanbanEmpty/index.js +7 -7
  36. package/packages/BaseKanbanEmpty/src/index.vue +176 -176
  37. package/packages/BaseNumberInput/index.js +7 -7
  38. package/packages/BaseNumberInput/src/index.vue +229 -229
  39. package/packages/BasePagination/index.js +7 -7
  40. package/packages/BasePagination/src/index.vue +91 -91
  41. package/packages/BasePictureCard/index.js +7 -7
  42. package/packages/BasePictureCard/src/index.vue +561 -561
  43. package/packages/BasePrintPreview/index.js +7 -7
  44. package/packages/BasePrintPreview/src/index.vue +117 -117
  45. package/packages/BasePulldown/index.js +7 -7
  46. package/packages/BasePulldown/src/index.vue +867 -867
  47. package/packages/BaseSearch/index.js +7 -7
  48. package/packages/BaseSearch/src/index.vue +935 -935
  49. package/packages/BaseSelect/index.js +7 -7
  50. package/packages/BaseSelect/src/index.vue +153 -153
  51. package/packages/BaseSelectMulti/index.js +7 -7
  52. package/packages/BaseSelectMulti/src/index.vue +148 -148
  53. package/packages/BaseTextArea/index.js +7 -7
  54. package/packages/BaseTextArea/src/index.vue +178 -178
  55. package/packages/BaseTime/index.js +7 -7
  56. package/packages/BaseTime/src/index.vue +166 -166
  57. package/packages/BaseTool/index.js +7 -7
  58. package/packages/BaseTool/src/index.vue +349 -349
  59. package/packages/BaseToolStatus/index.js +7 -7
  60. package/packages/BaseToolStatus/src/index.vue +383 -383
  61. package/packages/index.js +165 -165
  62. package/packages/styles/default.less +80 -80
  63. package/packages/utils/api.js +45 -45
  64. package/packages/utils/auth.js +38 -38
  65. package/packages/utils/common.js +583 -583
  66. package/packages/utils/dom.js +181 -181
  67. package/packages/utils/enum.js +83 -83
  68. package/packages/utils/filters.js +458 -458
  69. package/packages/utils/gridFormat.js +52 -52
  70. package/packages/utils/msg.js +16 -16
  71. package/packages/utils/patchFiles.js +44 -44
  72. package/packages/utils/request.js +169 -169
  73. package/packages/utils/store.js +254 -257
  74. package/vue.config.js +59 -59
@@ -1,384 +1,384 @@
1
- <template>
2
- <div class="status-bar">
3
- <div class="status-bar-btns">
4
- <a-button
5
- class="status-bar-btn"
6
- size="small"
7
- :type="btn.isPrimary === true ? 'primary' : 'default'"
8
- v-show="btn.visible === true"
9
- :loading="btn.isLoading"
10
- @click="btnClick(btn)"
11
- v-for="btn in internalBtns"
12
- :key="btn.code"
13
- >{{ btn.caption }}</a-button
14
- >
15
- </div>
16
- <div class="status-bar-status">
17
- <div class="el-status-btn-wrapper">
18
- <div
19
- v-for="(status, index) in statuss"
20
- :key="index"
21
- style="display:inline-block"
22
- >
23
- <a-button
24
- v-if="!status.notButton"
25
- class="status-primary"
26
- :class="
27
- status.value === formRow.status
28
- ? 'current-status'
29
- : 'inactive-status'
30
- "
31
- type="text"
32
- >
33
- {{ status.caption }}</a-button
34
- >
35
- <div
36
- v-else
37
- class="progressBar"
38
- :class="
39
- formRow.value == 'progress' ? 'progressBar' : 'progressBarStop'
40
- "
41
- >
42
- <div class="inProgressBar" :style="{ width: status.progress }">
43
- <div class="text">
44
- {{ status.progress }}
45
- </div>
46
- </div>
47
- </div>
48
- </div>
49
- </div>
50
- </div>
51
- </div>
52
- </template>
53
-
54
- <script>
55
- import { Button } from 'ant-design-vue'
56
- export default {
57
- name: 'BaseToolStatus',
58
- components:{
59
- 'a-button': Button
60
- },
61
- data() {
62
- return {
63
- internalWorkFlowBtns: [],
64
- internalBtns: [],
65
- internalStatuss: [],
66
- internalFormRow: {}
67
- }
68
- },
69
- props: {
70
- workFlowBtns: {
71
- type: Array,
72
- default: () => {
73
- return []
74
- }
75
- },
76
- actionData: {
77
- type: Object,
78
- default: () => {
79
- return {}
80
- },
81
- deep: true
82
- },
83
- objectName: {
84
- // 对象信息
85
- type: String,
86
- default: 'artRout'
87
- },
88
- formRow: {
89
- type: Object,
90
- default: function() {
91
- return {}
92
- }
93
- },
94
- btns: {
95
- // 按钮
96
- type: Array,
97
- default: function() {
98
- return []
99
- }
100
- },
101
- statuss: {
102
- // 状态栏
103
- type: Array,
104
- default: function() {
105
- return []
106
- }
107
- }
108
- },
109
- watch: {
110
- workFlowBtns: {
111
- handler: function(newVal) {
112
- this.internalWorkFlowBtns = newVal
113
- },
114
- deep: true
115
- },
116
- btns: {
117
- handler: function(newVal) {
118
- this.internalBtns = newVal
119
- },
120
- deep: true
121
- }
122
- },
123
- created() {
124
- this.internalWorkFlowBtns = this.workFlowBtns
125
- this.internalBtns = this.btns
126
- },
127
- methods: {
128
- btnClick(btn) {
129
- this.$emit(btn.code, btn)
130
- }
131
- }
132
- }
133
- </script>
134
- <style lang="scss" scoped>
135
- .progressBarStop {
136
- background-color: #fafafa;
137
- width: 90px;
138
- height: 32px;
139
- margin-bottom: -12px !important;
140
- .inProgressBar {
141
- background: 0;
142
- }
143
- }
144
- .progressBar {
145
- position: relative;
146
- background-color: #fafafa;
147
- width: 90px;
148
- height: 32px;
149
- margin-bottom: -12px !important;
150
- }
151
- .progressBar:after {
152
- content: "";
153
- position: absolute;
154
- top: 0;
155
- right: 0;
156
- background-color: #ccc;
157
- width: 1px;
158
- height: 32px;
159
- }
160
- .inProgressBar {
161
- width: 90px;
162
- height: 32px;
163
- background: -webkit-repeating-linear-gradient(
164
- 30deg,
165
- #83a7cf 0,
166
- #83a7cf 10px,
167
- #93b3d6 10px,
168
- #93b3d6 20px
169
- );
170
- -webkit-animation: move 5s linear infinite;
171
- }
172
- .text {
173
- position: absolute;
174
- top: 20%;
175
- left: 40%;
176
- color: black;
177
- font-size: 14px;
178
- }
179
- @-webkit-keyframes move {
180
- 0% {
181
- background-position: 0 0;
182
- }
183
- 100% {
184
- background-position: -200px 0;
185
- }
186
- }
187
- //所在状态状态提示样式
188
- .current-status {
189
- color: #010101 !important;
190
- font-weight: bold;
191
- background-color: #ffc56b !important;
192
- }
193
- //所在状态状态指向提示样式
194
- .current-status::before {
195
- content: " ";
196
- display: block;
197
- position: absolute;
198
- top: 0px;
199
- left: auto;
200
- bottom: auto;
201
- right: -12px;
202
- border-top: 16px solid transparent;
203
- border-bottom: 18px solid transparent;
204
- border-right: none;
205
- border-left: 11px solid #ffc56b !important;
206
- z-index: 10;
207
- }
208
- //所在状态状态指向提示样式
209
- .current-status::after {
210
- content: " ";
211
- display: block;
212
- position: absolute;
213
- top: 0px;
214
- left: auto;
215
- bottom: auto;
216
- right: -11px;
217
- border-left: 11px solid #ffc56b !important;
218
- border-top: 16px solid transparent;
219
- border-bottom: 18px solid transparent;
220
- border-right: none;
221
- z-index: 11;
222
- }
223
- //未使用的状态提示样式
224
- .inactive-status {
225
- background-color: #f9f9f9;
226
- }
227
- //未使用的状态指向提示样式
228
- .inactive-status::before {
229
- content: " ";
230
- display: block;
231
- position: absolute;
232
- top: 0px;
233
- left: auto;
234
- bottom: auto;
235
- right: -12px;
236
- border-top: 16px solid transparent;
237
- border-bottom: 18px solid transparent;
238
- border-right: none;
239
- border-left: 11px solid #ccc !important;
240
- z-index: 10;
241
- }
242
- //未使用的状态指向提示样式
243
- .inactive-status::after {
244
- content: " ";
245
- display: block;
246
- position: absolute;
247
- top: 0px;
248
- left: auto;
249
- bottom: auto;
250
- right: -11px;
251
- border-left: 11px solid #f9f9f9 !important;
252
- border-top: 16px solid transparent;
253
- border-bottom: 18px solid transparent;
254
- border-right: none;
255
- z-index: 11;
256
- }
257
- //状态条样式
258
- .status-bar {
259
- display: flex;
260
- justify-content: space-between;
261
- border-bottom: 1px solid #ccc;
262
- border-top: 1px solid #ccc;
263
- // padding-top: 1px;
264
-
265
- padding-left: 8px;
266
- // padding-bottom: 1px;
267
- // border-left: none;
268
- //状态栏高度
269
- .status-bar-btns {
270
- line-height: 30px;
271
- float: left;
272
- margin-left: 10px;
273
- //状态工作按钮样式
274
- .status-bar-btn {
275
- // margin-top: 1px;
276
- // border-radius: 3px;
277
- // height: 28px;
278
- // font-size: 12px;
279
- // padding: 5px 10px;
280
- margin-right: 8px;
281
- }
282
- //状态工作按钮样式
283
- .btn-primary {
284
- color: #efefef;
285
- background-color: #219bff;
286
- cursor: pointer;
287
- // margin-top: 1px;
288
- }
289
- }
290
- //状态提示按钮样式
291
- .status-bar-status {
292
- overflow: hidden;
293
- .el-status-btn-wrapper {
294
- overflow: visible;
295
- border-left: 1px solid #ccc;
296
- // border-bottom: 1px solid #ccc;
297
- .el-status-btn {
298
- margin-left: 0px !important;
299
- color: #000;
300
- padding-left: 20px;
301
- padding-right: 20px;
302
- position: relative;
303
- padding-left: 22px;
304
- cursor: default;
305
- font-size: 11px;
306
- background-color: #fff;
307
- }
308
- .el-status-btn::before {
309
- content: " ";
310
- display: block;
311
- position: absolute;
312
- top: 0px;
313
- left: auto;
314
- bottom: auto;
315
- right: -12px;
316
- border-top: 16px solid transparent;
317
- border-bottom: 18px solid transparent;
318
- border-right: none;
319
- border-left: 11px solid #ccc !important;
320
- z-index: 10;
321
- }
322
- .el-status-btn::after {
323
- content: " ";
324
- display: block;
325
- position: absolute;
326
- top: 0px;
327
- left: auto;
328
- bottom: auto;
329
- right: -11px;
330
- border-left: 11px solid white !important;
331
- border-top: 16px solid transparent;
332
- border-bottom: 18px solid transparent;
333
- border-right: none;
334
- z-index: 11;
335
- }
336
- .status-primary {
337
- color: #0b0b0b;
338
- font-size: 12px;
339
- border-radius: 0;
340
- background-color: #fafafa;
341
- margin-left: 0px !important;
342
- padding-left: 20px;
343
- padding-right: 20px;
344
- position: relative;
345
- padding-left: 22px;
346
- cursor: default;
347
- }
348
- .status-primary::before {
349
- content: " ";
350
- display: block;
351
- position: absolute;
352
- top: 0px;
353
- left: auto;
354
- bottom: auto;
355
- right: -12px;
356
- border-top: 16px solid transparent;
357
- border-bottom: 18px solid transparent;
358
- border-right: none;
359
- border-left: 11px solid #ccc;
360
- z-index: 10;
361
- }
362
-
363
- .status-primary::after {
364
- content: " ";
365
- display: block;
366
- position: absolute;
367
- top: 0px;
368
- left: auto;
369
- bottom: auto;
370
- right: -11px;
371
- border-left: 11px solid #f9f9f9;
372
- border-top: 16px solid transparent;
373
- border-bottom: 18px solid transparent;
374
- border-right: none;
375
- z-index: 11;
376
- }
377
- }
378
- }
379
- }
380
- </style>
381
- <style lang="less">
382
- @import '../../styles/default.less';
383
- </style>
1
+ <template>
2
+ <div class="status-bar">
3
+ <div class="status-bar-btns">
4
+ <a-button
5
+ class="status-bar-btn"
6
+ size="small"
7
+ :type="btn.isPrimary === true ? 'primary' : 'default'"
8
+ v-show="btn.visible === true"
9
+ :loading="btn.isLoading"
10
+ @click="btnClick(btn)"
11
+ v-for="btn in internalBtns"
12
+ :key="btn.code"
13
+ >{{ btn.caption }}</a-button
14
+ >
15
+ </div>
16
+ <div class="status-bar-status">
17
+ <div class="el-status-btn-wrapper">
18
+ <div
19
+ v-for="(status, index) in statuss"
20
+ :key="index"
21
+ style="display:inline-block"
22
+ >
23
+ <a-button
24
+ v-if="!status.notButton"
25
+ class="status-primary"
26
+ :class="
27
+ status.value === formRow.status
28
+ ? 'current-status'
29
+ : 'inactive-status'
30
+ "
31
+ type="text"
32
+ >
33
+ {{ status.caption }}</a-button
34
+ >
35
+ <div
36
+ v-else
37
+ class="progressBar"
38
+ :class="
39
+ formRow.value == 'progress' ? 'progressBar' : 'progressBarStop'
40
+ "
41
+ >
42
+ <div class="inProgressBar" :style="{ width: status.progress }">
43
+ <div class="text">
44
+ {{ status.progress }}
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </template>
53
+
54
+ <script>
55
+ import { Button } from 'ant-design-vue'
56
+ export default {
57
+ name: 'BaseToolStatus',
58
+ components:{
59
+ 'a-button': Button
60
+ },
61
+ data() {
62
+ return {
63
+ internalWorkFlowBtns: [],
64
+ internalBtns: [],
65
+ internalStatuss: [],
66
+ internalFormRow: {}
67
+ }
68
+ },
69
+ props: {
70
+ workFlowBtns: {
71
+ type: Array,
72
+ default: () => {
73
+ return []
74
+ }
75
+ },
76
+ actionData: {
77
+ type: Object,
78
+ default: () => {
79
+ return {}
80
+ },
81
+ deep: true
82
+ },
83
+ objectName: {
84
+ // 对象信息
85
+ type: String,
86
+ default: 'artRout'
87
+ },
88
+ formRow: {
89
+ type: Object,
90
+ default: function() {
91
+ return {}
92
+ }
93
+ },
94
+ btns: {
95
+ // 按钮
96
+ type: Array,
97
+ default: function() {
98
+ return []
99
+ }
100
+ },
101
+ statuss: {
102
+ // 状态栏
103
+ type: Array,
104
+ default: function() {
105
+ return []
106
+ }
107
+ }
108
+ },
109
+ watch: {
110
+ workFlowBtns: {
111
+ handler: function(newVal) {
112
+ this.internalWorkFlowBtns = newVal
113
+ },
114
+ deep: true
115
+ },
116
+ btns: {
117
+ handler: function(newVal) {
118
+ this.internalBtns = newVal
119
+ },
120
+ deep: true
121
+ }
122
+ },
123
+ created() {
124
+ this.internalWorkFlowBtns = this.workFlowBtns
125
+ this.internalBtns = this.btns
126
+ },
127
+ methods: {
128
+ btnClick(btn) {
129
+ this.$emit(btn.code, btn)
130
+ }
131
+ }
132
+ }
133
+ </script>
134
+ <style lang="scss" scoped>
135
+ .progressBarStop {
136
+ background-color: #fafafa;
137
+ width: 90px;
138
+ height: 32px;
139
+ margin-bottom: -12px !important;
140
+ .inProgressBar {
141
+ background: 0;
142
+ }
143
+ }
144
+ .progressBar {
145
+ position: relative;
146
+ background-color: #fafafa;
147
+ width: 90px;
148
+ height: 32px;
149
+ margin-bottom: -12px !important;
150
+ }
151
+ .progressBar:after {
152
+ content: "";
153
+ position: absolute;
154
+ top: 0;
155
+ right: 0;
156
+ background-color: #ccc;
157
+ width: 1px;
158
+ height: 32px;
159
+ }
160
+ .inProgressBar {
161
+ width: 90px;
162
+ height: 32px;
163
+ background: -webkit-repeating-linear-gradient(
164
+ 30deg,
165
+ #83a7cf 0,
166
+ #83a7cf 10px,
167
+ #93b3d6 10px,
168
+ #93b3d6 20px
169
+ );
170
+ -webkit-animation: move 5s linear infinite;
171
+ }
172
+ .text {
173
+ position: absolute;
174
+ top: 20%;
175
+ left: 40%;
176
+ color: black;
177
+ font-size: 14px;
178
+ }
179
+ @-webkit-keyframes move {
180
+ 0% {
181
+ background-position: 0 0;
182
+ }
183
+ 100% {
184
+ background-position: -200px 0;
185
+ }
186
+ }
187
+ //所在状态状态提示样式
188
+ .current-status {
189
+ color: #010101 !important;
190
+ font-weight: bold;
191
+ background-color: #ffc56b !important;
192
+ }
193
+ //所在状态状态指向提示样式
194
+ .current-status::before {
195
+ content: " ";
196
+ display: block;
197
+ position: absolute;
198
+ top: 0px;
199
+ left: auto;
200
+ bottom: auto;
201
+ right: -12px;
202
+ border-top: 16px solid transparent;
203
+ border-bottom: 18px solid transparent;
204
+ border-right: none;
205
+ border-left: 11px solid #ffc56b !important;
206
+ z-index: 10;
207
+ }
208
+ //所在状态状态指向提示样式
209
+ .current-status::after {
210
+ content: " ";
211
+ display: block;
212
+ position: absolute;
213
+ top: 0px;
214
+ left: auto;
215
+ bottom: auto;
216
+ right: -11px;
217
+ border-left: 11px solid #ffc56b !important;
218
+ border-top: 16px solid transparent;
219
+ border-bottom: 18px solid transparent;
220
+ border-right: none;
221
+ z-index: 11;
222
+ }
223
+ //未使用的状态提示样式
224
+ .inactive-status {
225
+ background-color: #f9f9f9;
226
+ }
227
+ //未使用的状态指向提示样式
228
+ .inactive-status::before {
229
+ content: " ";
230
+ display: block;
231
+ position: absolute;
232
+ top: 0px;
233
+ left: auto;
234
+ bottom: auto;
235
+ right: -12px;
236
+ border-top: 16px solid transparent;
237
+ border-bottom: 18px solid transparent;
238
+ border-right: none;
239
+ border-left: 11px solid #ccc !important;
240
+ z-index: 10;
241
+ }
242
+ //未使用的状态指向提示样式
243
+ .inactive-status::after {
244
+ content: " ";
245
+ display: block;
246
+ position: absolute;
247
+ top: 0px;
248
+ left: auto;
249
+ bottom: auto;
250
+ right: -11px;
251
+ border-left: 11px solid #f9f9f9 !important;
252
+ border-top: 16px solid transparent;
253
+ border-bottom: 18px solid transparent;
254
+ border-right: none;
255
+ z-index: 11;
256
+ }
257
+ //状态条样式
258
+ .status-bar {
259
+ display: flex;
260
+ justify-content: space-between;
261
+ border-bottom: 1px solid #ccc;
262
+ border-top: 1px solid #ccc;
263
+ // padding-top: 1px;
264
+
265
+ padding-left: 8px;
266
+ // padding-bottom: 1px;
267
+ // border-left: none;
268
+ //状态栏高度
269
+ .status-bar-btns {
270
+ line-height: 30px;
271
+ float: left;
272
+ margin-left: 10px;
273
+ //状态工作按钮样式
274
+ .status-bar-btn {
275
+ // margin-top: 1px;
276
+ // border-radius: 3px;
277
+ // height: 28px;
278
+ // font-size: 12px;
279
+ // padding: 5px 10px;
280
+ margin-right: 8px;
281
+ }
282
+ //状态工作按钮样式
283
+ .btn-primary {
284
+ color: #efefef;
285
+ background-color: #219bff;
286
+ cursor: pointer;
287
+ // margin-top: 1px;
288
+ }
289
+ }
290
+ //状态提示按钮样式
291
+ .status-bar-status {
292
+ overflow: hidden;
293
+ .el-status-btn-wrapper {
294
+ overflow: visible;
295
+ border-left: 1px solid #ccc;
296
+ // border-bottom: 1px solid #ccc;
297
+ .el-status-btn {
298
+ margin-left: 0px !important;
299
+ color: #000;
300
+ padding-left: 20px;
301
+ padding-right: 20px;
302
+ position: relative;
303
+ padding-left: 22px;
304
+ cursor: default;
305
+ font-size: 11px;
306
+ background-color: #fff;
307
+ }
308
+ .el-status-btn::before {
309
+ content: " ";
310
+ display: block;
311
+ position: absolute;
312
+ top: 0px;
313
+ left: auto;
314
+ bottom: auto;
315
+ right: -12px;
316
+ border-top: 16px solid transparent;
317
+ border-bottom: 18px solid transparent;
318
+ border-right: none;
319
+ border-left: 11px solid #ccc !important;
320
+ z-index: 10;
321
+ }
322
+ .el-status-btn::after {
323
+ content: " ";
324
+ display: block;
325
+ position: absolute;
326
+ top: 0px;
327
+ left: auto;
328
+ bottom: auto;
329
+ right: -11px;
330
+ border-left: 11px solid white !important;
331
+ border-top: 16px solid transparent;
332
+ border-bottom: 18px solid transparent;
333
+ border-right: none;
334
+ z-index: 11;
335
+ }
336
+ .status-primary {
337
+ color: #0b0b0b;
338
+ font-size: 12px;
339
+ border-radius: 0;
340
+ background-color: #fafafa;
341
+ margin-left: 0px !important;
342
+ padding-left: 20px;
343
+ padding-right: 20px;
344
+ position: relative;
345
+ padding-left: 22px;
346
+ cursor: default;
347
+ }
348
+ .status-primary::before {
349
+ content: " ";
350
+ display: block;
351
+ position: absolute;
352
+ top: 0px;
353
+ left: auto;
354
+ bottom: auto;
355
+ right: -12px;
356
+ border-top: 16px solid transparent;
357
+ border-bottom: 18px solid transparent;
358
+ border-right: none;
359
+ border-left: 11px solid #ccc;
360
+ z-index: 10;
361
+ }
362
+
363
+ .status-primary::after {
364
+ content: " ";
365
+ display: block;
366
+ position: absolute;
367
+ top: 0px;
368
+ left: auto;
369
+ bottom: auto;
370
+ right: -11px;
371
+ border-left: 11px solid #f9f9f9;
372
+ border-top: 16px solid transparent;
373
+ border-bottom: 18px solid transparent;
374
+ border-right: none;
375
+ z-index: 11;
376
+ }
377
+ }
378
+ }
379
+ }
380
+ </style>
381
+ <style lang="less">
382
+ @import '../../styles/default.less';
383
+ </style>
384
384