<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="action.aspx.cs" Inherits="ETongJin.YM.Web.Home.action" %>

<%@ Register Assembly="ETongJin.YM.UI" Namespace="ETongJin.YM.UI.Controls" TagPrefix="cc1" %>
<!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 runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 400px;">
            <tr>
                <td style="width: 100px;">
                    商品名称：
                </td>
                <td>
                    <asp:HyperLink ID="hlPTitle" runat="server" Target="_blank">HyperLink</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    买家：
                </td>
                <td>
                    <asp:HyperLink ID="hlBuyName" runat="server" Target="_blank">HyperLink</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    卖家：
                </td>
                <td>
                    <asp:HyperLink ID="hlSellName" runat="server" Target="_blank">HyperLink</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    金额：
                </td>
                <td>
                    <asp:TextBox ID="txtPrice" Columns="8" runat="server" ReadOnly="true"></asp:TextBox>元
                </td>
            </tr>
            <asp:Panel ID="pnlUpdatePrice" runat="server" Visible="false">
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnUpdatePrice" runat="server" Text="更新价格" OnClick="btnUpdatePrice_Click" />
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel ID="pnlSendGoods" runat="server" Visible="false">
                <tr>
                    <td>
                        卖家留言<br />
                        或填写下载地址
                    </td>
                    <td>
                        <asp:TextBox ID="txtSellNotes" TextMode="MultiLine" Rows="2" Columns="25" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnSendGoods" runat="server" Text="确认发货" OnClick="btnSendGoods_Click" />
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel ID="pnlBuyConfirm" runat="server" Visible="false">
                <tr>
                    <td colspan="2" style="color: Red;">
                        <b>警告：</b> 确认付款后，购买商品的费用将自动转到卖家账户，您如果没有收到货物或者对货物严重不满请不要确认收货！
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnBuyConfirm" runat="server" Text="确认付款" OnClick="btnBuyConfirm_Click" />
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel ID="pnlBuyForFound" runat="server" Visible="false">
                <tr>
                    <td colspan="2" style="color: Red;">
                        <b>警告：</b> 单击申请退款后，将启动退款流程，<br />
                        您最好主动联系卖家协商退款事宜。<br />
                        如果卖家同意退款，您将收到您所付款项。<br />
                        如果卖家不同意付款，您只能向网站进行申诉，提供相应证据，由本站管理人员介入解决！
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnBuyForFound" runat="server" Text="申请退款" OnClick="btnBuyForFound_Click" />
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel ID="pnlSellReturnFound" runat="server" Visible="false">
                <tr>
                    <td colspan="2" style="color: Red;">
                        <b>警告：</b> 单击同意退款后，本次交易的全部金额将返回给买家，交易结束。<br />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnSellReturnFound" runat="server" Text="同意退款" OnClick="btnSellReturnFound_Click" />
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel ID="pnlSellRefuseReturnFound" runat="server" Visible="false">
                <tr>
                    <td colspan="2" style="color: Red;">
                        <b>警告：</b> 单击拒绝退款后，本站管理人员将介入解决，您最好提供相应证据。<br />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnSellRefuseReturnFound" runat="server" Text="拒绝退款" OnClick="btnSellRefuseReturnFound_Click" />
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel ID="pnlMark" runat="server" Visible="false">
                <tr>
                    <td>
                        评分
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rblBalance" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Text="好评" Value="1" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="中评" Value="0"></asp:ListItem>
                            <asp:ListItem Text="差评" Value="-1"></asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td>
                        说明
                    </td>
                    <td>
                        <asp:TextBox ID="txtMarkNotes" TextMode="MultiLine" Rows="4" Columns="25" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <cc1:HomeButton ID="btnMark" runat="server" Text="确认评价" CommandArgument="0" OnClick="btnMark_Click" />
                    </td>
                </tr>
            </asp:Panel>
        </table>
    </div>
    </form>
</body>
</html>
