Select.wxml
512 Bytes
<!-- components/Select/Select.wxml -->
<view class='com-selectBox'>
<view class='com-sContent' bindtap='selectToggle'>
<view class='com-sTxt'>{{nowText}}</view>
<image src='../../public/image/index/jinru1@2x.png' class='com-sImg' animation="{{animationData}}" />
</view>
<view class='com-sList' wx:if="{{selectShow}}">
<view
wx:for="{{propArray}}"
data-index="{{index}}"
wx:key=''
class='com-sItem'
bindtap='setText'>
{{item.text}}
</view>
</view>
</view>