
<view class="as">
  <van-cell-group>
    <van-field value="{{ value }}" label="姓名" placeholder="请填写姓名" border="{{ false }}" bind:change="onChange" />
  </van-cell-group>

  <van-cell-group>
    <van-field value="{{ value }}" label="手机号" placeholder="请填写手机号" border="{{ false }}" bind:change="onChange" />
  </van-cell-group>

  <van-cell-group>
    <view class="text">
      <view class="sex">
        <van-field value="{{ value }}" label="性别" border="{{ false }}" bind:change="onChange" />
      </view>
      <view class="select">
        <van-radio-group value="{{ radio }}" bind:change="onChange" direction="horizontal">
          <van-radio name="1" checked-color="#FF8700">男</van-radio>
          <van-radio name="2" checked-color="#FF8700">女</van-radio>
        </van-radio-group>
      </view>
    </view>
  </van-cell-group>

  <!-- <van-cell-group>
    <van-field value="{{ value }}" label="收货地址" placeholder="请点击选择地址" border="{{ false }}" bind:change="onChange" is-link />
  </van-cell-group> -->

  <van-cell title="收货地址" value="请点击选择地址" is-link bind:click="showPopup" />
  <!-- 弹出窗内容 -->
    <van-popup show="{{ show }}" position="bottom" custom-style="height: 90%;" bind:close="onClose">
      <view class="tan">
         请选择收货地址
      </view>
      <!-- <van-cell icon="location-o" title="哈尔滨师范大学第一公寓2门312室"  size="large" label="吴迪（先生）182****2898" >
        <van-radio-group value="{{ radio }}" bind:change="onChange">
          <van-radio name="1">单选框 1</van-radio>
        </van-radio-group>
      </van-cell> -->
      <view class="a">
        <van-cell label="吴迪（先生）182****2898">
          <view slot="title">
            <van-radio-group value="{{ radio }}" bind:change="onChange" >
              <van-radio name="0" checked-color="#FF8700">
                <view class="van-cell-text" >哈尔滨师范大学第一公寓2门312室
                  <van-tag type="danger" style="margin-left: 8px;">默认</van-tag>
                </view>
                <!-- <view class="van-cell-text">吴迪（先生）182****2898</view> -->
      
              </van-radio>
            </van-radio-group>
          </view>
          <view class="xiugai">
            <van-icon name="edit" color="#9E9E9E" size="20px"/>
            <text >编辑</text>
          </view>
        </van-cell>
      </view>
<!-- 弹出窗内容--结束 -->
    </van-popup>


  <van-cell-group>
    <van-field value="{{ value }}" label="门牌号" placeholder="例：1号公寓2门312" border="{{ false }}" bind:change="onChange" />
  </van-cell-group>

  <van-cell-group>
    <view class="setUp">
      <view class="set">
        <van-field value="{{ value }}" label="设置默认" border="{{ false }}" bind:change="onChange" />
      </view>
      <view class="button">
        <van-switch checked="{{ checked }}" bind:change="onChange" size="18px" active-color="#0D9C2B" />
      </view>
    </view>
  </van-cell-group>
</view>




<!-- 修改地址页面 删除 保存按钮 -->
<view class="but2">
  <view class="f">
    <van-button type="primary" block size="small" color="#999999" round="true">删除</van-button>
  </view>
  <view class="t">
    <van-button type="primary" block size="small" color="#FF8700" round="true">保存</van-button>
  </view>
</view>