Authored by ccbikai

添加新地址页面

1 {{> layout/header}} 1 {{> layout/header}}
2 <div class="my-address-page yoho-page"> 2 <div class="my-address-page yoho-page">
3 <div class="my-edit-address-page page-wrap"> 3 <div class="my-edit-address-page page-wrap">
4 - {{# address}}  
5 <form class="edit-address"> 4 <form class="edit-address">
6 - <input type="hidden" name="id" value="{{id}}"> 5 + <input type="hidden" name="id" value="{{address.id}}">
7 <label class="username"> 6 <label class="username">
8 收件人姓名 7 收件人姓名
9 - <input type="text" name="consignee" maxlength="20" value="{{consignee}}"> 8 + <input type="text" name="consignee" maxlength="20" value="{{address.consignee}}">
10 </label> 9 </label>
11 <label class="mobile"> 10 <label class="mobile">
12 手机号码 11 手机号码
13 - <input type="text" name="mobile" value="{{mobile}}"> 12 + <input type="text" name="mobile" value="{{address.mobile}}">
14 </label> 13 </label>
15 <label class="area"> 14 <label class="area">
16 省市区 15 省市区
17 - <input type="hidden" name="area_code" value="{{area_code}}">  
18 - <input type="text" name="area" value="{{area}}" readonly> 16 + <input type="hidden" name="area_code" value="{{address.area_code}}">
  17 + <input type="text" name="area" value="{{address.area}}" readonly>
19 <span class="iconfont">&#xe604;</span> 18 <span class="iconfont">&#xe604;</span>
20 </label> 19 </label>
21 <label class="address"> 20 <label class="address">
22 详细地址 21 详细地址
23 - <textarea name="address" maxlength="255">{{address}}</textarea> 22 + <textarea name="address" maxlength="255">{{address.address}}</textarea>
24 </label> 23 </label>
25 24
26 </form> 25 </form>
27 - {{/ address}}  
28 26
29 <div class="submit"> 27 <div class="submit">
30 确认 28 确认