order-ensure.phtml 26.2 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
{{> layout/header}}
<div class="order-ensure-page yoho-page clearfix">
{{# orderEnsure}}
    <div class="order-edit">
        <input type="hidden" id="recordMobileNumb" value="{{receiverMobile}}">
        <div class="order-title">
            <ul>
                <li class="first">查看购物车</li>
                <li class="active">填写订单</li>
                <li class="end">付款,完成购买</li>
            </ul>
        </div>

        <div class="order-edit-main" id="order-edit-main" {{#isNewUser}}data-new="new"{{/isNewUser}} cartType="{{cartType}}">
            <h2 class="title">请填写并核对以下信息
                <a href="{{cartUrl}}" class="btn_backcart"></a>
            </h2>
            <div class="order-content">
                <div class="order-selection address-list">
                    <h2>收货地址:<span>[修改]</span></h2>
                    <div class="address-list-inner">
                    <ul class="exist-address-list">
                        {{#each hasAddress}}
                        <li class="has-exist-address">
                            <input class="radio" type="radio" name="exist-address" id="{{id}}" {{#if checked}}checked{{/if}}/>
                            <label for="{{id}}">
                                <strong>{{user}}</strong>
                                <span>{{address}}</span>
                                <b class="default-address">设为默认地址</b>
                                <div class="order-modify-btn">
                                    <span class="address-modify">[修改]</span>
                                    <span class="address-del">[删除]</span>
                                </div>
                            </label>
                        </li>
                        {{/each}}

                        <li class="use-new-address hide">
                            <input class="radio add-address" type="radio" name="address" id=""/>
                            <label for="">使用新地址</label>
                        </li>
                    </ul>

                    <div class="address-manage hide" cart-type="{{cartType}}">
                        <ul>
                            <li>
                                <span class="address-legend"><i>*</i>收货人姓名:</span>
                                <input type="text" name="name" class="name text-input"/>
                                <span>请填写您的真实姓名,最多5个汉字</span>
                            </li>
                            <li>
                                <span class="address-legend"><i>*</i>省市:</span>
                                <select name="province" id="" class="text-input">
                                </select>
                                <select name="city" id="" class="text-input">
                                </select>
                                <select name="county" id="" class="text-input">
                                </select>
                                <input type="text" name="address" class="text-input"/>
                                <span>标'*'的为支持加急送的地区,请输入收货的详细地址</span>
                            </li>
                            <li>
                                <span class="address-legend"><i>*</i>手机号码:</span>
                                <input type="text" name="phone" class="text-input"/>
                                <span>填写正确手机号便于接收发货和收货通知</span>
                            </li>
                            <li>
                                <span class="address-legend">固定电话:</span>
                                <div class="address-tel-input">
                                    <input type="text" name="tel-code" class="tel-lengend text-input"/>
                                    <input type="text" name="tel" class="text-input"/>

                                </div>
                                <span>如:010-12345678,固话和手机号至少填一项</span>
                            </li>
                            <li>
                                <span class="address-legend">电子邮件:</span>
                                <input type="text" name="mail" class="text-input"/>
                                <span>用来接收订单提醒邮件,便于您及时了解订单状态</span>
                            </li>
                            <li>
                                <span class="address-legend">邮编:</span>
                                <input type="text" name="code" class="text-input"/>
                                <span>请填写准确的邮编,以确保商品尽快送达</span>
                            </li>
                        </ul>
                    </div>
                    <span class="save-btn hide">保存并送到这个地址</span>
                    </div>
                </div>

                <div class="order-selection pay-time">
                    <h2>支付及送货时间:<span class="switch-pay-modify">[修改]</span></h2>
                    <ul class="modity-pay-info">
                        <li>付款方式:<span>{{defaultPayWay}}</span></li>
                        {{#if isPreSell}}
                        <li class="prev-sell-item">发货时间:商品到货后立即发货</li>
                        {{/if}}
                        <li>送货时间:<span>{{defaultDelivery}}</span></li>
                        <li>送货前联系我:<span>否</span></li>
                    </ul>

                    <div class="pay-time-modify hide">
                        <h3 class="pay-time-title">支付方式</h3>
                        <ul>
                            <li class="pay-dashed-hr pay-recommend">
                                <div class="pay-type-legend">
                                    <input value="1" {{#if onlinePay.checked}} checked{{/if}} class="radio {{#if onlinePay.checked}}checked{{/if}}" name="pay-type" type="radio" id="" data-pay="{{onlinePay.paymentId}}"/>
                                    <label for="">在线支付(推荐)</label>
                                </div>
                                <span class="pay-type-legend">查看支持在线支付的银行和平台</span>
                                <div class="support-type hide">
                                    <h4>支持以下支付平台在线支付:</h4>
                                    <ul>
                                    {{#each supportLine}}
                                    <li><img src="{{src}}" alt=""/></li>
                                    {{/each}}
                                    </ul>
                                    <h4>支持以下银行在线支付:</h4>
                                    <ul>
                                    {{#each supportBank}}
                                    <li><img src="{{src}}" alt=""/></li>
                                    {{/each}}
                                    </ul>
                                </div>
                            </li>

                            <li>
                              {{#if supportDeliveryPay}}
                                <input value="2" {{#if deliveryPay.checked}}checked{{/if}} class="radio {{#if deliveryPay.checked}}checked{{/if}}" name="pay-type" type="radio" id="" data-pay="{{deliveryPay.paymentId}}"/>
                              {{/if}}
                                <label for="">货到付款</label>
                                <span class="pay-type-tips">
                                  {{#if packages}}
                                   注:您订单中的商品暂不支持货到付款,请您选择在线支付。
                                  {{^}}
                                   注:{{paymentInCashInfo}}
                                  {{/if}}
                                </span>
                            </li>
                        </ul>

                        <h3>送货时间</h3>
                        <ul>
                            {{#each delivery}}
                            <li>
                                <input {{#if checked}}checked{{/if}} value={{id}} class="radio" name="pay-time-radio" type="radio" id="{{id}}"/>
                                <label for="">{{desc}}</label>
                            </li>
                            {{/each}}

                            <li class="pay-dashed-hr pay-type-tips">声明:我们会努力按照您指定的时间配送,但因为天气、交通等各类因素影响,您的订单有可能会有延误现象,敬请谅解!</li>

                            <li>
                                <span>送货前是否联系:</span>
                                <input value="Y" class="radio" name="call-me" type="radio" id=""/>
                                <label for="">是</label>
                                <input value="N" checked class="radio" name="call-me" type="radio" id=""/>
                                <label for="">否</label>
                            </li>
                        </ul>

                        <span class="pay-btn">确定</span>
                    </div>
                </div>

                <div class="order-selection select-express">
                    <h2>选择快递:</h2>
                    {{#each carriageList}}
                    <div class="express-list">
                        <input {{# checked}}checked{{/ checked}} class="radio" type="radio" name="carriagegroup" id="common-{{id}}" value="{{id}}"/>
                        <label for="common-express">{{name}}:&nbsp;&nbsp;运费 ¥{{value}}  {{desc}}</label>
                    </div>
                    {{/each}}
                    <div class="express-list express-tips">注:配送会由于天气,交通等不可抗拒的客观因素造成您收货时间延迟,请您知悉。
                    </div>
                    <div class="express-list hide is-sup"><span class="sf">您所选择的区域暂不在顺丰派送范围内,</span><a style="text-decoration: none;" target="_blank" href="{{sfUrl}}">点击查看详情</a></div>
                    <div class="express-list sf hide">如您购买的商品为航空禁运品顺丰会用陆运的方式给你派送,预计3-5天送达,请您见谅</div>
                </div>
            </div>
        </div>
    </div>
    <!--   订单提示-->

	{{#if packages}}
	<div id="differentOrder" class="differentOrder">
		<p class="warn">
			温馨提示:您购买的商品<span class="red">分属不同的仓库</span>,需要调拨,将被拆分为多个包裹送达
			<span class="why">
			</span>
		</p>
		<div id="differentBag" class="differentBag">
			{{#each packages}}
			<div class="bag">
				<h3>
					{{title}}
				</h3>
				<p class="pre">
				</p>
				<div class="bagDetil">
					<ul>
						{{#each goodlist}}
						<li >
							<img src={{src}}/>
							{{#if goodsType}}
							<p class="{{classname}}" >{{goodsType}}</p>
							{{/if}}
						</li>
						{{/each}}
					</ul>
				</div>
				<p class="next">
				</p>
				{{#if fee}}
				    <p class="express-fee">运费:¥{{fee}}元(原价{{orign}}元,优惠{{count}}元)</p>
				{{else}}
					<p class="express-fee">运费:¥0.00元</p>
				{{/if}}
			</div>
			{{/each}}

		</div>
	</div>
	{{/if}}
    <div class="order-pay">
        <div class="pay-wapper">
        <table>
            <thead>
                <tr>
                    <th style="width:40%;">
                        商品信息
                    </th>
                    <th style="width:10%;">单价(元)</th>
                    <th style="width:10%;">返有货币</th>
                    <th style="width:10%;">数量</th>
                    <th style="width:10%;">小计(元)</th>
                    <th style="width:20%;">商品金额(元)</th>
                </tr>
            </thead>
            <tbody>
                {{#each orderProducts}}
                <tr>
                    <td>
                        <div class="pay-pro">
                            <a class="pay-pro-icon" href="{{link}}">
                            <img src="{{imgCover}}" />
                                {{#isPriceGift}}
                                <span class="incentive">加价购</span>
                                {{/isPriceGift}}
                                {{#isGift}}
                                <span class="gift">赠品</span>
                                {{/isGift}}
                            </a>
                            <p class="pay-pro-info" {{# isLimitSkn}}style="padding-top:4px;"{{/ isLimitSkn}}>
                                <a href="{{link}}" target="_blank">{{productTitle}}</a>
                                <span>
                                    {{#if productColor}}
                                        颜色:{{productColor}}
                                    {{/if}}
                                    {{#if productSize}}
                                        尺码:{{productSize}}
                                    {{/if}}
                                </span>
                                {{# isLimitSkn}}<span class="special-limit-7day"><i></i>不支持7天无理由退换</span>{{/ isLimitSkn}}
                            </p>
                        </div>
                    </td>
                    <td>
                        {{productPrice}}
                        {{#isVipPrice}}
                            <span class="vipPrice">(VIP)</span>
                        {{/isVipPrice}}
                    </td>
                    <td>{{yohoIcon}}个</td>
                    <td>{{productNum}}</td>
                    <td class="cart-sub-total {{#xForOne}}xforone{{/xForOne}}">
                        {{#if xForOne}}
                            <del>{{productSubtotal}}</del>
                            <span class="free"></span>
                        {{^}}
                            {{productSubtotal}}
                        {{/if}}
                    </td>
                    <td class="cart-sub-total-all">{{productSubtotal}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
        <!--YOHO-->

        <div class="section-play">
            <div class="section-head">发票信息</div>
            <div class="play-pan">
                <input class="invoice mes" type="radio" id="" autocomplete="off" />发票开具
                <div class="invoice-content-outter hide">
                    <div class="invoice-type mes">电子发票</div>
                    <div class="invoice-partment mes">个人</div>
                    <div class="invoice-kind mes">服装</div>
                    <div class="revise mes curser-button">修改</div>
                </div>
                <div class='invoice-upload hide'>
                    <div class="invoice-upload-type"></div>
                    <div class="invoice-upload-content"></div>
                    <div class="invoice-upload-mobile"></div>
                    <div class="invoice-upload-title"></div>
                </div>
            </div>
        </div>

        <div class="play-content clearfix">
            <div class="play-left">
                <dl class="play-remark-pan pan">
                    <dt>添加备注信息</dt>
                    <dd>
                        <div class="play-pan">
                            <textarea class="textbox" id="notedesc"></textarea>
                            <p class="note">声明:备注中有关收货人信息、支付方式、配送方式、发票信息等购买要求一律以上面的选择为准,备注无效。</p>
                            <p>是否打印价格:
                                <input name="isPP" id="isPPY" type="radio" value="Y" checked="">
                                <label for="isPPY">是</label>
                                <input name="isPP" id="isPPN" type="radio" value="N">
                                <label for="isPPN">否</label>
                                (如:送朋友的商品可不打印价格哦!)
                            </p>
                        </div>
                    </dd>
                </dl>
            </div>
            <div class="play-right">
                <div class="back-coin">
                    <a href="/help/?category_id=87" class="yoho-coin" target="_blank"></a>共返有货币:{{totalYoho}}个
                </div>
                <ul class="play-total">
                    {{#each promotionFormulaList}}
                    <li class="{{#if isExpress}}total-express-w{{/if}}">
                        <label>{{promotion}}</label><em>{{promotionAmount}}</em>
                    </li>
                    {{/each}}
                </ul>

                {{#if showCouponPay}}
                <dl class="play-juan-pan pan">
                    <dt>使用优惠券支付</dt>
                    <dd>
                        <div class="play-pan">
                            <p class="strong">请选择您要使用的优惠券: </p>
                            <p class="strong orange">(OUTLET商品除免邮券外不可使用优惠券)</p>
                            <p class="strong orange">(订单中使用优惠券将不赠送商品返还的有货币)</p>
                            <div class="play-juan">
                                <ul>
                                    <li>
                                        <input checked name="juangroup" type="radio" value="">
                                        <label>直接输入优惠券码: </label>
                                        <input type="text" class="textbox" id="juancode" />
                                    </li>
                                </ul>
                            </div>

                            <p class="errtip red"></p>
                            <div class="btn-group clearfix">
                                <input type="button" class="ok" value="确定" id="juansubmit"/>
                                <input type="button" class="cancel cancel-code" value="取消"/>
                            </div>
                        </div>
                    </dd>
                </dl>
                {{/if}}
                <dl class="play-bi-pan pan">
                    <dt class="{{#unless yohoCoinCompute.yohoCoinClick}}not-btn{{/unless}}">
                        <span class="not-btn-tip red {{#if yohoCoinCompute.yohoCoinClick}}hide{{/if}}">抱歉,您的订单实付款不满足有货币使用条件</span>使用有货币支付
                    </dt>
                    <dd>
                    <div class="errbitip red"></div>
                        <ul class="play-pan" id="biprice" data-yoho-coin-num={{yohoCoinCompute.yohoCoinNum}} data-yoho-coin-click={{yohoCoinCompute.yohoCoinClick}}>
                            <li>
                                <div class="float-left num-list-width">
                                    有货币满<span class="sign-amount num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个即可使用,每次使用有货币为<span class="sign-amount num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>的整数倍
                                </div>
                                <div class="float-right yoho-coin-help">?
                                    <div class="yoho-coin-help-dialog hide">
                                        <span class="arrow-up"></span>
                                        <div class="yoho-coin-help-dialog-title">有货币使用条件:</div>
                                        <div class="yoho-coin-help-dialog-content">
                                            <ul>
                                                <li>1.订单金额大于20元(含20元)</li>
                                                <li>2.有货币数量大于<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个(含<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}</span>个)</li>
                                                <li>3.每笔支付不得超过应付金额{{yohoCoinCompute.yoho_coin_pay_rule.max_pay_rate_desc}}</li>
                                                <li>备注:使用有货币数量为<span class="num-limit-coin">{{yohoCoinCompute.yoho_coin_pay_rule.num_limit}}的整数倍,100有货币抵1元。</li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </li>
                            <li>
                                您当前共有有货币<span class="sign-amount totalYohoCoinNum">{{yohoCoinCompute.totalYohoCoinNum}}</span>个,可用<span class="sign-amount yohoCoinNum">{{yohoCoinCompute.yohoCoinNum}}</span> 个
                            </li>
                            <li>
                                本次使用有货币<span class="sign-amount yohoCoinNum">{{yohoCoinCompute.yohoCoinNum}}</span>个 抵扣<span class="sign-amount yohoCoin">¥{{yohoCoinCompute.yohoCoin}}</span>
                            </li>
                            <li>
                                <div class="float-left btn-group clearfix">
                                    <input type="button" class="ok" value="确定" id="bisubmit"/>
                                    <input type="button" class="cancel cancel-bi" value="取消"/>
                                </div>
                                <div class="float-right">
                                    <a class="yoho-coin-help-link" href="/help/?category_id=87" target="_blank">有货币使用规则?</a>
                                </div>
                            </li>
                        </ul>
                    </dd>
                </dl>

                {{#if redEnvelopes}}
                <div class="red-envelopes active">
                    <div class="use-envelopes">
                        <input checked value="0" data-all="{{redEnvelopes}}" data-use="{{useRedEnvelopes}}" type="checkbox" />使用现金红包支付:<span>-¥{{useRedEnvelopes}}</span>
                    </div>
                    <div class="has-envelopes">您的现金红包余额:<span></span></div>
                </div>
                {{/if}}
            </div>
        </div>
        </div>

        <div class="to-play">
            <p>您需要实际支付金额:<em>{{lastOrderAmount}}</em>元</p>
            <div class="btn-group clearfix">
                <input type="button" class="submit" value="去付款"/>
            </div>
        </div>
    </div>

    <div class="receipt-info hide">
        <div class="receipt-mask">
        </div>

        <div class="receipt-info-container">
            <div class="receipt-title">发票信息
            </div>

            <div class="receipt-type receipt-margin">
                <span class="e-receipt curser-buttonn {{#if openInvoice}} receipt-type-selected {{^}} hide {{/if}}">电子发票</span>
                <span class="paper-receipt curser-button {{#unless openInvoice}}receipt-type-selected{{/unless}}">纸质发票</span>
            </div>

            <div class="receipt-container receipt-margin">
                <div class="e-receipt-desc {{#unless openInvoice}}hide{{/unless}}">
                    <a href="{{invoiceUrl}}" target="_blank"></a>
                </div>

                <div class="invoice-list invoice-title invoice-title-personal-hight">
                    <span class="invoice-star">*</span>
                    <span class="invoice-list-type">发票抬头</span>
                    <div class="invoice-line first-line">
                        <input checked="true" type="radio" value="1"  name="title" />
                        <label>个人</label>
                        <input type="radio" value="2"  name="title" />
                        <label>单位</label>
                    </div>
                    <div class="invoice-line second-line input-line hide">
                        <input id="input-organization-name" type="text" placeholder="请填写单位名称" maxlength="30"/>
                        <i class="enpty-input iconfont hide">&#xe63e; 请填写发票抬头</i>
                    </div>
                </div>

                <div class="invoice-list invoice-content">
                    <span class="invoice-star">*</span>
                    <span class="invoice-list-type">发票内容</span>
                    <div class="invoice-line first-line">
                        {{# piaoTypes}}
                        <div class="blind">
                            <input {{#if @first}}checked="true"{{/if}} type="radio" value="{{name}}"  name="content" data-receiptID="{{id}}"/>
                            <label>{{name}}</label>
                        </div>
                        {{/ piaoTypes}}
                    </div>
                </div>

                <div class="invoice-list invoice-phone {{#unless openInvoice}}hide{{/unless}}">
                    <span class="invoice-star">*</span>
                    <span class="invoice-list-type">收票人手机</span>
                   <div class="invoice-line first-line input-line">
                        <input id="input-mobile" value="{{receiverMobile}}" type="text" maxlength="11"/>
                        <i class="enpty-input iconfont hide">&#xe63e; 请填写手机号码</i>
                    </div>
                </div>
            </div>

            <div class="receipt-footer">
                <div class="save-receipt highlight curser-button">保存发票信息</div>
                <div class="cancel-receipt normal curser-button">取消</div>
            </div>
        </div>
    </div>
{{/ orderEnsure}}
<div class="loading"><span></span>请稍后...</div>

</div>
{{> layout/footer}}