<view class="popUpScanBg" hidden="{{dialogDisplay < show}}">
  <!-- 灰黑色背景 -->
  <view style="position:absolute;width:100%;height:100%;left:0rpx;top:0rpx;background-color: rgba(0, 0, 0, 0.65);background-size:100% 100%;"/>
  
  <view class="popUpScan">
    <!-- <view class="close" onTap="dialogClose">
      <image style="width:28rpx;height:28rpx;left:0rpx;top:0rpx;" mode="aspectFit" src="/images/icon_dialog_cancel.png" />
    </view> -->

    <!-- 初始状态 -->
    <view style="display:flex;flex-direction:column;" a:if="{{dialogDisplay == show}}">
      <view class="scanRemindText">{{remindText}}</view>
      <!-- 图片 -->
      <image class="scanRemindIcon" mode="aspectFit" src="/images/icon_scan_remind.png"/>   
      <!-- x -->
    </view>
    <!-- loading -->
    <view style="position:absolute;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;" a:if="{{dialogDisplay == loading}}" >
      <image mode="aspectFit" src="/images/icon_dialog_loading.png"  class="loading"/>
      <view class="loadingText">{{loadingText}}</view>
    </view>
    <!-- 结果页面-成功 -->
    <view class="resultContainer" a:if="{{dialogDisplay == resultSuccess}}">
      <image class="resultIcon" mode="aspectFit" src="/images/icon_success.png"/>
      <view class="resultSuccessRemind">{{resultSuccessRemind}}</view>
      <view class="resultText">{{resultSuccessText}}</view>
    </view>
    <!-- 结果页面-失败 -->
    <view class="resultContainer" a:if="{{dialogDisplay == resultFailed}}">
      <image class="resultIcon" mode="aspectFit" src="/images/icon_failed.png"/>
      <view class="resultFailedRemind">{{resultFailureRemind}}</view>
      <view class="resultText">{{resultFailureText}}</view>
    </view>
  </view>
</view>

