@hlw-uni/mp-vue 2.2.1 → 2.2.2

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": "@hlw-uni/mp-vue",
3
- "version": "2.2.01",
3
+ "version": "2.2.02",
4
4
  "description": "hlw-uni 小程序运行时 — Vue 组件 + composables + theme + http + 工具集(合并自原 mp-core)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -87,14 +87,14 @@ const top = computed(() => {
87
87
  const menuButtonInfo = uni.getMenuButtonBoundingClientRect();
88
88
  if (menuButtonInfo && menuButtonInfo.bottom > 0) {
89
89
  // 胶囊底部高度 + 6px 作为气泡定位的顶部基准,使箭头离胶囊更近
90
- return `${menuButtonInfo.bottom + 6}px`;
90
+ return `${menuButtonInfo.bottom + 3}px`;
91
91
  }
92
92
  } catch (e) {
93
93
  // 跨端环境不支持或报错时,执行安全降级计算
94
94
  }
95
95
  return `${info.status_bar_height + 50}px`;
96
96
  }
97
- return "12px";
97
+ return "6px";
98
98
  });
99
99
 
100
100
  const arrowStyle = computed(() => {
@@ -396,7 +396,6 @@ const handleGetPhoneNumber = (item: HlwMenuItem, event: unknown) => {
396
396
 
397
397
  /* ========== 标签 / 角标 ========== */
398
398
  .hlw-menu-label {
399
- font-size: var(--font-26, 26rpx);
400
399
  color: var(--text-secondary, #334155);
401
400
  letter-spacing: 1rpx;
402
401
  }