bri-components 1.2.19 → 1.2.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bri-components",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -31,7 +31,7 @@
31
31
  <template v-if="!$isEmptyData(curValList)">
32
32
  <img
33
33
  v-for="item in curValList"
34
- :src="$imageResize(item.avatarurl, imageResizeConfig) || $imageSrcMap.system.boy"
34
+ :src="item.avatarurl ? $imageResize(item.avatarurl, imageResizeConfig) : $imageSrcMap.system.boy"
35
35
  :key="item._key"
36
36
  class="selectUsers-unit-img"
37
37
  />
@@ -1,20 +1,25 @@
1
1
  .BriTooltip {
2
2
  display: flex;
3
-
4
- .ivu-tooltip-arrow {
5
- border-bottom-color: rgba(0, 0, 0, 0.9) !important;
3
+ }
4
+
5
+ .ivu-tooltip {
6
+ &-arrow {
7
+ border-bottom-color: @textColor !important;
6
8
  }
7
9
 
8
- .ivu-tooltip-inner {
10
+ &-inner {
9
11
  padding: 5px 8px;
10
12
  border-radius: 4px;
11
- background: rgba(0, 0, 0, 0.9);
13
+ line-height: 22px;
14
+ background: @textColor;
12
15
  font-size: 14px;
13
16
  font-weight: 400;
14
- color: rgba(255, 255, 255, 0.9);
17
+ color: @textWhColor;
18
+ max-height: 350px;
19
+ overflow: auto;
15
20
  }
16
21
 
17
- .ivu-tooltip-rel {
22
+ &-rel {
18
23
  width: 100%;
19
24
  }
20
25
  }