首页 > TAG信息列表 > section1Active

vue 绑定样式,跟点击事件的顺序会影响

<view class="mfst-item" v-for="(item, idx) in majorArr" :key="mfsKey" :class="[sidx == idx ? 'section1Active' :'']" @tap.stop="section1Tap(item,idx)">{{item.name}}</view>