- picker组件
<view class="section"><picker mode="region" bindchange="bindRegionChange" value="{{region}}"><view class="picker">省市区选择: {{region[0]}} {{region[1]}} {{region[2]}}</view></picker>
</view>data: {region: ['', '', ''] // ['广东省','深圳市','宝安区']},bindRegionChange: function(e) {console.log('picker发送选择改变,携带值为', e.detail.value)this.setData({region: e.detail.value})}