<!--myComponents/card/card.wxml-->
<view class="myCard">
  <!-- <myPopover id='popover' wx:if="{{menu.length>0}}">
    <view class="menu_item" wx:for="{{menu}}" data-item="{{item}}" bind:tap='onClickA' wx:if="{{(item.type && data.ticketProgress==item.type) || !item.type}}"  hasline>{{item.label}}</view>
  </myPopover> -->
  <view class="head">
    <view class="head_left">
      <slot name="head_left"></slot>
    </view>
    <view class="head_right">
      <view class="head_right_label">
        <slot name="head_right"></slot>
      </view>
      <view class="eidt" wx:if="{{edit}}" >
        <myPopover2 id="myPopover" >
          <view slot="menu" class="menu">
            <view class="menu_item" wx:for="{{menu}}" data-item="{{item}}" bind:tap='onClickA' wx:if="{{(item.type && data.ticketProgress==item.type) || !item.type}}"  hasline>{{item.label}}</view>
          </view>
          <van-icon name="ellipsis" id='button' bindtap='onTap'/>
        </myPopover2>
        
      </view>
    </view>
  </view>
  <view class="body">
    <slot></slot>
  </view>
</view>