forked from nsjcy/frontEnd/nsjcy

1
liuwh
2020-03-23 ed96dab91fbac7159525fe557af2ecdd135c791d
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
<wux-spin nested spinning="{{ loading }}">
    <view class="wux-class {{ prefixCls }}" data-picker-value="{{ inputValue }}">
        <wux-picker-view
            wx:for="{{ cols }}"
            wx:for-item="col"
            wx:key="index"
            prefixCls="{{ pickerPrefixCls }}"
            value="{{ inputValue[index] }}"
            controlled
            itemHeight="{{ itemHeight }}"
            itemStyle="{{ itemStyle }}"
            indicatorStyle="{{ indicatorStyle }}"
            indicatorClass="{{ indicatorClass }}"
            maskStyle="{{ maskStyle }}"
            maskClass="{{ maskClass }}"
            labelAlign="{{ labelAlign }}"
            defaultFieldNames="{{ fieldNames }}"
            options="{{ col }}"
            data-index="{{ index }}"
            style="{{ 'width: ' + 100 / cols.length + '%' }}"
            bind:beforeChange="onBeforeChange"
            bind:valueChange="onValueChange"
            bind:scrollChange="onScrollChange"
        />
    </view>
</wux-spin>