<!--packageD/member/myOrder/refund/components/editAddressPop/editAddressPop.wxml-->


<van-popup custom-style="width:100%;height:60%;" show="{{popShow}}" position="bottom">
  <view class="addcontent">
    <van-nav-bar title="编辑地址" left-text="" right-text="" left-arrow bind:click-left="setPopShow" />
    <view class="address_a">
      <view class="ul">
        <view class="li">
          <view class="span">收件人：</view>
          <input type="text" model:value="{{username}}" maxlength="{{20}}" placeholder="请输入收件人" />
        </view>
        <view class="li">
          <view class="span">联系电话：</view>
          <input type="number" model:value="{{mobile}}" maxlength="{{15}}" placeholder="请输入联系电话" />
        </view>
      </view>
    </view>

    <view class="addName">
      <van-cell title="所在地区：" value="{{addressName?addressName:'请选择收货地址'}}" is-link bind:click="openDateLwtbtn" />
    </view>
    <view class="addstreet" wx:if="{{strShow}}">
      <van-cell title="街道：" value="{{street?street:'请选择街道'}}" is-link bind:click="streetChoose" />
    </view>
    <view class="text_adderss">
      <input placeholder="请输入详细地址" model:value="{{address}}" maxLength="100" />
    </view>
    <view class="adderss_btn" catchtap="appendAddress">
      <view class="button">编辑</view>
    </view>
  </view>
</van-popup>



<view class="b-mask {{openDateLw}}" bindtap="_closeDateLw"></view>
<view class="dateBe {{openDateLw}}">
  <view class="head">
    <view class="ll" bindtap="_closeDateLw">取消</view>
    <view class="rr" bindtap="_okAddress">确定</view>
  </view>
  <view class="main">
    <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>
</view>
<van-popup custom-style="width:100%;height:80%;overflow:auto;" show="{{streetShow}}" position="bottom"
  overlay="{{false}}">
  <view class="streetContent">
    <van-nav-bar title="选择街道" left-text="" right-text="" left-arrow bind:click-left="streetClose" />
    <van-cell-group>
      <van-cell wx:for="{{districtVal}}" wx:for-index="districtValindex" wx:key="{{districtValindex}}"
        title="{{item.areaname}}" data-item="{{item}}" is-link bindtap="streetConfirm" />
    </van-cell-group>
  </view>
</van-popup>

















