Commit 460b6bf4 by 姜雷

Merge branch 'develop' into test

parents 522498da 1194e3c7
...@@ -111,7 +111,7 @@ Component({ ...@@ -111,7 +111,7 @@ Component({
}); });
} else { } else {
this.setData({ this.setData({
selected: this.data.range[value].id, selected: this.data.filterList[value].id,
selectedIndex: value, selectedIndex: value,
}); });
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!-- </picker> --> <!-- </picker> -->
<view class="areaselect-picker" bindtap="inputClickHandle"> <view class="areaselect-picker" bindtap="inputClickHandle">
<view wx:if="{{mode === 'page' && selected}}" class="select-value">{{showText}}</view> <view wx:if="{{mode === 'page' && selected}}" class="select-value">{{showText}}</view>
<view wx:elif="{{selected}}" class="select-value">{{range[selectedIndex][rangeKey]}}</view> <view wx:elif="{{selected}}" class="select-value">{{filterList[selectedIndex][rangeKey]}}</view>
<view wx:else class="select-placeholder">{{placeholder}}</view> <view wx:else class="select-placeholder">{{placeholder}}</view>
<image class="select-icon" src="../../../images/btn_xiala@2x.png" mode="aspectFill" /> <image class="select-icon" src="../../../images/btn_xiala@2x.png" mode="aspectFill" />
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment