selectpopup.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!--components/selectpopup/selectpopup.wxml-->
  2. <!-- start -->
  3. <view class="popup_select_bg" style=" visibility:{{popupSelectDisplay}}" id="out" bindtap='exitClick'>
  4. <view class="popup_select_content_bg " style="padding:{{padding}}rpx" id="popup_select_content" animation="{{animation_select}}">
  5. <view class="popup_select_content_top" style="border-bottom-left-radius: {{padding== 0 ? '0':radius}}rpx;border-bottom-right-radius: {{padding== 0 ? '0':radius}}rpx; border-top-left-radius:{{radius}}rpx;border-top-right-radius:{{radius}}rpx;">
  6. <view class="popup_select_item_bg" style="height:{{itemHeight}}rpx" wx:for="{{selectItemText}}" wx:key="selectItemText" >
  7. <view class="popup_select_item_view" id="list_{{index}}" bindtap='click' hover-class="click_hover" hover-stay-time="100" style="color:{{selectItemTextColor[index]}}"> {{item}} </view>
  8. <view class="popup_select_item_splitLine" hidden="{{(index+1)==selectItemText.length? true:false}}" />
  9. </view>
  10. </view>
  11. <view class="popup_select_item_splitLine" hidden="{{((padding== 0)&showExit) ? false:true}}" />
  12. <view class="popup_select_content_exit" hidden="{{!showExit}}" style="margin-top: {{padding== 0 ? '0':padding}}rpx; border-radius: {{padding== 0 ? '0':radius}}rpx;">
  13. <view class="popup_select_item_bg" style="height:{{itemHeight}}rpx">
  14. <view class="popup_select_item_view" id="cancel" bindtap='exitClick' hover-class="click_hover" hover-stay-time="100" style="color:{{exitColor}}"> {{exitText}} </view>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. <!-- end -->