index.wxml 1009 字节
Newer Older
5
520MianXiangDuiXiang520 已提交
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>