forked from nsjcy/frontEnd/nsjcy

LAPTOP-RI7D261L\Mr Ke
2020-02-17 ab9bc98c6f9ab820f7f4f343b524f7b8310ef272
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<wux-popup
    position="bottom"
    visible="{{ popupVisible }}"
    hasHeader="{{ false }}"
    hasFooter="{{ false }}"
    mountOnEnter="{{ false }}"
    safeArea="bottom"
    bind:close="close"
    bind:closed="onClosed"
>
    <view class="{{ classes.wrap }}" wx:if="{{ mounted }}">
        <view class="{{ classes.toolbar }}" wx:if="{{ toolbar }}" catchtouchmove="noop">
            <view class="{{ classes.inner }}">
                <view class="{{ classes.cancel }}" hover-class="{{ classes.hover }}" bindtap="onCancel" wx:if="{{ toolbar.cancelText }}">{{ toolbar.cancelText }}</view>
                <view class="{{ classes.title }}">{{ toolbar.title }}</view>
                <view class="{{ classes.confirm }}" hover-class="{{ classes.hover }}" bindtap="onConfirm" wx:if="{{ toolbar.confirmText }}">{{ toolbar.confirmText }}</view>
            </view>
        </view>
        <wux-cascader-picker-view
            id="wux-picker"
            prefixCls="{{ multiPickerPrefixCls }}"
            pickerPrefixCls="{{ pickerPrefixCls }}"
            value="{{ inputValue }}"
            itemHeight="{{ itemHeight }}"
            itemStyle="{{ itemStyle }}"
            indicatorStyle="{{ indicatorStyle }}"
            indicatorClass="{{ indicatorClass }}"
            maskStyle="{{ maskStyle }}"
            maskClass="{{ maskClass }}"
            labelAlign="{{ labelAlign }}"
            defaultFieldNames="{{ fieldNames }}"
            options="{{ options }}"
            loading="{{ loading }}"
            cols="{{ cols }}"
            bind:valueChange="onValueChange"
            wx:if="{{ cascade }}"
        />
        <wux-multi-picker-view
            id="wux-picker"
            prefixCls="{{ multiPickerPrefixCls }}"
            pickerPrefixCls="{{ pickerPrefixCls }}"
            value="{{ inputValue }}"
            itemHeight="{{ itemHeight }}"
            itemStyle="{{ itemStyle }}"
            indicatorStyle="{{ indicatorStyle }}"
            indicatorClass="{{ indicatorClass }}"
            maskStyle="{{ maskStyle }}"
            maskClass="{{ maskClass }}"
            labelAlign="{{ labelAlign }}"
            defaultFieldNames="{{ fieldNames }}"
            options="{{ options }}"
            loading="{{ loading }}"
            bind:valueChange="onValueChange"
            wx:else
        />
    </view>
</wux-popup>
<slot></slot>