<!--pages/my/address/addSite/addSite.wxml-->
<view class="form">
    <van-field bind:input="input1" clearable label="姓名" placeholder="请填写您的姓名" />
    <van-field bind:input="input2" clearable label="手机" placeholder="请填写您的手机号码" />
    <van-field bind:input="input3" clearable label="地址" placeholder="填写宿舍楼名称、宿舍号信息" />
</view>

<view class="bg"></view>

<view class="default flex ju-b">
    <view class="le">
        <view class="tit">设为默认地址</view>
        <view class="tips">将该地址作为每次下单时默认选择的地址</view>
    </view>
    <van-switch checked="{{ checked4 }}" size="20px" bind:change="onChange" />
</view>
<view class="footer" wx:if="{{type}}">
    <view class="footerBtn skyBlue" wx:if="{{checked1 && checked2 && checked3}}">保存并使用</view>
    <view class="footerBtn " wx:else>保存并使用</view>
</view>

<view class="footer flex ju-c" wx:else>
    <view class="footerBtn border">删除</view>
    <view class="footerBtn footerBtn2 skyBlue" >保存并使用</view>
</view>