<page-container>
  <item-row title="选择游客" flex="true">
    <view class="tourist-buttons">
      <view
        onTap="onTapItem"
        a:for-item="item"
        a:for-index="index"
        a:for="{{renderList}}"
        data-value="{{item.id}}"
        class="tourist-button {{item.selected ? ' active':''}}"
      >
        {{ item.name }}
      </view>
      <passenger-select
        ids="{{selectedIds}}"
        onChangeList="onChangeList"
      >
        <view class="tourist-button-add">
          <view class="plus-icon"/>
          <view>更多</view>
        </view>
      </passenger-select>
    </view>
  </item-row>
</page-container>


