📄 order.vm
字号:
$validator.getDynamicJavascript()
<table width="550">
<tr><td > </td></tr>
<tr><td class="functitle">$text.cart_title</td></tr>
<tr><td class="message">#messageMarkup( ) </td></tr>
</table>
<table width="550" border="1">
<tr>
<td class="itemtitle">$text.product_item_name</td>
<td class="itemtitle">$text.product_item_price</td>
<td class="itemtitle">$text.cart_item_totalfee</td>
</tr>
#foreach( $cartitem in $cart.cartitems )
<tr>
<td >$cartitem.product.name</td>
<td align="right">$cartitem.product.price</td>
<td align="right">$cartitem.totalfee</td>
</tr>
#end
#if( $cart )
<tr>
<td class="itemprompt">$text.cart_item_total</td>
<td colspan="4" align="right">$cart.totalfee $text.price_unit</td>
</tr>
#end
</table>
#set( $userinfo = $shopping.getUser() )
<table width="550">
<form name="main" method="post" action="order.do?p=store" onsubmit='return validateOrderForm(this)'>
<tr><td colspan="2"> </td></tr>
<tr><td colspan="2" class="functitle">$text.order_title_prompt</td></tr>
<tr>
<td class="itemprompt">$text.order_item_name</td>
<td ><input name="name" type="text" maxlength="16" value="$!userinfo.name"> *</td>
</tr>
<tr>
<td class="itemprompt">$text.userinfo_item_postcode</td>
<td ><input name="postcode" type="text" maxlength="16" value="$!userinfo.postcode"></td>
</tr>
<tr>
<td class="itemprompt">$text.userinfo_item_address</td>
<td ><input name="address" type="text" maxlength="128" value="$!userinfo.address"> *</td>
</tr>
<tr>
<td class="itemprompt">$text.userinfo_item_email</td>
<td ><input name="email" type="text" maxlength="64" value="$!userinfo.email"></td>
</tr>
<tr>
<td class="itemprompt">$text.userinfo_item_telp</td>
<td ><input name="telp" type="text" maxlength="64" value="$!userinfo.telp"></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="$text.btn_submit">
<input type="reset" value="$text.btn_reset">
</td>
</td>
</tr>
</form>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -