im-ui-mobile 0.1.36 → 0.1.37

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.
@@ -56,7 +56,11 @@
56
56
  <view v-if="showStatus && status" class="im-avatar__status" :class="`im-avatar__status--${status}`" />
57
57
 
58
58
  <!-- 角标 -->
59
- <im-badge v-if="badge" :value="badgeText" :dot="badgeDot" :class="[`im-avatar__badge`]" :size="badgeSize" />
59
+ <im-badge v-if="badge" :value="badgeText" :dot="badgeDot" :class="[`im-avatar__badge`
60
+ // #ifdef MP-WEIXIN
61
+ , `im-avatar__badge--${size}`
62
+ // #endif
63
+ ]" :size="badgeSize" />
60
64
 
61
65
  <!-- 加载状态 -->
62
66
  <im-loading v-if="loading" class="im-avatar__loading" :size="32" text="" :mask="true" />
@@ -460,6 +464,10 @@ const handleImageError = (error: any) => {
460
464
  &__badge {
461
465
 
462
466
  // 尺寸
467
+
468
+ // #ifdef MP-WEIXIN
469
+ &--mini,
470
+ // #endif
463
471
  .im-avatar--mini & {
464
472
  top: -30rpx;
465
473
  right: -6rpx;
@@ -489,6 +497,10 @@ const handleImageError = (error: any) => {
489
497
  top: -88rpx;
490
498
  right: -30rpx;
491
499
  }
500
+
501
+ // #ifdef MP-WEIXIN
502
+
503
+ // #endif
492
504
  }
493
505
 
494
506
  // 加载状态
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "im-ui-mobile",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "A Vue3.0 + Typescript instant messaging component library for Uniapp",
5
5
  "type": "module",
6
6
  "main": "index.js",