<van-popup show="{{show}}" custom-style="background:none">
  <view class="red-packet-content" wx:if="{{show}}" bindtap="closePop">
    <view class="card {{screenType}}" catchtap>
      <image
        src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lp986kvl0hha.png"
        class="background-image border-radius"
      ></image>
      <view class="content border-radius">
        <opening
          appId="{{appId}}"
          userId="{{userId}}"
          alive_id="{{alive_id}}"
          wx:if="{{openState == 0 && nowItem}}"
          item="{{nowItem}}"
          screenType="{{screenType}}"
          viewCount="{{viewCount}}"
          bind:seeLuckList="seeLuckList"
          bind:receiveRedPacket="receiveRedPacket"
          bind:getPasswordRedPacket="getPasswordRedPacket"
        ></opening>
        <opened
          bind:seeLuckList="seeLuckList"
          item="{{resultItem}}"
          appId="{{appId}}"
          userId="{{userId}}"
          alive_id="{{alive_id}}"
          screenType="{{screenType}}"
          noTakeCash="{{noTakeCash}}"
          isHost="{{isHost}}"
          isLinkingOrStart="{{isLinkingOrStart}}"
          wx:if="{{openState == 1}}"
        ></opened>
        <list
          item="{{nowItem}}"
          appId="{{appId}}"
          userId="{{userId}}"
          alive_id="{{alive_id}}"
          screenType="{{screenType}}"
          wx:if="{{openState == 2}}"
        ></list>
      </view>
      <image
        wx:if="{{screenType==='horizontal'}}"
        bindtap="closePop"
        class="content-close"
        src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/l31eqs0u00bg.png"
      ></image>
      <image
        wx:if="{{backIcon}}"
        bindtap="goBack"
        class="content-back {{screenType === 'vertical' ? 'content-back-ver' : '' }}"
        src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lpb36vqo07af.png"
      ></image>
    </view>
    <image
      wx:if="{{screenType==='vertical'}}"
      bindtap="closePop"
      class="top-close"
      src="https://commonresource-1252524126.cdn.xiaoeknow.com/image/lp98p8bv0g4d.png"
    ></image>
  </view>
</van-popup>
