省市区选择(pickLocation)

```html <view class="mt10 box flex"> <view class="link" data-name="city" bindtap="formPickLocation"></view> <view class="flex0 form_title"> <text>{{ form.city.title }}</text> </view> <view class="flex1 form_content"> <text>{{ form.city.value[1][0] + form.city.value[1][1] + form.city.value[1][2] }}</text> </view> <view class="flex0 p10 color_gray4"> <text class="peafowlIconfont peafowl-right"></text> </view> </view> ``` ```javascript Page({ data: { form: { city: { title: '所在地区', value: [[1635, 1716, 1721], ['江苏省', '无锡市', '滨湖区']]// 默认值,可选 } } }, // 单选选中后的回调 pickCalendarConfirm(name, value) { let _this = this; console.log('项目(' + name + ')选择了:' + value) } }); ```