<view class="warp" style="height:{{winH}}px;">
  <view class="con">
  <!-- 霍兰德职业倾向 -->
    <text wx:if="{{hollander&&item.type=='1'}}">第一部分 兴趣倾向,你喜欢做下列事情吗？</text>
    <text wx:if="{{hollander&&item.type=='2'}}">第二部分 个体经历,你擅长下列活动吗？</text>
    <text wx:if="{{hollander&&item.type=='3'}}">第三部分 人格倾向</text>
    <!-- <text>第{{current+1}}/{{all}}道题</text> -->
    <text wx:if="{{judgeSex==2 && current==73}}">74.我总希望我是个女的</text>
    <text wx:elif="{{judgeSex==3 && current==73}}">74.我从不因为我是女的而遗憾</text>
    <text wx:else>{{item.con}}</text>
  </view>
  <block wx:for="{{item.answer}}" wx:for-item="itemName" wx:for-index="index1" wx:key="*this">
    <view class=" answer  {{active == index1?'s-active':''}}" hidden="{{(pizibao&& current+1==1)||(pizibao&& current+1==3)||(pizibao&& current+1==4) || (pizibao1&& current+1==10) || (pizibao1&& current+1==11)}}" bindtap='selectData' data-index="{{index1}}"
      data-answer="{{itemName}}" data-score="{{item.score[index1]}}" data-record="{{current}}">
      <text>{{itemName}}</text>
    </view>
    <!--社会支持评定  -->
    <view class="shehui {{((pizibao1&& current+1==10) || (pizibao1&& current+1==11))?'show':'hid'}}">
      <view class=" answer1  {{active == index1?'s-active':''}} " bindtap='selectData' data-index="{{index1}}" data-answer="{{itemName}}" data-score="{{item.score[index1]}}" data-record="{{current}}" style="border-left:{{index1%2==0?'none':'0.5px solid #e3e3e3'}};">
        <text>{{itemName}}</text>
      </view>
    </view>
  </block>
  <!--匹兹堡睡眠质量  -->
  <view class="pizibao {{(pizibao&& current+1==1)||(pizibao&& current+1==3)||(pizibao&& current+1==4)?'show':'hid'}}">
    <block wx:if="{{current+1==1}}">
      <view class='p_time'>
        <input value="{{ptime1}}" bindblur="pitime" type='number' maxlength="2" confirm-hold="true"></input>
        <text>时</text>
      </view>
      <view class='p_time'>
        <input value="{{pminute1}}" type='number' maxlength="2" bindblur="piminute" confirm-hold="true"></input>
        <text>分</text>
      </view>
      <view class='p_btn' bindtap='pbtn'>确定</view>
    </block>
    <block wx:if="{{current+1==3}}">
      <view class='p_time'>
        <input value="{{ptime2}}" bindblur="pitime" type='number' maxlength="2" confirm-hold="true"></input>
        <text>时</text>
      </view>
      <view class='p_time'>
        <input value="{{pminute2}}" type='number' maxlength="2" bindblur="piminute" confirm-hold="true"></input>
        <text>分</text>
      </view>
      <view class='p_btn' bindtap='pbtn'>确定</view>
    </block>
    <block wx:if="{{current+1==4}}">
      <view class='p_time'>
        <input value="{{ptime3}}" bindblur="pitime" type='number' maxlength="2" confirm-hold="true"></input>
        <text>时</text>
      </view>
      <view class='p_time'>
        <input value="{{pminute3}}" type='number' maxlength="2" bindblur="piminute" confirm-hold="true"></input>
        <text>分</text>
      </view>
      <view class='p_btn' bindtap='pbtn'>确定</view>
    </block>
  </view>
</view>
<view class="btn {{current<all-1?'show':'hid'}}">
  <view class="menuebtn1 {{current>0?'menuebtn-active':''}}" bindtap='prev'>上一题</view>
</view>
<view class="btn {{all==current+1?'show':'hid'}}">
  <view class="menuebtn {{current>0?'menuebtn-active':''}}" bindtap='prev'>上一题</view>
  <view class="menuebtn {{disab?'show':'hid'}} " style='margin-left:40rpx;'>提交</view>
  <view class="menuebtn menuebtn-active {{disab?'hid':'show'}} " style='margin-left:40rpx;' wx:if='{{sc}}' bindtap='tijiao'>提交</view>
  <view class="menuebtn menuebtn-active {{disab?'hid':'show'}} " style='margin-left:40rpx; background: #999;' wx:if='{{!sc}}'>上传中</view>
</view>
<view class='all-item'>
  <text>{{current+1}}/{{all}}</text>
</view>