|
- <!--components/Select/index.wxml-->
- <view class="select_box">
- <picker bindchange="updateChange" value="{{current}}" data-current="{{current}}" range="{{data}}" range-key="{{rangeKey}}" disabled="{{disabled}}">
- <view class="picker" wx:if="{{data[current][rangeKey]}}">
- {{data[current][rangeKey]}}
- </view>
- <view wx:else class="picker" style="color: {{disabled? '#999999': 'rgba(0, 0, 0, 0.5)'}};">
- 请选择
- </view>
- </picker>
- <image class="select_img" src="../../assets/img/select.png"></image>
- </view>
|