活动按钮状态流转

This commit is contained in:
2026-03-25 15:53:37 +08:00
commit 37346e790f
2762 changed files with 240282 additions and 0 deletions

View File

@@ -0,0 +1 @@
<block wx:if="{{$root.g0}}"><view class="component-tab-bar"><view class="tab-bar-main" style="{{'--theme-color:'+(themeColor)+';'}}"><block wx:for="{{tabBarList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabBarPages',[index]]]]]}}" class="main-item wbcentre" bindtap="__e"><block wx:if="{{item.path==currentPath}}"><image class="item-img" src="{{item.selicon}}" mode="aspectFit"></image></block><block wx:else><image class="item-img" src="{{item.icon}}" mode="aspectFit"></image></block><view class="{{['item-text',(item.path==currentPath)?'active':'']}}">{{item.name}}</view></view></block></view></view></block>