Authored by ccbikai

添加新地址页面

{{> layout/header}}
<div class="my-address-page yoho-page">
<div class="my-edit-address-page page-wrap">
{{# address}}
<form class="edit-address">
<input type="hidden" name="id" value="{{id}}">
<input type="hidden" name="id" value="{{address.id}}">
<label class="username">
收件人姓名
<input type="text" name="consignee" maxlength="20" value="{{consignee}}">
<input type="text" name="consignee" maxlength="20" value="{{address.consignee}}">
</label>
<label class="mobile">
手机号码
<input type="text" name="mobile" value="{{mobile}}">
<input type="text" name="mobile" value="{{address.mobile}}">
</label>
<label class="area">
省市区
<input type="hidden" name="area_code" value="{{area_code}}">
<input type="text" name="area" value="{{area}}" readonly>
<input type="hidden" name="area_code" value="{{address.area_code}}">
<input type="text" name="area" value="{{address.area}}" readonly>
<span class="iconfont">&#xe604;</span>
</label>
<label class="address">
详细地址
<textarea name="address" maxlength="255">{{address}}</textarea>
<textarea name="address" maxlength="255">{{address.address}}</textarea>
</label>
</form>
{{/ address}}
<div class="submit">
确认
... ...