@@ -10,6 +10,9 @@ Component({
},
CompletedOrNot: Function, //完成与否回调
+ options: {
+ multipleSlots: true
+ },
/**
* 组件的初始数据
@@ -8,5 +8,9 @@
</view>
</picker>
+ <slot name='slot1' wx:if="{{item.type=='custom'}}" slot='input' />
+ <slot name='slot2' wx:if="{{item.type=='custom'}}" slot='input' />
+ <slot name='slot3' wx:if="{{item.type=='custom'}}" slot='input' />
+ <slot name='slot4' wx:if="{{item.type=='custom'}}" slot='input' />
</van-field>
</van-cell-group>