index.hbs 1.18 KB
<div class="my-address-page yoho-page">
    <div class="page-wrap">
        {{# address}}
            <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}}
        <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>