bri-components 1.2.2 → 1.2.4

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 (40) hide show
  1. package/lib/0.bri-components.min.js +1 -1
  2. package/lib/1.bri-components.min.js +1 -1
  3. package/lib/2.bri-components.min.js +1 -1
  4. package/lib/3.bri-components.min.js +1 -1
  5. package/lib/4.bri-components.min.js +1 -1
  6. package/lib/5.bri-components.min.js +1 -1
  7. package/lib/6.bri-components.min.js +1 -1
  8. package/lib/7.bri-components.min.js +1 -1
  9. package/lib/8.bri-components.min.js +1 -1
  10. package/lib/9.bri-components.min.js +1 -1
  11. package/lib/bri-components.min.js +6 -6
  12. package/package.json +1 -1
  13. package/src/abolish/DshCascaders.vue +3 -0
  14. package/src/abolish/DshTexts.vue +3 -0
  15. package/src/components/controls/base/BriUpload/BriUploadImage.vue +1 -1
  16. package/src/components/controls/base/BriUpload/uploadMixin.js +16 -3
  17. package/src/components/controls/base/DshCascader/DshCascader.vue +24 -12
  18. package/src/components/controls/base/DshCheckbox.vue +5 -8
  19. package/src/components/controls/base/DshCoordinates.vue +6 -6
  20. package/src/components/controls/base/DshDaterange.vue +2 -2
  21. package/src/components/controls/controlMixin.js +9 -0
  22. package/src/components/controls/senior/BriLabels.vue +99 -94
  23. package/src/components/controls/senior/selectDepartments.vue +18 -12
  24. package/src/components/controls/senior/selectUsers/selectUsers.vue +32 -43
  25. package/src/components/list/BriTreeItem.vue +2 -2
  26. package/src/components/list/DshBox/DshPanel.vue +6 -6
  27. package/src/components/small/BriDrawer.vue +1 -1
  28. package/src/components/small/DshDropdown.vue +1 -0
  29. package/src/components/small/DshModal.vue +1 -1
  30. package/src/components/small/DshTags.vue +28 -26
  31. package/src/styles/common/control.less +23 -19
  32. package/src/styles/components/controls/base/DshCascader/DshCascader.less +5 -8
  33. package/src/styles/components/controls/base/DshCheckbox.less +16 -25
  34. package/src/styles/components/controls/senior/BriLabels.less +1 -1
  35. package/src/styles/components/controls/senior/selectDepartments.less +1 -1
  36. package/src/styles/components/controls/senior/selectUsers/selectUsers.less +1 -1
  37. package/src/styles/components/list/DshBox/DshPanel.less +2 -2
  38. package/src/styles/components/small/DshDropdown.less +6 -5
  39. package/src/styles/components/small/DshTags.less +1 -1
  40. package/src/styles/variables.less +2 -1
@@ -17,32 +17,37 @@
17
17
  @mouseleave="isHover = false"
18
18
  @click="clickInput"
19
19
  >
20
+ <!-- 有值 -->
20
21
  <template v-if="!$isEmptyData(curValList)">
21
22
  <dsh-tags
22
23
  class="text"
23
24
  :list="curValList"
24
25
  :propsObj="{
25
- disabled: !finalCanEdit
26
+ disabled: !finalCanEdit,
27
+ closable: true
26
28
  }"
27
29
  @delete="clickDeleteItem"
28
30
  ></dsh-tags>
31
+ </template>
32
+ <!-- 无值 -->
33
+ <template v-else>
34
+ {{ emptyShowVal }}
35
+ </template>
29
36
 
37
+ <!-- 图标 -->
38
+ <template>
30
39
  <Icon
31
- v-if="selfPropsObj._clearable && isHover"
40
+ v-if="!$isEmptyData(curValList) && selfPropsObj._clearable && isHover"
32
41
  class="icon-close"
33
- type="md-close"
42
+ type="ios-close-circle"
34
43
  @click.stop="clickClear"
35
44
  />
36
45
  <Icon
37
46
  v-else
38
47
  class="icon-default"
39
- :type="`${multiple ? 'ios-people' : 'ios-person'}`"
48
+ :type="inputIcon"
40
49
  />
41
50
  </template>
42
-
43
- <template v-else>
44
- {{ emptyShowVal }}
45
- </template>
46
51
  </div>
47
52
 
48
53
  <!-- 查看模式 -->
@@ -57,9 +62,6 @@
57
62
  v-if="!$isEmptyData(curValList)"
58
63
  class="text"
59
64
  :list="curValList"
60
- :propsObj="{
61
- closable: false
62
- }"
63
65
  ></dsh-tags>
64
66
 
65
67
  <template v-else>
@@ -93,7 +95,7 @@
93
95
  </span>
94
96
  <Icon
95
97
  class="item-delete"
96
- type="md-close"
98
+ type="ios-close-circle"
97
99
  @click="deleteSelect(selectItem, selectIndex, newValList)"
98
100
  />
99
101
  </span>
@@ -246,6 +248,10 @@
246
248
  highSearch () {
247
249
  return this.selfPropsObj._highSearch;
248
250
  },
251
+ inputIcon () {
252
+ return this.multiple ? "ios-people" : "ios-person";
253
+ },
254
+
249
255
  // 暂时没配置
250
256
  isCascader () {
251
257
  return this.selfPropsObj._isCascader;
@@ -17,32 +17,37 @@
17
17
  @mouseleave="isHover = false"
18
18
  @click="clickInput"
19
19
  >
20
+ <!-- 有值 -->
20
21
  <template v-if="!$isEmptyData(curValList)">
21
22
  <dsh-tags
22
23
  class="text"
23
24
  :list="curValList"
24
25
  :propsObj="{
25
- disabled: !finalCanEdit
26
+ disabled: !finalCanEdit,
27
+ closable: true
26
28
  }"
27
29
  @delete="clickDeleteItem"
28
30
  ></dsh-tags>
31
+ </template>
32
+ <!-- 无值 -->
33
+ <template v-else>
34
+ {{ emptyShowVal }}
35
+ </template>
29
36
 
37
+ <!-- 图标 -->
38
+ <template>
30
39
  <Icon
31
- v-if="selfPropsObj._clearable && isHover"
40
+ v-if="!$isEmptyData(curValList) && selfPropsObj._clearable && isHover"
32
41
  class="icon-close"
33
- type="md-close"
42
+ type="ios-close-circle"
34
43
  @click.stop="clickClear"
35
44
  />
36
45
  <Icon
37
46
  v-else
38
47
  class="icon-default"
39
- :type="`${multiple ? 'ios-people' : 'ios-person'}`"
48
+ :type="inputIcon"
40
49
  />
41
50
  </template>
42
-
43
- <template v-else>
44
- {{ emptyShowVal }}
45
- </template>
46
51
  </div>
47
52
 
48
53
  <!-- 查看 -->
@@ -57,9 +62,6 @@
57
62
  v-if="!$isEmptyData(curValList)"
58
63
  class="text"
59
64
  :list="curValList"
60
- :propsObj="{
61
- closable: false
62
- }"
63
65
  ></dsh-tags>
64
66
 
65
67
  <template v-else>
@@ -121,9 +123,7 @@
121
123
  :indeterminate="false"
122
124
  :value="curCheckAll"
123
125
  @click.prevent.native="clickCheckAll"
124
- >
125
- 全选
126
- </Checkbox>
126
+ >全选</Checkbox>
127
127
  </div>
128
128
 
129
129
  <!-- 下 列表-->
@@ -182,7 +182,7 @@
182
182
  </span>
183
183
  <Icon
184
184
  class="list-item-delete"
185
- type="md-close"
185
+ type="ios-close-circle"
186
186
  @click="clickDeleteUserItem(userItem, userIndex, newValList)"
187
187
  />
188
188
  </span>
@@ -193,7 +193,7 @@
193
193
  <!-- footer -->
194
194
  <div class="selectUsers-modal-wrap-footer">
195
195
  <dsh-buttons
196
- :list="$getOperationList(['cancel', 'confirm'])"
196
+ :list="$getOperationList(['canCancel', 'canConfirm'])"
197
197
  @click="$dispatchEvent($event)"
198
198
  ></dsh-buttons>
199
199
  </div>
@@ -261,16 +261,16 @@
261
261
  },
262
262
 
