<scroll-view class="app-category-list" style="{{'height:'+(''+noSetHeight?''+noSetHeight:''+setHeight)+';'}}" scroll-y="{{true}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['active',['$0',index],[[['list','',index]]]]]]]}}" class="app-item dir-left-nowrap" bindtap="__e"><view class="app-border" style="{{'background-color:'+(item.active===true?theme.background:'#f7f7f7')+';'}}"></view><view class="app-text" style="{{'color:'+(item.active===true?theme.color:'')+';'}}">{{item.name}}</view></view></block></scroll-view>