index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <table class="dsm-default-table">
  4. <thead>
  5. <tr>
  6. <th class="w80">{$Think.lang.consignee}</th>
  7. <th class="w150">{$Think.lang.area}</th>
  8. <th class="tl">{$Think.lang.street_address}</th>
  9. <th class="w120">{$Think.lang.telephone_or_mobile}</th>
  10. <th class="w150"></th>
  11. <th class="w110">{$Think.lang.ds_handle}</th>
  12. </tr>
  13. </thead>
  14. <tbody>
  15. {notempty name="address_list"}
  16. {foreach name="address_list" item="address"}
  17. <tr class="bd-line">
  18. <td>{$address.address_realname}</td>
  19. <td>{$address.area_info}</td>
  20. <td class="tl"><em class="chain"></em>{if $address.cityerror != ''}<span style='color: #ff4040;'>{$address.cityerror}</span>{/if}{if $address.chain_id>0}[{$Think.lang.self_pick_up_service_station}]{/if}{$address.address_detail}</td>
  21. <td><p><i class="iconfont">&#xe697;</i>{$address.address_tel_phone}</p>
  22. <p><i class="iconfont">&#xe60e;</i>{$address.address_mob_phone}</p></td>
  23. <td></td>
  24. <td class="dsm-table-handle">
  25. <span>
  26. {if $address.chain_id>0}
  27. <a href="{:url('Memberaddress/chain_add',['address_id'=>$address.address_id])}" class="btn-blue"><i class="iconfont">&#xe731;</i><p>{$Think.lang.ds_edit}</p></a>
  28. {else/}
  29. <a href="{:url('Memberaddress/edit',['address_id'=>$address.address_id])}" class="btn-blue"><i class="iconfont">&#xe731;</i><p>{$Think.lang.ds_edit}</p></a>
  30. {/if}
  31. </span>
  32. <span>
  33. <a href="javascript:void(0)" onclick="ds_ajaxget_confirm('{:url('Memberaddress/drop',['address_id'=>$address.address_id])}','{$Think.lang.ds_ensure_del}');" class="btn-red" ><i class="iconfont">&#xe725;</i>
  34. <p>{$Think.lang.ds_delete}</p>
  35. </a>
  36. </span>
  37. </td>
  38. </tr>
  39. {/foreach}
  40. {else}
  41. <tr>
  42. <td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
  43. </tr>
  44. {/notempty}
  45. </tbody>
  46. </table>
  47. {/block}