微信小程序联调

This commit is contained in:
zhonghua.li
2026-04-17 07:35:37 +08:00
parent c62622dc90
commit d74bc2ad1f
484 changed files with 3312 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
<view class="tabbar">
<view
wx:for="{{visibleTabs}}"
wx:key="key"
class="tabbar-item {{currentPath === item.pagePath ? 'active' : ''}}"
data-key="{{item.key}}"
bindtap="switchTab"
>
<image class="tabbar-icon" src="{{currentPath === item.pagePath ? item.selectedIconPath : item.iconPath}}" />
<text class="tabbar-text">{{item.text}}</text>
</view>
</view>