<!-- promoPop/promoPop.wxml -->
<view>
  <!-- 遮罩层，点击即可关闭弹窗 -->
  <view class="promo-mask" wx:if="{{show}}" bindtap="close"></view>
  
  <!-- 弹窗内容 -->
  <view class="flex-col page" wx:if="{{show}}">
    <view class="flex-col self-stretch section">
      <text class="self-center text">邀请码</text>
      <text class="self-center font text_2 mt-23">分享邀请码，邀请好友一起赚钱</text>
      <view class="flex-col self-stretch group mt-23">
        <image
          class="self-center image"
          src="{{qrcode}}"
          bindtap="previewQrcode"
        />
        <view class="mt-20 flex-col items-start self-stretch">
          <text class="font text_3">点击二维码放大，长按保存</text>
        </view>
      </view>
    </view>
    <!-- 右下角关闭按钮 -->
    <image
      class="self-center image_2 mt-21"
      src="{{closeIcon}}"
      bindtap="close"
    />
  </view>
</view>
