<cu-custom isBack="{{true}}">
  <view slot="content">店铺会员</view>
</cu-custom>
<scroll-view>
  <van-swipe-cell style="margin:5px;" id="swipe-item" right-width="{{ 85 }}" wx:for="{{memberList}}" wx:key="index"
    bind:close="onClose" bind:open="onOpen" async-close="true">
    <view class="cu-list menu solid" style="margin-left:10rpx;margin-right:10rpx;" bindtap="showMemberDetail"
      data-item="{{item}}">
      <view class="cu-item" style="padding:30rpx">
        <view class="content">
          <view class="text-black">
            <text class="text-cut">{{item.userName.length>0 ? item.userName:'未录入'}}</text>
          </view>
          <view class="text-gray text-sm flex">
            <text class="text-cut">等级:{{item.memberLevel}}</text>
          </view>
        </view>
      </view>
    </view>
    <!-- 功能按钮 -->
    <view slot="right">
      <view class="flex flex-wrap center">
        <view class=" bg-red text-center light" style="padding:60rpx" data-key="{{item}}" data-menu="del"
          bindtap="doDelMember">
          <view class="text-lg">删除</view>
        </view>
      </view>
    </view>
    <view>
    </view>
  </van-swipe-cell>
</scroll-view>