📄 flow.dwt
字号:
<!--{/if}-->
<div class="title-div"><img src="images/payment.gif" alt="payment" width="158" height="39" /></div>
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" id="paymentTable">
<tr>
<th width="5%"> </th>
<th width="20%">{$lang.name}</th>
<th>{$lang.describe}</th>
<th width="15%">{$lang.pay_fee}</th>
</tr>
<!-- {foreach from=$payment_list item=payment} -->
<!-- 循环支付方式 -->
<tr>
<td valign="top"><input type="radio" name="payment" value="{$payment.pay_id}" {if $order.pay_id eq $payment.pay_id}checked{/if} isCod="{$payment.is_cod}" onclick="selectPayment(this)" {if $cod_disabled and $payment.is_cod eq "1"}disabled="true"{/if}/></td>
<td valign="top"><strong>{$payment.pay_name}</strong></td>
<td valign="top">{$payment.pay_desc}</td>
<td align="right" valign="top">{$payment.format_pay_fee}</td>
</tr>
<!-- {/foreach} 循环支付方式 -->
</table>
<!-- {if $pack_list} 是否有包装 -->
<div class="title-div"><img src="images/package.gif" alt="package" width="158" height="39" /></div>
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" id="packTable">
<tr>
<th width="5%" scope="col"> </th>
<th width="35%" scope="col">{$lang.name}</th>
<th width="22%" scope="col">{$lang.price}</th>
<th width="22%" scope="col">{$lang.free_money}</th>
<th scope="col">{$lang.img}</th>
</tr>
<tr>
<td valign="top"><input type="radio" name="pack" value="0" {if $order.pack_id eq 0}checked="true"{/if} onclick="selectPack(this)" /></td>
<td valign="top"><strong>{$lang.no_pack}</strong></td>
<td valign="top"> </td>
<td valign="top"> </td>
<td valign="top"> </td>
</tr>
<!-- {foreach from=$pack_list item=pack} 循环包装 -->
<tr>
<td valign="top"><input type="radio" name="pack" value="{$pack.pack_id}" {if $order.pack_id eq $pack.pack_id}checked="true"{/if} onclick="selectPack(this)" />
</td>
<td valign="top"><strong>{$pack.pack_name}</strong></td>
<td valign="top"><div align="right">{$pack.format_pack_fee}</div></td>
<td valign="top"><div align="right">{$pack.format_free_money}</div></td>
<td valign="top"><div align="center">
<!-- {if $pack.pack_img} 是否有图片 -->
<a href="{$data_dir}/packimg/{$pack.pack_img}" target="_blank">{$lang.view}</a>
<!-- {else} -->
{$lang.no}
<!-- {/if} -->
</div></td>
</tr>
<!-- {/foreach} 循环包装 -->
</table>
<!-- {/if} 是否使用包装 -->
<!-- {if $card_list} 是否有贺卡 -->
<div class="title-div"><img src="images/card.gif" alt="card" width="158" height="39" /></div>
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" id="cardTable">
<tr>
<th width="5%" scope="col"> </th>
<th width="35%" scope="col">{$lang.name}</th>
<th width="22%" scope="col">{$lang.price}</th>
<th width="22%" scope="col">{$lang.free_money}</th>
<th scope="col">{$lang.img}</th>
</tr>
<tr>
<td valign="top"><input type="radio" name="card" value="0" {if $order.card_id eq 0}checked="true"{/if} onclick="selectCard(this)" /></td>
<td valign="top"><strong>{$lang.no_card}</strong></td>
<td valign="top"> </td>
<td valign="top"> </td>
<td valign="top"> </td>
</tr>
<!-- {foreach from=$card_list item=card} 循环贺卡 -->
<tr>
<td valign="top"><input type="radio" name="card" value="{$card.card_id}" {if $order.card_id eq $card.card_id}checked="true"{/if} onclick="selectCard(this)" />
</td>
<td valign="top"><strong>{$card.card_name}</strong></td>
<td valign="top"><div align="right">{$card.format_card_fee}</div></td>
<td valign="top"><div align="right">{$card.format_free_money}</div></td>
<td valign="top"><div align="center">
<!-- {if $card.card_img} 是否有图片 -->
<a href="{$data_dir}/cardimg/{$card.card_img}" target="_blank">{$lang.view}</a>
<!-- {else} -->
{$lang.no}
<!-- {/if} -->
</div></td>
</tr>
<!-- {/foreach} 循环贺卡 -->
<tr>
<td></td>
<td valign="top"><strong>{$lang.bless_note}:</strong></td>
<td colspan="3"><textarea name="card_message" cols="60" rows="3" style="width:auto">{$order.card_message|escape}</textarea></td>
</tr>
</table>
<!-- {/if} 是否使用贺卡 -->
<div class="title-div"><img src="images/order_others.gif" alt="" width="158" height="39" /></div>
<table width="100%" border="0" align="center" cellspacing="3">
<!-- {if $allow_use_surplus} 是否使用余额 -->
<tr>
<td width="20%"><strong>{$lang.use_surplus}: </strong></td>
<td><input name="surplus" type="text" id="ECS_SURPLUS" size="10" value="{$order.surplus|default:0}" onblur="changeSurplus(this.value)" {if $disable_surplus}disabled="disabled"{/if} />
{$lang.your_surplus}{$your_surplus|default:0} <span id="ECS_SURPLUS_NOTICE" class="notice"></span></td>
</tr>
<!-- {/if} 是否使用余额 -->
<!-- {if $allow_use_integral} 是否使用积分 -->
<tr>
<td><strong>{$lang.use_integral}</strong></td>
<td><input name="integral" type="text" id="ECS_INTEGRAL" onblur="changeIntegral(this.value)" value="{$order.integral|default:0}" size="10" />
{$lang.can_use_integral}:{$your_integral|default:0} {$points_name},{$lang.noworder_can_integral}{$order_max_integral} {$points_name}. <span id="ECS_INTEGRAL_NOTICE" class="notice"></span></td>
</tr>
<!-- {/if} 是否使用积分 -->
<!-- {if $allow_use_bonus} 是否使用红包 -->
<tr>
<td><strong>{$lang.use_bonus}:</strong></td>
<td>
{$lang.select_bonus}
<select name="bonus" onchange="changeBonus(this.value)" id="ECS_BONUS">
<option value="0" {if $order.bonus_id eq 0}selected{/if}>{$lang.please_select}</option>
<!-- {foreach from=$bonus_list item=bonus} -->
<option value="{$bonus.bonus_id}" {if $order.bonus_id eq $bonus.bonus_id}selected{/if}>{$bonus.type_name}[{$bonus.bonus_money_formated}]</option>
<!-- {/foreach} -->
</select>
{$lang.input_bonus_no}
<input name="bonus_sn" type="text" size="15" />
<input name="validate_bonus" type="button" value="{$lang.validate_bonus}" onclick="validateBonus(document.forms['theForm'].elements['bonus_sn'].value)" />
</td>
</tr>
<!-- {/if} 是否使用红包 -->
<!-- {if $inv_content_list} 能否开发票 -->
<tr>
<td><strong>{$lang.invoice}:</strong>
<input name="need_inv" type="checkbox" id="ECS_NEEDINV" onclick="changeNeedInv()" value="1" {if $order.need_inv}checked="true"{/if} />
</td>
<td>
<!-- {if $inv_type_list} -->
{$lang.invoice_type}<select name="inv_type" id="ECS_INVTYPE" {if $order.need_inv neq 1}disabled="true"{/if} onchange="changeNeedInv()">
{html_options options=$inv_type_list selected=$order.inv_type}</select>
<!-- {/if} -->
{$lang.invoice_title}
<input name="inv_payee" type="text" id="ECS_INVPAYEE" size="20" {if !$order.need_inv}disabled="true"{/if} value="{$order.inv_payee}" onblur="changeNeedInv()" />
{$lang.invoice_content}
<select name="inv_content" id="ECS_INVCONTENT" {if $order.need_inv neq 1}disabled="true"{/if} onchange="changeNeedInv()">
{html_options values=$inv_content_list output=$inv_content_list selected=$order.inv_content}
</select></td>
</tr>
<!-- {/if} -->
<tr>
<td valign="top"><strong>{$lang.order_postscript}:</strong></td>
<td><textarea name="postscript" cols="80" rows="3" id="postscript">{$order.postscript|escape}</textarea></td>
</tr>
<!-- {if $how_oos_list} 是否使用缺货处理 -->
<tr>
<td><strong>{$lang.booking_process}:</strong></td>
<td><!-- {foreach from=$how_oos_list key=how_oos_id item=how_oos_name} -->
<label>
<input name="how_oos" type="radio" value="{$how_oos_id}" {if $order.how_oos eq $how_oos_id}checked{/if} onclick="changeOOS(this)" />
{$how_oos_name}</label>
<!-- {/foreach} -->
</td>
</tr>
<!-- {/if} 缺货处理结束 -->
</table>
<div class="title-div"><img src="images/order_total.gif" alt="total" width="158" height="39" /></div>
<div id="ECS_ORDERTOTAL"><!-- #BeginLibraryItem "/Library/order_total.lbi" -->
{insert_scripts files='transport.js,utils.js'}
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="2">
<!-- {if $smarty.session.user_id > 0 and ($config.use_integral or $config.use_bonus)} -->
<tr>
<td align="right">
{$lang.complete_acquisition} {$total.will_get_integral} {$points_name}
<!-- {if $total.will_get_bonus} 是否有红包-->
,{$lang.with_price} {$total.will_get_bonus}{$lang.de}{$lang.bonus}。
<!-- {/if} -->
</td>
</tr>
<!-- {/if} -->
<tr>
<td align="right">
{$lang.goods_all_price}: {$total.goods_price_formated}
<!-- {if $total.tax gt 0} 税 -->
+ {$lang.tax}: {$total.tax_formated}
<!-- {/if} -->
<!-- {if $total.shipping_fee > 0} 配送费用 -->
+ {$lang.shipping_fee}: {$total.shipping_fee_formated}
<!-- {/if} -->
<!-- {if $total.shipping_insure > 0} 保价费用 -->
+ {$lang.insure_fee}: {$total.shipping_insure_formated}
<!-- {/if} -->
<!-- {if $total.pay_fee > 0} 支付费用 -->
+ {$lang.pay_fee}: {$total.pay_fee_formated}
<!-- {/if} -->
<!-- {if $total.pack_fee > 0} 包装费用-->
+ {$lang.pack_fee}: {$total.pack_fee_formated}
<!-- {/if} -->
<!-- {if $total.card_fee > 0} 贺卡费用-->
+ {$lang.card_fee}: {$total.card_fee_formated}
<!-- {/if} -->
</td>
</tr>
<!-- {if $total.surplus > 0 or $total.integral > 0 or $total.bonus > 0} 使用余额或积分或红包 -->
<tr>
<td align="right">
<!-- {if $total.surplus > 0} 使用余额 -->
- {$lang.use_surplus}: {$total.surplus_formated}
<!-- {/if} -->
<!-- {if $total.integral > 0} 使用积分 -->
- {$lang.use_integral}: {$total.integral_formated}
<!-- {/if} -->
<!-- {if $total.bonus > 0} 使用红包 -->
- {$lang.use_bonus}: {$total.bonus_formated}
<!-- {/if} -->
</td>
</tr>
<!-- {/if} 使用余额或积分或红包 -->
<tr>
<td align="right" style="border-top: 1px dotted #DADADA"> {$lang.total_fee}: {$total.amount_formated}
{if $is_group_buy}<br />{$lang.notice_gb_order_amount}{/if}</td>
</tr>
</table><!-- #EndLibraryItem --></div>
<div style="border-top: 1px solid #DADADA; padding-top: 20px; text-align:center; margin-top: 5px;">
<input type="image" src="images/order_submit.gif" alt="submit" width="130" height="30" />
<input type="hidden" name="step" value="done" />
</div>
</form>
<!-- {/if} -->
<!-- {if $step eq "done"} -->
<!-- 订单提交成功 -->
<div style="padding: 10px; border-top: 1px solid #DADADA; text-align: center;" >
<p style="font-size: 14px;">{$lang.remember_order_number}: <strong style="color:red">{$order.order_sn}</strong>。 </p>
<table width="80%" border="0" align="center">
<tr>
<td align="left"><!--{if $order.shipping_name}-->{$lang.select_shipping}: <strong>{$order.shipping_name}</strong>,<!--{/if}-->{$lang.select_payment}: <strong>{$order.pay_name}</strong>。{$lang.order_amount}: <strong>{$total.amount_formated}</strong></td>
</tr>
<tr>
<td align="left">{$order.pay_desc}</td>
</tr>
<!-- {if $pay_online} -->
<!-- 如果是线上支付则显示支付按钮 -->
<tr>
<td align="center">{$pay_online}</td>
</tr>
<!-- {/if} -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -