myaddcompile.wxml 1.1 KB
<!-- 修改收货地址 -->
<view class="itemInput display">
    <view class="itemName" > 姓名</view>
    <input placeholder="请输入姓名" value="{{name}}" bindinput="bindName" placeholder-class="plaSty"></input>
</view>
<view class="itemInput display">
    <view class="itemName">联系方式</view>
    <input placeholder="请输入联系方式" value="{{phone}}" bindinput="bindPhone" maxlength="11" placeholder-class="plaSty"></input>
</view>
<view class="itemInput display">
    <view class="itemName">详细地址</view>
    <input placeholder="请输入详细地址" value="{{address}}" bindinput="bindAddress" placeholder-class="plaSty"></input>
</view>


<view class="itemInput center display">
    <view class="itemName">设为默认</view>
    <switch checked="{{addressDetail.delFlag==0?false:true}}" bindchange="switchChange" color="#21AE59"/>
</view>
<!-- 编辑结束 -->
<view class="newaddress">
    <view class="newaddress_left" bindtap="bindDelete" wx:if="{{type=='change'}}">删除</view>
    <view class="newaddress_right" bindtap="save">保存</view>
</view>