<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
  <view class="panelTop FlexColumn">
    <view class="text0">{{Name}}</view>
    <view class="text1">答对{{NumberRight}}个 答错{{NumberWrong}}个 跳过{{NumberSkip}}个</view>
    <view class="text2">选择题目可一键生成题卡</view>
  </view>
  <view class="panelItem FlexRow" wx:for="{{List}}" wx:key="index">
    <view class="panelItem1 FlexRow" bindtap="expandPanel" data-index="{{index}}">
      <view class="text3">{{item.Name}}</view>
      <image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray" wx:if="{{item.Expand=='1'}}" />
      <image src="../images/universalpic_indicator_right_gray.png" class="universalpic_indicator_right_gray2" wx:if="{{item.Expand=='0'}}" />
    </view>
    <view class="panelItem1 FlexRow" bindtap="btnSelectAll" data-name="{{item.Name}}">
      <view class="text5">全选本组内容</view>
    </view>
    <block wx:if="{{item.Expand==1}}">
      <view class="btn{{itemChild.Css}} FlexRow" wx:for="{{item.List}}" wx:key="indexChild" wx:for-item="itemChild" wx:for-index="intexChild" bindtap="onSelectItem" data-index="{{index}}" data-word="{{itemChild.Word}}">
        <image wx:if="{{itemChild.Css=='Select'}}" src="../images/universalpic_checked_white_22x17.png" class="universalpic_checked_white_22x17" />
        <image wx:if="{{itemChild.Css=='Select2'}}" src="../images/universalpic_bookmark_blue_40x40.png" class="universalpic_bookmark_blue_40x40" />
        <view wx:if="{{!itemChild.Css}}" class="circle"></view>
        <text class="text4">{{itemChild.Word}}</text>
      </view>
    </block>
  </view>
  <view style="height:150rpx;"></view>
  <view class="panelFooter FlexColumn">
    <view class="panelFooter0 FlexRow">
      <view class="btn4 btn3 btn FlexRow" bindtap="close">
        关闭
      </view>
      <view class="btn4 btn3 btn FlexRow" bindtap="gotoReport">
        继续检验
      </view>
      <view class="btn3 btn FlexRow" bindtap="buildCard">
        生成题卡
      </view>

    </view>

    <view class="iphone10plus" wx:if="{{IsIPhoneX}}"></view>
  </view>

</view>

<!-- 生成页面 -->
<view wx:if="{{IsBuild>0}}" class="buildContainer FlexColumn" style='height:{{Containnerheight}}rpx;'>
  <image src="../images/examine_clipboard_200x200.png" class="examine_clipboard_200x200" />

  <view wx:if="{{IsBuild==1}}" class="buildText1">生成中……{{BuildCardNumber}}</view>
  <block wx:if="{{IsBuild==2}}">
    <view class="buildText1">生成完毕</view>
    <view class="buildBtn" bindtap="close">关闭</view>
  </block>
</view>