Files
sundynix-pets/pets-fe/components/tab-bar/index.wxml
T

13 lines
301 B
Plaintext

<view class="bar">
<view
wx:for="{{tabs}}"
wx:key="path"
class="item {{current===item.path?'active':''}} {{item.label==='遛狗'?'walk':''}}"
data-path="{{item.path}}"
bindtap="go"
>
<view class="icon">{{item.icon}}</view>
<text>{{item.label}}</text>
</view>
</view>