|
@@ -1,29 +1,45 @@
|
|
-<view class="section">
|
|
|
|
- <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 class="section" bindtap="show">
|
|
|
|
+ 请选择培训项目
|
|
|
|
+</view>
|
|
|
|
|
|
- <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 class="model" wx:if="{{show}}">
|
|
|
|
+ <view class="model_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>
|
|
|
|
|
|
- <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 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>
|
|
- </picker>
|
|
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
<view class="content">
|
|
<view class="content">
|
|
<view class="list" wx:for="{{list}}" wx:key="*this">
|
|
<view class="list" wx:for="{{list}}" wx:key="*this">
|
|
<view class="title">{{item.type}}培训班</view>
|
|
<view class="title">{{item.type}}培训班</view>
|