263
263
  operationMap: {
264
- cancel: {
264
+ canCancel: {
265
265
  name: "取消",
266
- type: "clickCancel",
266
+ type: "canCancel",
267
267
  btnType: "cancel",
268
268
  event: "clickCancel"
269
269
  },
270
- confirm: {
270
+ canConfirm: {
271
271
  name: "完成",
272
+ type: "canConfirm",
272
273
  btnType: "primary",
273
- type: "clickConfirm",
274
274
  event: "clickConfirm"
275
275
  }
276
276
  }
@@ -293,19 +293,14 @@
293
293
  highSearch () {
294
294
  return this.selfPropsObj._highSearch;
295
295
  },
296
- // 审签单定制需求使用字段
297
- transmit_type () {
298
- return this.selfPropsObj.transmit_type;
299
- },
300
- current_step_sp_user_key () {
301
- return this.selfPropsObj.current_step_sp_user_key;
302
- },
303
- stepKey () {
304
- return this.selfPropsObj.stepKey;
296
+ inputIcon () {
297
+ return this.multiple ? "ios-people" : "ios-person";
305
298
  },
306
299
 
307
300
  curCheckAll () {
308
- return this.userList.every(userItem => this.newValList.find(newItem => newItem._key == userItem._key));
301
+ return this.userList.length && this.userList.every(userItem =>
302
+ this.newValList.some(newItem => newItem._key === userItem._key)
303
+ );
309
304
  },
310
305
  showVal () {
311
306
  return this.$isEmptyData(this.curValList)
@@ -328,13 +323,13 @@
328
323
  };
329
324
  this.curDepartment = {};
330
325
  this.pagePropsObj.page = 1;
331
- this.getUserList();
332
- this.getDepartmentList();
326
+ this.getUserListData();
327
+ this.getDepartmentListData();
333
328
  },
334
329
 
335
330
  search () {
336
331
  this.pagePropsObj.page = 1;
337
- this.getUserList();
332
+ this.getUserListData();
338
333
  },
339
334
  // 选择部门
340
335
  changeDepartment (departmentItem) {
@@ -345,7 +340,7 @@
345
340
  this.userList = this.hightUsers;
346
341
  this.total = 1;
347
342
  } else {
348
- this.getUserList();
343
+ this.getUserListData();
349
344
  }
350
345
  },
351
346
  clickInput () {
@@ -371,7 +366,7 @@
371
366
  } else {
372
367
  this.newValList = [
373
368
  ...this.newValList,
374
- this.userList.filter(userItem =>
369
+ ...this.userList.filter(userItem =>
375
370
  !this.newValList.some(newItem => newItem._key === userItem._key)
376
371
  )
377
372
  ];
@@ -400,7 +395,7 @@
400
395
  },
401
396
 
402
397
  /* ----------- 接口方法 ------------- */
403
- getUserList () {
398
+ getUserListData () {
404
399
  this.loading = true;
405
400
  this.userList = [];
406
401
  let searchName = this.searchData.name;
@@ -420,9 +415,6 @@
420
415
  params: {
421
416
  search: search,
422
417
  department: this.curDepartment._key,
423
- transmit_type: this.transmit_type,
424
- current_step_sp_user_key: this.current_step_sp_user_key,
425
- stepKey: this.stepKey,
426
418
  pagination: {
427
419
  page: this.pagePropsObj.page,
428
420
  pagesize: this.pagePropsObj.pagesize
@@ -435,16 +427,13 @@
435
427
  }
436
428
  });
437
429
  },
438
- getDepartmentList () {
430
+ getDepartmentListData () {
439
431
  this.$https({
440
432
  url: {
441
433
  module: "company",
442
434
  name: "compDepartCascaderAll"
443
435
  },
444
436
  params: {
445
- transmit_type: this.transmit_type,
446
- current_step_sp_user_key: this.current_step_sp_user_key,
447
- stepKey: this.stepKey,
448
437
  searchString: this.propsObj.searchString
449
438
  },
450
439
  callback: data => {
@@ -47,14 +47,14 @@
47
47
  v-if="showChildren"
48
48
  class="BriTreeItem-children"
49
49
  >
50
- <yc-tree-item
50
+ <bri-tree-item
51
51
  v-for="item in value.children"
52
52
  :key="item._key"
53
53
  :value="item"
54
54
  :changeOnSelect="changeOnSelect"
55
55
  :multiple="multiple"
56
56
  @on-change="onChange"
57
- ></yc-tree-item>
57
+ ></bri-tree-item>
58
58
  </div>
59
59
  </transition>
60
60
  </div>
@@ -67,12 +67,12 @@
67
67
  v-for="(dataItem, dataIndex) in groupItem.list"
68
68
  :key="dataItem._id"
69
69
  :id="dataItem._id"
70
- class="item"
70
+ class="row-item"
71
71
  @click="clickRow(dataItem, dataIndex)"
72
72
  >
73
73
  <!-- 下拉操作 -->
74
74
  <dsh-dropdown
75
- class="item-dropdown"
75
+ class="row-item-dropdown"
76
76
  :dropdownObj="dropdownObj"
77
77
  :list="operationList"
78
78
  @click="$dshEmit($event, dataItem, dataIndex)"
@@ -80,11 +80,11 @@
80
80
  ></dsh-dropdown>
81
81
 
82
82
  <!-- 标题 -->
83
- <div class="item-title dsh-ellipsis">{{ dataItem[titleField] }}</div>
83
+ <div class="row-item-title dsh-ellipsis">{{ dataItem[titleField] }}</div>
84
84
 
85
85
  <!-- 显示字段 -->
86
86
  <div
87
- class="item-cols unit"
87
+ class="row-item-cols unit"
88
88
  v-for="colItem in selfColumns"
89
89
  :key="colItem._key"
90
90
  >
@@ -103,11 +103,11 @@
103
103
  <!-- 右 val -->
104
104
  <div class="unit-value dsh-ellipsis">
105
105
  <dsh-td-render
106
- v-if="colItem.render"
106
+ v-if="colItem.renderBodyCell"
107
107
  :row="dataItem"
108
108
  :column="colItem"
109
109
  :index="0"
110
- :render="colItem.render"
110
+ :render="colItem.renderBodyCell"
111
111
  ></dsh-td-render>
112
112
 
113
113
  <div
@@ -36,7 +36,7 @@
36
36
  v-if="selfPropsObj.closable"
37
37
  slot="close"
38
38
  class="BriDrawer-close"
39
- type="md-close"
39
+ type="ios-close-circle"
40
40
  size="20"
41
41
  @click.stop="clickClose"
42
42
  />
@@ -4,6 +4,7 @@
4
4
  :trigger="trigger"
5
5
  :placement="placement"
6
6
  :transfer="transfer"
7
+ transfer-class-name="DshDropdown"
7
8
  >
8
9
  <slot>
9
10
  <Icon
@@ -41,7 +41,7 @@
41
41
  <Icon
42
42
  v-if="selfPropsObj.showSlotClose !== false"
43
43
  class="DshModal-close"
44
- type="md-close"
44
+ type="ios-close-circle"
45
45
  size="20"
46
46
  @click.native.stop="visibleChange(false)"
47
47
  />
@@ -17,7 +17,7 @@
17
17
  :closable="getItemClosable(tagItem)"
18
18
  :checkable="propsObj.checkable"
19
19
  :checked="propsObj.checked"
20
- :color="propsObj.color || tagItem.color || 'primary'"
20
+ :color="propsObj.color || tagItem.color || 'default'"
21
21
  :fade="propsObj.fade || false"
22
22
  :size="propsObj.size || 'medium'"
23
23
  @on-close="deleteTag($event, tagItem, tagIndex)"
@@ -63,7 +63,7 @@
63
63
  :fade="propsObj.fade || false"
64
64
  :size="propsObj.size || 'medium'"
65
65
  class="DshTags-poptip-tag"
66
- @on-close="deleteTag($event, tagItem, tagIndex)"
66
+ @on-close="deleteTag($event, tagItem, tagIndex + computedList.length)"
67
67
  @on-change="changeChecked"
68
68
  >
69
69
  <slot :tagItem="tagItem">
@@ -102,10 +102,10 @@
102
102
  maxTagCount: undefined,
103
103
 
104
104
  getItemDisabled (item) {
105
- return this.propsObj.disabled || item._disabled || item.disabled;
105
+ return !!(this.propsObj.disabled || item._disabled || item.disabled);
106
106
  },
107
107
  getItemClosable (item) {
108
- return this.getItemDisabled(item) ? false : (this.propsObj.closable !== false);
108
+ return this.getItemDisabled(item) === false && this.propsObj.closable;
109
109
  }
110
110
  };
111
111
  },
@@ -136,7 +136,7 @@
136
136
  // 删除标签
137
137
  deleteTag (event, item, index) {
138
138
  this.list.splice(index, 1);
139
- this.getAutoEllipsis();
139
+ this.callEliipsis();
140
140
  this.$emit("delete", item, index);
141
141
  },
142
142
  // 改变标签状态
@@ -144,27 +144,6 @@
144
144
 
145
145
  },
146
146
 
147
- getAutoEllipsis () {
148
- let parWidth = this.$refs.DshTags.clientWidth;
149
- let tags = this.$refs.tagItem;
150
-
151
- for (let idx in tags) {
152
- let el = tags[idx]["$el"];
153
- let showEllipsis = el.clientWidth + el.offsetLeft > parWidth;
154
-
155
- if (showEllipsis) {
156
- // 判断加上... 是否被隐藏
157
- if (el.clientWidth + el.offsetLeft + 40 < parWidth) {
158
- this.maxTagCount = idx;
159
- } else {
160
- this.maxTagCount = idx - 1;
161
- }
162
- break;
163
- } else {
164
- this.maxTagCount = undefined;
165
- }
166
- }
167
- },
168
147
  callEliipsis () {
169
148
  if (this.autoEllipsis) {
170
149
  this.maxTagCount = undefined;
@@ -172,6 +151,29 @@
172
151
  this.getAutoEllipsis();
173
152
  });
174
153
  }
154
+ },
155
+ getAutoEllipsis () {
156
+ if (this.autoEllipsis) {
157
+ let parWidth = this.$refs.DshTags.clientWidth;
158
+ let tags = this.$refs.tagItem;
159
+
160
+ for (let idx in tags) {
161
+ let el = tags[idx]["$el"];
162
+ let showEllipsis = el.clientWidth + el.offsetLeft > parWidth;
163
+
164
+ if (showEllipsis) {
165
+ // 判断加上... 是否被隐藏
166
+ if (el.clientWidth + el.offsetLeft + 40 < parWidth) {
167
+ this.maxTagCount = idx;
168
+ } else {
169
+ this.maxTagCount = idx - 1;
170
+ }
171
+ break;
172
+ } else {
173
+ this.maxTagCount = undefined;
174
+ }
175
+ }
176
+ }
175
177
  }
176
178
  },
177
179
  watch: {
@@ -16,8 +16,9 @@
16
16
  cursor: pointer;
17
17
  color: @textColor;
18
18
 
19
- &.bri-control-nodata {
20
- .bri-control-nodata();
19
+ .ivu-icon {
20
+ padding: 5px;
21
+ color: @placeholderColor;
21
22
  }
22
23
  }
23
24
  .bri-control-disabled {
@@ -27,8 +28,13 @@
27
28
  cursor: not-allowed;
28
29
  color: @textColor;
29
30
 
31
+ .ivu-icon {
32
+ padding: 5px;
33
+ color: @placeholder-disabled-color;
34
+ }
35
+
30
36
  &.bri-control-nodata {
31
- .bri-control-disabled-placeholder();
37
+ color: @placeholder-disabled-color;
32
38
  }
33
39
  }
34
40
  // .bri-control-readonly {
@@ -37,24 +43,30 @@
37
43
  // background: @inputBg-readonly;
38
44
  // cursor: not-allowed;
39
45
  // color: @textColor-readonly;
46
+
47
+ // .ivu-icon {
48
+ // color: @textColor-readonly;
49
+ // }
40
50
  // }
41
51
  .bri-control-show {
42
52
  border: none;
43
53
  background-color: transparent;
44
54
 
45
- &.bri-control-nodata {
46
- .bri-control-nodata();
55
+ .ivu-icon {
56
+ padding: 5px;
57
+ color: @placeholderColor;
47
58
  }
48
59
  }
49
60
  .bri-control-unit {
50
61
  border: none;
51
62
  background-color: transparent;
52
63
 
53
- // unit 模式下不用特殊处理颜色
54
- &.bri-control-nodata {
55
- .bri-control-nodata();
64
+ .ivu-icon {
65
+ padding: 5px;
66
+ color: @placeholderColor;
56
67
  }
57
68
  }
69
+
58
70
  // 无数据
59
71
  .bri-control-nodata {
60
72
  color: @placeholderColor;
@@ -66,10 +78,10 @@
66
78
 
67
79
  // 展示为tag标签公共样式
68
80
  #bri-control-wrap () {
69
- .dsh-flex-row-between-center();
70
81
  height: 32px;
71
- padding: 4px 0 4px 4px;
82
+ padding: 4px 0 4px 7px;
72
83
  line-height: 24px;
84
+ .dsh-flex-row-between-center();
73
85
 
74
86
  .text {
75
87
  .dsh-ellipsis();
@@ -82,14 +94,10 @@
82
94
 
83
95
  .icon {
84
96
  &-default {
85
- padding: 5px;
86
- color: @placeholderColor;
87
- }
88
97
 
98
+ }
89
99
  &-close {
90
- padding: 5px;
91
100
  display: none;
92
- color: @placeholderColor;
93
101
  }
94
102
  }
95
103
 
@@ -98,8 +106,4 @@
98
106
  display: block;
99
107
  }
100
108
  }
101
-
102
- &.bri-control-nodata {
103
- padding-left: 7px;
104
- }
105
109
  }
@@ -25,7 +25,7 @@
25
25
  // 查看
26
26
  &-show {
27
27
  &-multiple {
28
- #bri-control-wrap();
28
+
29
29
  }
30
30
 
31
31
  &-single {
@@ -35,8 +35,11 @@
35
35
 
36
36
  // 多选类型且独自一行时
37
37
  &-row {
38
- &-edit,
38
+ &-edit {
39
+ // height: 68px;
40
+ }
39
41
  &-show {
42
+ height: auto;
40
43
  .text,
41
44
  .overflow {
42
45
  width: 100%;
@@ -46,12 +49,6 @@
46
49
  .bri-scrollbar3();
47
50
  }
48
51
  }
49
- &-edit {
50
- height: 68px;
51
- }
52
- &-show {
53
- height: auto;
54
- }
55
52
  }
56
53
  }
57
54
 
@@ -14,9 +14,9 @@
14
14
  margin-bottom: 5px;
15
15
  margin-right: 16px;
16
16
  height: 32px;
17
- line-height: 32px;
18
- border-radius: 4px;
19
17
  border: none;
18
+ border-radius: 4px;
19
+ line-height: 32px;
20
20
  color: #FFF;
21
21
  }
22
22
 
@@ -86,38 +86,29 @@
86
86
  .ivu-select-multiple {
87
87
  .ivu-select-selection {
88
88
  height: 32px;
89
-
89
+ .dsh-flex-row-between-center();
90
+
90
91
  & > div {
91
- overflow-x: auto;
92
- overflow-y: hidden;
92
+ width: 100%;
93
+ word-break: keep-all;
93
94
  white-space: nowrap;
94
-
95
+
96
+ overflow: auto;
97
+ .bri-scrollbar3();
98
+
95
99
  .ivu-tag {
96
- margin: 2px 4px 4px 0;
97
- }
98
-
99
- &::-webkit-scrollbar {
100
- height: 8px;
101
- }
102
-
103
- &:-webkit-scrollbar-thumb {
104
- border-radius: 3px;
105
- background: rgba(51, 51, 51, .1);
106
- background-clip: border-box;
100
+ margin: 2px 4px 0px 0px;
101
+ background-color: @borderColor;
107
102
  }
108
103
  }
109
104
  }
110
105
 
111
- &.ivu-select-default {
106
+ &.ivu-select-disabled {
112
107
  .ivu-select-selection {
113
- height: 32px;
114
- overflow: hidden;
115
-
116
108
  & > div {
117
- width: 100%;
118
- height: 100%;
119
- .dsh-flex-row-start-center();
120
- flex-wrap: wrap;
109
+ .ivu-tag {
110
+ background-color: @border-disabled;
111
+ }
121
112
  }
122
113
  }
123
114
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  &-show {
9
- #bri-control-wrap();
9
+
10
10
  }
11
11
 
12
12
  &-dropdown {
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  &-show {
9
- #bri-control-wrap();
9
+
10
10
  }
11
11
 
12
12
  // 传到子组件里的class!!!