|
@@ -8,9 +8,18 @@
|
|
|
</view>
|
|
|
</picker>
|
|
|
</view>
|
|
|
+ <!-- 性别选择器 -->
|
|
|
+ <view class="section" wx:if="{{item.type=='sex'}}" slot='input' catchtap="seleteSex">
|
|
|
+ <view class="picker">
|
|
|
+ <text wx:if="{{item.value}}" style="color:rgba(0, 0, 0, 1) ;">{{item.value}}</text>
|
|
|
+ <text wx:else>请选择</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <slot name='slot' wx:if="{{item.type=='slot'}}" slot='input' />
|
|
|
<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>
|
|
|
+</van-cell-group>
|
|
|
+<van-action-sheet show="{{ seleteSexShow }}" actions="{{ sexActions }}" bind:cancel='cancel' bind:select='handleSex' cancel-text="取消" />
|