📄 orderprocess.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OrderProcess.ascx.cs" Inherits="DefaultControl_OrderProcess" %>
<asp:Panel ID="Panel1" runat="server" Height="204px" Width="600px">
<center style="color: #ff0066">
认真填写以下表格,带*号的为必填</center>
<center>
<table border="1" cellpadding="1" cellspacing="0" style="width: 600px">
<tr>
<td align="right" style="width: 100px; height: 23px">
配送及运费:</td>
<td align="left" style="width: 500px; height: 23px; color: #00cc00;">
<asp:DropDownList ID="ddlShippingType" runat="server" Width="329px">
<asp:ListItem Value="-1">请选择配送方式</asp:ListItem>
<asp:ListItem Value="20">特快专递,配送费用:20元</asp:ListItem>
<asp:ListItem Value="25">邮局快件(快递不到地区):25元</asp:ListItem>
<asp:ListItem Value="35">EMS快件,配送费用:35元</asp:ListItem>
</asp:DropDownList>
*<asp:RequiredFieldValidator ID="rfvShippingType" runat="server"
ControlToValidate="ddlShippingType" ErrorMessage="请选择配送方式!" InitialValue="-1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
收货人姓名:</td>
<td align="left" style="width: 500px; color: #00cc00;">
<asp:TextBox ID="txtUserName" runat="server" Width="224px"></asp:TextBox>
*<asp:RequiredFieldValidator ID="rfvUserName" runat="server"
ControlToValidate="txtUserName" ErrorMessage="请填写收货人姓名!">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
收货人电话:</td>
<td align="left" style="width: 500px; color: #00cc00;">
<asp:TextBox ID="txtPhone" runat="server" Width="224px"></asp:TextBox>
*<asp:RequiredFieldValidator ID="rfvPhone" runat="server"
ControlToValidate="txtPhone" ErrorMessage="请填写收货人联系电话!">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 100px; height: 23px">
收货人邮箱:</td>
<td align="left" style="width: 500px; height: 23px; color: #00cc00;">
<asp:TextBox ID="txtEmail" runat="server" Width="224px"></asp:TextBox>
*<asp:RequiredFieldValidator ID="rfvEmail" runat="server"
ControlToValidate="txtEmail" ErrorMessage="请填写收货人邮箱!">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="revEmail" runat="server"
ControlToValidate="txtEmail" ErrorMessage="请填写正确的邮箱地址!"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
邮政编码:</td>
<td align="left" style="width: 500px; color: #00cc00;">
<asp:TextBox ID="txtPost" runat="server" Width="224px"></asp:TextBox>
*<asp:RequiredFieldValidator ID="rfvPost" runat="server"
ControlToValidate="txtPost" ErrorMessage="请填写收货人邮政编码!">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="revPost" runat="server"
ControlToValidate="txtPost" ErrorMessage="请填写正确的邮政编码"
ValidationExpression="\d{6}">*</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
收货人地址:</td>
<td align="left" style="width: 500px; color: #00cc00;">
<asp:TextBox ID="txtAddress" runat="server" Width="224px"></asp:TextBox>
*<asp:RequiredFieldValidator ID="rfvAddress" runat="server"
ControlToValidate="txtAddress" ErrorMessage="请填写收货地址!">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
其他要求:</td>
<td align="left" style="width: 500px; color: #ff0066">
<asp:TextBox ID="txtCommont" runat="server" TextMode="MultiLine" Width="224px"></asp:TextBox>
<br />
例如可注明QQ以便联系,或者填写货色颜色等要求。</td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 28px">
<asp:Button ID="btnConfirm" runat="server" OnClick="btnConfirm_Click"
Text="确认订单" />
<asp:Button ID="btnModify" runat="server" Text="返回修改" />
</td>
</tr>
</table>
</center>
<asp:ValidationSummary ID="ValidationSummary1" runat="server"
DisplayMode="List" ForeColor="DarkCyan" ShowMessageBox="True"
ShowSummary="False" />
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="78px" Visible="False"
Width="599px">
<center>
请确认您所填写的内容,检查之后请单击“提交订单”或“返回修改”
<table border="1" cellpadding="1" cellspacing="0" style="width: 600px">
<tr>
<td align="right" style="width: 100px; height: 23px">
配送及运费:</td>
<td align="left" style="width: 500px; height: 23px; color: #00cc00;">
<asp:Label ID="lblType" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right" style="width: 100px; height: 23px;">
收货人姓名:</td>
<td align="left" style="width: 500px; color: #00cc00; height: 23px;">
<asp:Label ID="lblName" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
收货人电话:</td>
<td align="left" style="width: 500px; color: #00cc00;">
<asp:Label ID="lblPhone" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right" class="style1">
收货人邮箱:</td>
<td align="left" class="style2" style="color: #00cc00;">
<asp:Label ID="lblEmail" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right" style="width: 100px; height: 23px;">
邮政编码:</td>
<td align="left" style="width: 500px; color: #00cc00; height: 23px;">
<asp:Label ID="lblPost" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
收货人地址:</td>
<td align="left" style="width: 500px; color: #00cc00;">
<asp:Label ID="lblAddress" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="right" style="width: 100px">
其他要求:</td>
<td align="left" style="width: 500px; color: #ff0066">
<asp:Label ID="lblOtherRequest" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:Button ID="btnSubmitOrder" runat="server" OnClick="btnSubmitOrder_Click"
Text="提交订单" />
<asp:Button ID="btnReturnChange" runat="server" Text="返回修改" />
</td>
</tr>
</table>
</center>
</asp:Panel>
<br />
<asp:Panel ID="Panel3" runat="server" Height="117px" Visible="False"
Width="601px">
<center>
恭喜,订单提交成功!</center>
<table border="1" cellpadding="0" cellspacing="0"
style="border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid; border-left: #ffcccc 1pt solid; border-bottom: #ffcccc 1pt solid">
<tr>
<td align="center" colspan="2"
style="color: #ff0033; background-color: #ffcccc">
订单支付</td>
</tr>
<tr>
<td align="center"
style="width: 300px; border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid; border-left: #ffcccc 1pt solid; border-bottom: #ffcccc 1pt solid;">
您的订单号:</td>
<td style="width: 300px; border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid; border-left: #ffcccc 1pt solid; border-bottom: #ffcccc 1pt solid;">
<asp:Label ID="lblOrderID" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="center" class="style3" style="border: 1pt solid #ffcccc;">
交易总金额:</td>
<td class="style3" style="border: 1pt solid #ffcccc;">
<asp:Label ID="lblSum" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="center"
style="width: 300px; border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid; border-left: #ffcccc 1pt solid; border-bottom: #ffcccc 1pt solid; height: 21px;">
订单生成日期:</td>
<td style="width: 300px; border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid; border-left: #ffcccc 1pt solid; border-bottom: #ffcccc 1pt solid; height: 21px;">
<asp:Label ID="lblDate" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td align="center" colspan="2"
style="border: 1pt solid #ffcccc; font-weight: bold; background-image: url('../../E-Commerce/ProductsControl/Images/skin/jh.gif'); height: 52px;">
请选择支付方式</td>
</tr>
<tr>
<td align="center"
style="border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid;
border-left: #ffcccc 1pt solid; width: 300px; border-bottom: #ffcccc 1pt solid; height: 96px;">
<asp:Button ID="btnPayOnline" runat="server" OnClick="btnPayOnline_Click"
Text="在线支付" />
</td>
<td align="center" style="border-right: #ffcccc 1pt solid; border-top: #ffcccc 1pt solid; border-left: #ffcccc 1pt solid;
width: 300px; border-bottom: #ffcccc 1pt solid; height: 96px;">
<asp:Button ID="btnPayOnBank" runat="server" OnClick="btnPayOnBank_Click"
Text="银行汇款" />
</td>
</tr>
</table>
<center>
支付帮助</center>
<hr
style="border-right: #000000 1pt solid; border-top: #000000 1pt solid; border-left: #000000 1pt solid;
color: #000000; border-bottom: #000000 1pt solid; background-color: black" />
<ul>
<li><span class="style2"><b>银行汇款:</b>请记下您应当汇的金额和我们的银行帐号,然后去银行按订单上的金额汇款过来(注:银行汇款需汇款人身份证,邮政汇款无须身份证),之后及时通知我们汇款时间,金额,银行,订单号。</span>
</li>
</ul>
<br />
</asp:Panel>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -