<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VoucherManage.aspx.cs" Inherits="MTCUN.WeiXin.VoucherManage" %>

<%@ Import Namespace="MTCUN" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <div style="display: none">
        <asp:Image ID="imgIco" runat="server" ToolTip="ico" />
    </div>
    <form id="form1" runat="server">
        888<table class="table" cellpadding="0" cellspacing="0">
            <tr>
                <th colspan="2">优惠红包活动</th>
            </tr>
            <tr>
                <td>名称：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>广告语：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName0" runat="server" Height="126px" TextMode="MultiLine" Width="500px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>默认面额：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName1" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>最大面额：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>开始时间：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName3" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>结束时间：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName4" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>发行量：</td>
                <td>
                    <asp:TextBox ID="tbxVoucherGroupName5" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>
                    <div class="lab_button">
                        <asp:Button ID="btnPost" runat="server" Text="创建" />
                    </div>
                </td>
            </tr>
        </table>
        &nbsp;<div id="web_page_contents">
            <div class="search biao_zhun_suo_jin">
                <asp:Repeater ID="repBlock" runat="server" OnItemCommand="repBlock_ItemCommand" OnItemDataBound="repBlock_ItemDataBound">
                    <ItemTemplate>
                        <div class="kuai_show">
                            <div class="hongbaorow">
                                <div class="logo">
                                    <div class="money">
                                        <%#Eval("Money","{0:c2}")%>
                                    </div>
                                </div>

                                <div class="name">
                                    <h1><%#Eval("VoucherGroupName")%></h1>
                                </div>
                                <div class="time">
                                    剩余数量：<%#(int)Eval("TotalCount") - (int)Eval("ReceiveCount")%>
                                </div>
                                <div class="content"><%#Eval("Remark")%></div>
                            </div>
                            <span class="lab_button btn_hongbao">
                                <asp:Button ID="btnAdd" CommandName="Add" CommandArgument='<%#Eval("VoucherGroupID")%>' runat="server" Text="抢红包" /></span>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>

            </div>
        </div>
    </form>
</body>
</html>
