feat: ui update

This commit is contained in:
2026-09-15 16:01:59 +08:00
parent 1a11816839
commit 26c392d612
89 changed files with 10377 additions and 4861 deletions
+6 -5
View File
@@ -1,16 +1,17 @@
<view class="tab-bar">
<!-- v2 悬浮玻璃胶囊标签栏 -->
<view class="tabbar">
<view
wx:for="{{list}}"
wx:key="pagePath"
class="tab-item {{selected === index ? 'active' : ''}}"
class="tab-item {{selected === index ? 'is-on' : ''}}"
data-path="{{item.pagePath}}"
data-index="{{index}}"
bindtap="switchTab"
>
<view class="tab-icon-wrap">
<view class="icon tab-icon {{item.icon}}"></view>
<view class="tab-ic-wrap">
<view class="icon tab-ic {{item.icon}}"></view>
<view wx:if="{{item.icon === 'icon-user' && unread > 0}}" class="tab-badge">{{unread > 99 ? '99+' : unread}}</view>
</view>
<text class="tab-text">{{item.text}}</text>
<text class="tab-tx">{{item.text}}</text>
</view>
</view>