<!--mycomponent/yz_area/yz_area.wxml-->
<!-- 地址选择器组件 -->
<van-popup show="{{ showArea }}" bind:close="onClose" position="bottom" custom-style="height: 55%;">
  <van-nav-bar title="选择地址" left-text="取消" right-text="确认" bind:click-left="onClickLeft"
    bind:click-right="onClickRight" />
  <view style="text-align: center;">
    <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;"
      value="{{[pickerValue[0],pickerValue[1],pickerValue[2]]}}" bindchange="bindChange">
      <picker-view-column id="provinceData">
        <view wx:for="{{provinceData}}" wx:key="index" style="line-height: 50px">
          {{item.areaname}}
        </view>
      </picker-view-column>
      <picker-view-column id="cityData">
        <view wx:for="{{cityData}}" wx:key="index" style="line-height: 50px">
          {{item.areaname}}
        </view>
      </picker-view-column>
      <picker-view-column id="districtData">
        <view wx:for="{{districtData}}" wx:key="index" style="line-height: 50px">
          {{item.areaname}}
        </view>
      </picker-view-column>
    </picker-view>
  </view>
</van-popup>