diff --git a/msh_single_uniapp/pages/tool/calculator-history.vue b/msh_single_uniapp/pages/tool/calculator-history.vue
index 69125a1..d3912c6 100644
--- a/msh_single_uniapp/pages/tool/calculator-history.vue
+++ b/msh_single_uniapp/pages/tool/calculator-history.vue
@@ -63,6 +63,9 @@ export default {
}
},
onLoad() {
+ // 运行时强制回写中文标题,避免开发者工具/旧编译缓存读取 pages.json 时
+ // 出现页面标题乱码(部分版本会把 UTF-8 当 GBK 渲染)
+ uni.setNavigationBarTitle({ title: '我的计算记录' })
this.fetch()
},
onPullDownRefresh() {
diff --git a/msh_single_uniapp/pages/tool/calculator-result.vue b/msh_single_uniapp/pages/tool/calculator-result.vue
index de9d44b..e9ffb3e 100644
--- a/msh_single_uniapp/pages/tool/calculator-result.vue
+++ b/msh_single_uniapp/pages/tool/calculator-result.vue
@@ -121,10 +121,17 @@
-
+
+
+
+
+
联系专业营养师
+
@@ -249,10 +256,17 @@
采纳计划,开始打卡
-
+
+
+
+
+
联系专业营养师
+
@@ -483,7 +497,7 @@ export default {
z-index: 99;
}
-/* Tab:未激活灰字、透明底边占位(无可见下划线);激活加粗+主色+橙色底边(BUG-002) */
+/* Tab:未激活 #9ca3af、无橙色下划线;激活加粗 + 主色字 + 3px 橙色底边(BUG-002) */
.tab-item {
flex: 1;
min-height: 0;
@@ -493,40 +507,31 @@ export default {
justify-content: center;
gap: 16rpx;
box-sizing: border-box;
- color: #9ca3af;
- font-weight: 400;
- text-decoration: none;
- border-bottom: 3px solid transparent;
- transition: color 0.2s ease, border-color 0.2s ease;
-}
-
-.tab-item .tab-icon,
-.tab-item .tab-text {
- font-size: 28rpx;
-}
-
-/* 未激活:灰字、常规字重(显式写到 text 节点,避免小程序不继承 view 颜色) */
-.tab-item:not(.active) .tab-icon,
-.tab-item:not(.active) .tab-text {
- color: #9ca3af;
- font-weight: 400;
- text-decoration: none;
-}
-
-/* 激活:粗体、主色、橙色底边(与未激活同宽底边,避免切换时跳动) */
-.tab-item.active {
background: transparent;
- color: #f97316;
- font-weight: 700;
- text-decoration: none;
- border-bottom: 3px solid #f97316;
-}
+ /* 与激活态同厚底边占位,避免切换跳动;透明即无可见下划线 */
+ border-bottom: 3px solid transparent;
+ transition: color 0.2s ease, border-color 0.2s ease, font-weight 0.15s ease;
-.tab-item.active .tab-icon,
-.tab-item.active .tab-text {
- color: #f97316;
- font-weight: 700;
- text-decoration: none;
+ /* 字色与字重落在 text 节点上,避免部分端不继承 view 的 color */
+ .tab-icon,
+ .tab-text {
+ font-size: 28rpx;
+ color: #9ca3af;
+ font-weight: 400;
+ transition: color 0.2s ease, font-weight 0.15s ease;
+ }
+
+ &.active {
+ color: #f97316;
+ font-weight: 700;
+ border-bottom: 3px solid #f97316;
+
+ .tab-icon,
+ .tab-text {
+ color: #f97316;
+ font-weight: 700;
+ }
+ }
}
/* 内容滚动区域 */
@@ -787,6 +792,14 @@ export default {
font-weight: 500;
}
}
+/* 小程序原生 button 样式重置(保证视觉与原 view 版按钮一致) */
+.contact-btn-mp {
+ line-height: 96rpx;
+ padding: 0;
+}
+.contact-btn-mp::after {
+ border: none;
+}
/* 空状态 */
.empty-placeholder {
diff --git a/msh_single_uniapp/pages/tool/my-profile.vue b/msh_single_uniapp/pages/tool/my-profile.vue
index a5e2354..8539504 100644
--- a/msh_single_uniapp/pages/tool/my-profile.vue
+++ b/msh_single_uniapp/pages/tool/my-profile.vue
@@ -52,16 +52,7 @@
-
-
- 工具与服务
-
-
+
@@ -92,7 +83,6 @@ export default {
return {
// 仅保留模板还在使用的图标资源;其它未开发入口已隐藏,对应图标无需加载
iconVerified: 'https://www.figma.com/api/mcp/asset/e06ebfe5-bf8d-40e7-9b5f-a395c823127b',
- iconGift: 'https://www.figma.com/api/mcp/asset/afaeb0a1-7276-4a8c-87c0-ba4dc4ce3eba',
iconLogout: 'https://www.figma.com/api/mcp/asset/a4d5597f-0287-4411-a173-1e62db3c6c9f',
userInfo: {
name: '慢友小张',
@@ -154,9 +144,6 @@ export default {
goToCalculatorHistory() {
uni.navigateTo({ url: '/pages/tool/calculator-history' })
},
- goToInvite() {
- uni.navigateTo({ url: '/pages/tool/invite-rewards' })
- },
handleLogout() {
uni.showModal({
title: '提示',