<view class="section" bindtap="show">
  {{year}}年各类安全培训计划
</view>

<view class="model" wx:if="{{show}}">
    <view class="model_view">
        <view class="model-title">请选择正确的培训科目：</view>
        <view class="item">
              <label>培训科目</label>
              <picker data-id='1' bindchange="bindPickerChange" value="{{index1}}" range="{{array1}}" range-key="name">
                <view class="picker">
                <text wx:if="{{index1<0}}">请选择</text>
                  {{array1[index1].name}}
                  <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
                </view>
              </picker>
        </view>

        <view class="item">
              <label>作业类别</label>
              <picker data-id='2' bindchange="bindPickerChange" value="{{index2}}" range="{{array2}}" range-key="name">
              <view class="picker">
              <text wx:if="{{index2<0}}">请选择</text>
                {{array2[index2].name}}
                <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
              </view>
            </picker>
        </view>

        <view class="item">
              <label>准操项目</label>
              <picker data-id='3' bindchange="bindPickerChange" value="{{index3}}" range="{{array3}}" range-key="name">
              <view class="picker">
              <text wx:if="{{index3<0}}">请选择</text>
                {{array3[index3].name}}
                <image src="../../images/arrow-bottom.png" mode="widthFix"></image>
              </view>
            </picker>
        </view>

        <view bindtap="sure" class="btn">确定</view>
    </view>
</view>
<view class="content">
  <view class="list" wx:for="{{list}}" wx:key="*this">
      <!-- <view class="title">{{item.type}}培训班</view> -->
      <view class="list kc" wx:for="{{item.classes}}" wx:for-item="class" wx:key="*this">
          <text class="name" decode="{{true}}">{{class.name}}</text>
          <text decode="{{true}}">计划100人/已报名{{class.signuped_count}}</text>
          <navigator url="../post/post?class_id={{class.id}}&price={{class.price_new}}_{{class.price_re}}_{{class.price_change}}&&type=3"  class="apply">立即报名11</navigator>
      </view>
  </view>
</view>