bri-components 1.3.2 → 1.3.3

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.3.2",
3
+ "version": "1.3.3",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -40,7 +40,7 @@
40
40
  >
41
41
 
42
42
  <slot>
43
- <div :class="`BriUpload-${showType}-imageadd`">
43
+ <div :class="`BriUpload-${showType}-add`">
44
44
  <!-- 上传 -->
45
45
  <i-circle
46
46
  v-if="percent"
@@ -270,7 +270,7 @@
270
270
  }
271
271
  }
272
272
 
273
- &-imageadd {
273
+ &-add {
274
274
  .dsh-flex-col-center-center();
275
275
  width: 120px;
276
276
  height: 120px;
@@ -287,12 +287,13 @@
287
287
 
288
288
  &-circle {
289
289
  position: absolute;
290
- top: 50%;
291
- left: 50%;
290
+ top: 0;
291
+ left: 0;
292
+ bottom: 0;
293
+ right: 0;
294
+ margin: auto;
292
295
  width: 50px !important;
293
296
  height: 50px !important;
294
- margin-top: -25px;
295
- margin-left: -25px;
296
297
  border-radius: 50%;
297
298
  background-color: @inputBg-readonly;
298
299
 
@@ -319,7 +320,7 @@
319
320
  }
320
321
  }
321
322
 
322
- &-imageadd {
323
+ &-add {
323
324
  .dsh-flex-row-center-center();
324
325
  height: 30px;
325
326
  background-color: @btn-hover;