epmet 工作端 小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

<wux-popup
position="bottom"
visible="{{ visible }}"
hasHeader="{{ false }}"
hasFooter="{{ false }}"
mountOnEnter="{{ false }}"
safeArea="bottom"
bind:close="close"
bind:closed="onClosed"
>
<view class="wux-class {{ classes.wrap }}" wx:if="{{ shouldRender }}" style="background: #fff">
<view class="{{ classes.hd }}">
<view class="{{ classes.toolbar }}" wx:if="{{ title || cancelText || confirmText }}" catchtouchmove="noop">
<view class="{{ classes.inner }}">
<view class="{{ classes.cancel }}" hover-class="{{ classes.hover }}" bindtap="onCancel" wx:if="{{ cancelText }}">{{ cancelText }}</view>
<view class="{{ classes.title }}">{{ title }}</view>
<view class="{{ classes.confirm }}" hover-class="{{ classes.hover }}" bindtap="onConfirm" wx:if="{{ confirmText }}">{{ confirmText }}</view>
</view>
</view>
</view>
<view class="{{ classes.bd }}">
<wux-cascader-view
id="wux-cascader-view"
controlled="{{ controlled }}"
defaultValue="{{ innerValue }}"
value="{{ innerValue }}"
options="{{ options }}"
full="{{ full }}"
height="{{ height }}"
placeholder="{{ chooseTitle }}"
defaultFieldNames="{{ defaultFieldNames }}"
skipAnimation="{{ skipAnimation }}"
bind:change="onChange"
bind:load="onLoadOptions"
bind:tabsChange="onTabsChange"
/>
</view>
</view>
</wux-popup>