index.wxml 287 B

12345
  1. <van-tabbar active="{{ active }}" active-color="{{ activeColor }}" inactive-color="{{ color }}" bind:change="onChange">
  2. <van-tabbar-item wx:for="{{ list }}" wx:key="index" icon="{{ active === index ? item.aicon : item.icon }}.png">{{
  3. item.text
  4. }}</van-tabbar-item>
  5. </van-tabbar>