<!-- 材料头部 -->
<view class="exammakingshead">
  <view class="headleft">
    <text>{{currentdata.title}}</text>
  </view>
  <view class="headright">
    <text>{{active+1}}/{{all}}</text>
  </view>
</view>

<!-- 材料头部 -->
<!-- 材料标签 -->
<view>
  <van-tabs swipeable active="{{ active }}" bind:change="onChange" wx:if="show"  animated >

    <van-tab title="问题{{item.orderm}}" title-style="color:block" wx:for="{{listdata}}" wx:for-index="index"  wx:key="index">
      <view class="makingscontent">
        <text>
          {{item.namecon}}
        </text>
      </view>
      <view class="makingscontentdown">
      </view>
      <view class="makingscontentdownanswer">
        <view class="itemleft">
          <image src="https://ndnd.duiduiedu.com/uploads/pics/problemcircle.png"></image>
        </view>
        <view class="itemmiddle">
          <text>参考答案</text>
        </view>
        <view class="itemright">
          <image src="https://ndnd.duiduiedu.com/uploads/pics/problemdown.png" wx:if="{{openactive==1}}" id='2'
            bindtap="openactiveclick"></image>
          <image src="https://ndnd.duiduiedu.com/uploads/pics/problemup.png" wx:else id='1' bindtap="openactiveclick">
          </image>
        </view>
      </view>
      <view class="answercontent{{openactive==2?'2':''}}">
        {{item.answer}}
      </view>
    </van-tab>


  </van-tabs>
</view>
<!-- 材料标签 -->
<!-- 材料底部 -->
<view class="makingsfooter"  bindtap="clickm" id="{{grouppaper_id}}">
  <view class="footerleft">
    <text>材料</text>
  </view>

  <view class="footerright" bindtap="clickanswer" id="{{grouppaper_id}}">
    <text>问题</text>
  </view>
</view>
<!-- 材料底部 -->