<!--9个按钮  -->
<template name='nine'>
  <view class='line_top'></view>
  <view class="waper">
    <view class='con'>
      <!-- <view class='title'>第{{num}}/{{add}}题</view> -->
      <text>{{con}}</text>
    </view>
    <view class='answer'>
      <!-- <block > -->
      <view wx:for="{{answer}}" wx:for-item="itemName" wx:for-index="index" wx:key="key" class="an-btn {{active == index?'active':''}}" bindtap='selectData' data-con="{{itemName}}" data-id='{{index}}' data-score='{{score[index]}}'>{{itemName}}</view>
      <!-- </block> -->
    </view>
    <!-- <view class='btn btn_2' style="display:{{num == 0?'none':'block'}};" bindtap='preve'>上一题</view> -->

    <!-- <view class='none'></view> -->
  </view>
  <view class="btn1" style="display:{{num==1?'block':'none'}};">
    <view class="menuebtn1">上一题</view>
  </view>
  <view class="btn1" style="display:{{num <add&&num>1?'block':'none'}};">
    <view class="menuebtn1 menuebtn-active" bindtap='preve'>上一题</view>
  </view>
  <view class="btn1" style="display:{{num >=add?'block':'none'}};">
    <view class="menuebtn menuebtn-active" bindtap='preve'>上一题</view>
    <view class="menuebtn {{tiBtn==0?'show':'hid'}} " style='margin-left:40rpx;'>提交</view>
      <view class="menuebtn menuebtn-active {{tiBtn==1?'show':'hid'}} " style='margin-left:40rpx;' bindtap='tijiao'>提交</view>
  </view>
  <view class='all-item'>
  <text>{{num}}/{{add}}</text>
</view>
</template>