12345678910111213141516171819202122232425 |
- <!--pages/my/address/addSite/addSite.wxml-->
- <view class="form">
- <van-field bind:input="input1" clearable label="姓名" value='{{name}}' placeholder="请填写您的姓名" />
- <van-field bind:input="input2" clearable label="手机" value='{{phone}}' placeholder="请填写您的手机号码" />
- <van-field bind:input="input3" clearable label="地址" value='{{address}}' 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}}" bindtap="addAddress">保存并使用</view>
- <view class="footerBtn " wx:else>保存并使用</view>
- </view>
- <view class="footer flex ju-c" wx:else>
- <view class="footerBtn border" bindtap="del" data-id="{{id}}">删除</view>
- <view class="footerBtn footerBtn2 skyBlue" bindtap="updateaddr" data-id="{{id}}">保存并使用</view>
- </view>
|