PopupSelect.wxml 991 Bytes
<popup
       title="{{optionsObj.name}}"
       show="{{show}}"
       bindconfirm="confirm"
       height="{{optionsObj.height}}">
	<scroll-view scroll-y class="box">
		<block
		       wx:for="{{optionsList}}"
		       wx:for-item="item"
		       wx:key="ind"
		       wx:for-index="ind">
			<view
			      class="list y-center child {{item.active?'active':''}}"
			      data-item="{{item}}"
			      data-index="{{ind}}"
			      catchtap="choose">
				<view wx:if="{{!item.type}}">{{item.value}}</view>
				<view wx:else class="customCom">
					<view>{{item.label}}</view>
					<input
					       data-item="{{item}}"
					       data-index="{{ind}}"
					       bindinput="handleInput"
					       class="inputSty"
					       value="{{item.value}}"
					       placeholder="请输入"
					       placeholder-class="placeholderStyle" />
				</view>
				<view class="icon">
					<image src="../../../../images/choose.png" />
				</view>
			</view>
		</block>
	</scroll-view>
</popup>