<mp-dialog
  wx:if="{{visible && type === 'list' && data}}"
  show="{{visible && type === 'list' && data}}"
  mask="{{true}}"
  mask-closable="{{true}}"
  ext-class="lottery-list-dialog{{IsUseDarkTheme ? ' lottery-list-dialog-dark' : ''}}{{data.AwardThemeUrl === 'lotteryBox' ? ' lottery-list-dialog-box' : ''}}{{data.AwardThemeUrl === 'slotMachine' ? ' lottery-list-dialog-machine' : ''}}"
  bindclose="closeModal"
> 
  <image wx:if="{{!IsUseDarkTheme && data.AwardThemeUrl !== 'lotteryBox' && data.AwardThemeUrl !== 'slotMachine'}}" class="lottery-list-dialog-bg" src="../assets/questionaireImage.png" />
  <mp-icon icon="close" size="{{20}}" class="lottery-list-dialog-close" bindtap="closeModal" color="#939aa3" />
  <award-list
    data="{{data}}"
    IsUseDarkTheme="{{IsUseDarkTheme}}"
    sdkInstance="{{sdkInstance}}"
  />
</mp-dialog>