index.hbs 1.36 KB
<div class="my-address-page yoho-page">
    <div class="page-wrap">
        {{# address}}
            <input type="hidden" name="_csrf" value="{{@root.csrfToken}}"/>
            <div class="address-item">
                <span class="name">{{{consignee}}}</span>
                <span class="tel">{{mobile}}</span>
                <p class="address-info">{{area}} {{{address}}}</p>
                <div class="action iconfont">
                    <a class="edit" href="/home/addressAct?id={{addressId}}">&#xe61e;</a>
                    <span class="del" data-id="{{addressId}}">&#xe621;</span>
                </div>
            </div>
        {{/ address}}
        <div class="tip">为提高配送时效,请您尽量准确填写四级地址。</div>
        <a class="add-address" data-href="/home/addressAct">
            添加新地址
        </a>

        <div class="confim-mask hide">
            <div class="confim-box">
                <div class="content">
                    您确定要删除地址?
                </div>
                <div class="action">
                    <span class="cancel">
                        取消
                    </span>
                    <span class="confim">
                        确认
                    </span>
                </div>
            </div>
        </div>
    </div>
    {{> address/address-list}}
</div>