select-address.hbs 1.5 KB
<div class="my-address-page select-address-page yoho-page">
    <div class="page-wrap clearfix">
        {{# address}}
        <input type="hidden" name="_csrf" value="{{@root.csrfToken}}"/>
        <div class="address-item" data-address-id="{{address_id}}" data-is-support="{{is_support}}" data-href="{{../moreUrl}}">
            <span class="name">{{{consignee}}}</span>
            <span class="tel">{{mobile}}</span>
            <p class="address-info" data-address="{{area}} {{address}}">{{area}} {{{address}}}</p>
            <div class="action iconfont">
                <span class="edit" data-href="/home/addressAct?id={{address_id}}&refer=buynow&product_sku={{../product_sku}}&buy_number={{../buy_number}}">&#xe61e;</span>
                <span class="del" data-id="{{address_id}}">&#xe621;</span>
            </div>
        </div>
        {{/ address}}

        <a class="add-address" data-href="/home/addressAct?refer=buynow&product_sku={{product_sku}}&buy_number={{buy_number}}">
           添加新地址
        </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>
</div>