<page-container>
  <scroll-view
    scroll-y="{{true}}"
    style="height: 100vh;"
    class="passenger-list-info"
  >
    <view>
      <view
        class='empty-info'
        a:if="{{!seePassengerList||seePassengerList.length===0}}"
      >
        <empty></empty>
      </view>

      <view
        a:else
        a:for="{{seePassengerList}}"
        class="list-margin-bottom"
      >
        <swipe-action
          right="{{item.right}}"
          index="{{index}}"
          restore="{{swipeIndex === null || swipeIndex !== index}}"
          extra="item{{index}}"
          onRightItemClick="onRightItemClick"
          swipeWidth="702rpx"
          borderRadius="{{true}}"
        >
          <view class="lists">
            <view class="mian-list">
              <view class="list-left">
                <view class="list-title1">{{item.name}}</view>
                <view
                  class="list-title2"
                  a:if={{item.idCardNo}}
                > {{item.certTypeValue}} {{item.idCardNo}}</view>
                <view
                  class="list-title3"
                  a:if={{item.mobile}}
                >手机号 {{item.mobile}}</view>
              </view>
              <view>
                <text
                  class="list-right"
                  onTap="goTouristsOperate"
                  data-info="{{item}}"
                  data-tag="update"
                >编辑</text>
                <!-- <text class="list-right2" onTap="goTouristsOperate" data-info="{{item}}" data-tag="delete">删除</text>-->
              </view>
            </view>
          </view>
        </swipe-action>
      </view>
      <view class="sure-add">
        <view
          class="add-botton"
          onTap="goTouristsOperate"
          data-info=""
          data-tag="add"
        >新增常用游客</view>
      </view>
    </view>
  </scroll-view>

</page-container>