自己在开发中老是踩这个坑,今天就单拎出来捏捏!!
上代码:
<view class="tab-item {
{tabArr.curBdIndex=='1'? 'active' : ''}}">
<view class="tab-conter">
<view class="tab-tixian">
<view class="tab-list {
{item.active ? 'actives' : '' }}" wx:for="{
{tixianList}}" wx:key="index" bindtap="moneyTap" data-index="{
{index}}" data