<%@ page language="C#" autoeventwireup="true" inherits="tuan_1_order_process, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="~/tuan/1/head.ascx" TagName="head" TagPrefix="UC" %>
<%@ Register Src="~/tuan/1/side.ascx" TagName="side" TagPrefix="UC" %>
<%@ Register Src="~/tuan/1/foot.ascx" TagName="foot" TagPrefix="UC" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>付款_<%=ZK.config("title","tuan") %></title>
    <link href="/tuan/<%=ZK.config("tuantemplate", "tuan")  %>/skin/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/s/skin/base.js"></script>
    <script type="text/javascript" src="/tuan/<%=ZK.config("tuantemplate", "tuan")  %>/skin/public.js"></script>
    <script type="text/javascript">
        function check1(){
            selffun1();
            if(document.getElementById("Panel1")){
                if(document.getElementById("receivingcontact").value==""){alert("收货人不能为空！");selffun2();return false;}
                if(document.getElementById("receivingphone").value==""){alert("联系电话不能为空！");selffun2();return false;}
                if(document.getElementById("receivingaddress").value==""){alert("收货地址不能为空！");selffun2();return false;}
            }
        }
        function selffun1(){
            document.getElementById("tuan_pay_btn").className="none";document.getElementById("tuan_pay_btn_copy").className="tuan_pay_btn";
        }
        function selffun2(){
            document.getElementById("tuan_pay_btn").className="tuan_pay_btn";document.getElementById("tuan_pay_btn_copy").className="none";
        }
    </script>

</head>
<body>
    <div class="wrap">
        <div class="box">
            <UC:head ID="head1" runat="server" />
            <script type="text/javascript">document.getElementById("homemenu").className="";</script>
            <div class="mainside">
                <div class="mainbox">
                    <div class="c1">
                        <div class="m1"></div>
                        <div class="v1">
                            <form runat="server" id="form1" autocomplete="off">
                                <div class="process1">
                                    <table border="0" cellpadding="0" cellspacing="1" width="100%">
                                        <tr>
                                            <td class="td1">订单商品：</td>
                                            <td class="td2"><asp:Literal ID="Literal1" runat="server"></asp:Literal></td>
                                        </tr>
                                        <tr>
                                            <td class="td1">团购数量：</td>
                                            <td class="td2"><asp:Literal ID="Literal2" runat="server"></asp:Literal></td>
                                        </tr>
                                        <tr>
                                            <td class="td1">应付金额：</td>
                                            <td class="td2"><strong style="color: #f60"><asp:Literal ID="Literal3" runat="server"></asp:Literal>元</strong></td>
                                        </tr>
                                        <tr>
                                            <td class="td1">帐户余额：</td>
                                            <td class="td2"><asp:Literal ID="Literal5" runat="server"></asp:Literal></td>
                                        </tr>
                                    </table>
                                </div>
                                <asp:Panel ID="Panel1" runat="server">
                                    <div class="process1" style="padding-top: 0;">
                                        <div class="str s14 red" style="padding-bottom: 5px">请填写收货信息：</div>
                                        <table border="0" cellpadding="0" cellspacing="1" width="100%">
                                            <tr>
                                                <td class="td1">收货人：</td>
                                                <td class="td2"><asp:TextBox ID="receivingcontact" runat="server" MaxLength="20" CssClass="inp1" Width="200"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td class="td1">联系电话：</td>
                                                <td class="td2"><asp:TextBox ID="receivingphone" runat="server" MaxLength="60" CssClass="inp1" Width="200"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td class="td1">收货地址：</td>
                                                <td class="td2"><asp:TextBox ID="receivingaddress" runat="server" MaxLength="200" CssClass="inp1" Width="450"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td class="td1">备注：</td>
                                                <td class="td2"><asp:TextBox ID="receivingremark" runat="server" CssClass="inp1" Width="450" Height="150" TextMode="MultiLine"></asp:TextBox></td>
                                            </tr>
                                        </table>
                                    </div>
                                </asp:Panel>
                                <div class="cart_operation" style="padding-top: 0; padding-left: 30px; padding-bottom: 15px">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <td width="130">
                                                <div class="tuan_pay_btn" id="tuan_pay_btn"><asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" OnClientClick="return check1()">立即付款</asp:LinkButton></div>
                                                <div class="none" id="tuan_pay_btn_copy"><a href="javascript:void(0)">订单提交中..</a></div>
                                            </td>
                                            <td><asp:Label ID="msg" runat="server" CssClass="block s14" Style="color: #f60"></asp:Label></td>
                                        </tr>
                                    </table>
                                </div>
                            </form>
                        </div>
                        <div class="n1"></div>
                    </div>
                </div>
                <UC:side ID="side1" runat="server" />
                <div class="clear"></div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
