PickerSelect.wxml
894 Bytes
<!--packageCrowdFunding/components/PickerSelect/PickerSelect.wxml-->
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="{{popupHeight || '60%'}}" title="{{title}}">
<!-- <view class="sub-title text-center">{{title}}</view> -->
<scroll-view class="picker_select_box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{optionList}}" wx:key="index">
<view class="picker_item {{item.active?'active':''}}" bindtap="changeitem" data-target="{{item}}">
<view class="checked">
<view class="checked_icon" hidden="{{!item.active}}">
<image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/components/images/choose.png" />
</view>
</view>
<view class="value">
{{item[pickerObj.optionName] || ''}}
</view>
</view>
</block>
</scroll-view>
</popup>