feat(tabbar): 首页与 AI客服 换用自绘圆润线性图标

TDesign 字体图标 home 尖屋顶、chat 尖角尾巴,造型偏尖;改为 base64 SVG,描边与字体图标同族,选中态换暖橙版。
This commit is contained in:
lik
2026-10-31 22:10:04 +08:00
parent 7d793bfd3e
commit c02cfa5c18
3 changed files with 41 additions and 5 deletions
+6 -1
View File
@@ -7,8 +7,13 @@
data-path="{{ item.pagePath }}"
bindtap="onTap"
>
<!-- 三个 tab 统一走 TDesign 线性图标字体,笔画同族;选中态只换颜色、不换图形 -->
<!-- 首页 / AI客服 走自定义圆润 SVG(.tab-icon),「我的」仍用 TDesign 字体图标 -->
<view
wx:if="{{ item.cls }}"
class="tab-icon {{ item.cls }} {{ selected === index ? 'on' : '' }}"
></view>
<t-icon
wx:else
name="{{ item.icon }}"
size="44rpx"
color="{{ selected === index ? activeColor : inactiveColor }}"