ensure-tpl.hbs 2.33 KB


<script id="address-tpl" type="text/html">
    <div class="title">\{{title}}</div>
    <p class="prompt">\{{title}}、电话为选填项,其他均为必填项</p>
    <ul class="info-wrap">
        <li>
            <span class="left-rd"><i class="red">*</i>收货人:</span>
            <input type="text" name="consignee" value="\{{name}}" placeholder="请输入您的姓名">
            <p class="caveat-tip"></p>
        </li>
        <li>
            <span class="left-rd"><i class="red">*</i>所在区域:</span>
            <div class="area-box">
                <span>请选择省市区</span>
                <span class="area-text"></span>
                <div class="area-select">
                    <ul class="clearfix">
                        <li class="area-sel-tab tab-on">
                            省份
                            <div class="province-list opt-list"></div>
                        </li>
                        <li class="area-sel-tab">
                            城市
                            <div class="city-list opt-list">

                            </div>
                        </li>
                        <li class="area-sel-tab">
                            区县
                            <div class="area-list opt-list">

                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <p class="caveat-tip"></p>
        </li>
        <li>
            <span class="left-rd"><i class="red">*</i>详细地址:</span>
            <input type="text" name="address" value="\{{name}}" placeholder="街道名称或小区名称">
            <p class="caveat-tip"></p>
        </li>
        <li>
            <span class="left-rd"><i class="red">*</i>手机号码:</span>
            <input type="text" name="mobile" value="\{{name}}" placeholder="请输入手机号码(重要必填)">
            <p class="caveat-tip"></p>
        </li>
        <li>
            <span class="left-rd">电话号码:</span>
            <input type="text" name="tel" value="\{{name}}" placeholder="请输入电话号码(选填)">
            <p class="caveat-tip"></p>
        </li>
        <li>
            <span class="left-rd"></span>
            <label class="radio-btn">设置为默认收货地址</label>
        </li>
    </ul>
</script>