order-edit-tpl.hbs 2.03 KB
<script id="edit-dialog-tpl" type="text/html">
    <header>订单修改</header>
    <p class="tip">修改收货信息:</p>
    <ul class="edit-order-info">
        <li>
            <label><i class="form-required">*</i>收  货  人:</label>
            <input type="text" class="inp" name="name" value="{{editInfo.userName}}" placeholder="请输入您的姓名">
            <span class="error"><i class="order-icon icon-error"></i><b>请输入您的姓名</b></span>
        </li>
        <li>
            <label><i class="form-required">*</i>所在区域:</label>
            <select name="province" class="ml10" data-areacode="{{editInfo.areaCode}}">
            </select>
            <select name="city">
            </select>
            <select name="county">
            </select>
            <span class="error"><i class="order-icon icon-error"></i><b>请填写完整的省市区信息</b></span>
        </li>
        <li>
            <label><i class="form-required">*</i>详细地址:</label>
            <input type="text" class="inp" placeholder="街道名称或小区名称" name="address" value="{{editInfo.address}}">
            <span class="error"><i class="order-icon icon-error"></i><b>请填写详细地址</b></span>
        </li>
        <li>
            <label><i class="form-required">*</i>手机号码:</label>
            <input type="text" class="inp" placeholder="请输入手机号码(重要必填)" name="phone" maxlength="11" value="{{editInfo.mobile}}">
            <span class="error"><i class="order-icon icon-error"></i><b>请输入手机号码(重要必填)</b></span>
        </li>
        <li>
            <label>电话号码:</label>
            <input type="text" class="inp w40" placeholder="区号" name="tel-code" value="{{editInfo.phoneCode}}"> -
            <input type="text" class="inp" placeholder="请输入电话号码(选填)" name="tel" value="{{editInfo.phoneNum}}">
            <span class="error"><i class="order-icon icon-error"></i><b>只能包含数字、- 组合</b></span>
        </li>
    </ul>
</script>