menu.wxml 297 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 <template name="menu"> <view class="menu-list"> <block wx:for="{{menuList}}" wx:key="index"> <view class="menu-item {{index === curIntroduceIndex ? 'menu-active' : ''}}" bindtap="selectIntroduce" data-index="{{index}}"> {{item}} </view> </block> </view> </template>