<view class="patient-tabs" a:if="{{ patientList.length }}">
  <view class="patient-scroll">
    <view a:if="{{ showAll && patientList.length > 1 }}" class="patient-item {{ checkIndex === -1 ? 'selected' : '' }}" onTap="onSelected" data-type="all">
      <view>全部</view>
    </view>
    <view a:for="{{ patientList }}" key="{{ index }}" class="patient-item {{ checkIndex === index ? 'selected' : '' }}" onTap="onSelected" data-index="{{ index }}">
      <view>{{ item.name }}</view>
    </view>
  </view>
  <view class="patient-icon" onTap="addPatient">
    <am-icon type="add" size="18"/>
  </view>
</view>
