<%@ control language="C#" autoeventwireup="true" inherits="Controls_ProductXj, Huibo.Net" %>
<div class="Navigation">
    您当前的位置：<span><a href="index.aspx" title="">首页</a></span><span>&gt;&gt;</span><span><asp:HyperLink
        ID="ClassName" runat="server"></asp:HyperLink></span><span>&gt;&gt;</span><span class="now"><asp:HyperLink
            ID="ChildName" runat="server"></asp:HyperLink></span><span>&gt;&gt;</span><span class="now"><asp:Label
                ID="ThisName" runat="server" Text=""></asp:Label></span>
</div>

<script type="text/javascript" src="Js/Product.js"></script>

<script type="text/javascript" src="Js/JScript.js"></script>

<div class="product">
    <div class="p1" style="border: 1px solid #ccc;">
        <div class="clear">
        </div>
        <div class="GoodsInfoWrap">
            <table width="100%">
                    <tr>
                        <td align="center" valign="top">
                            <div class="goodspic">
                                <div class="goods-detail-pic " style="width: 300px; height: 300px; overflow: hidden;">
                                    <asp:ImageButton ID="ShowImage" ImageUrl="" runat="server" />
                                </div>
                            </div>
                        </td>
                        <td valign="top" width="60%">
                            <div class="pro_right">
                                <h1 class="goodsname">
                                    <asp:Label ID="proName" runat="server" Text=""></asp:Label>
                                </h1>
                                <ul class="goodsprops">
                                    <li><span>商品品牌：</span><asp:Label ID="proBrand" runat="server" Text="">
                                    </asp:Label><asp:HiddenField ID="ID" Value="" runat="server" />
                                    </li>
                                    <li><span>
                                        <asp:Label ID="proIntro" runat="server" Text=""></asp:Label></span><asp:Label ID="Introduce"
                                            runat="server" Text=""></asp:Label></li>
                                    <li><span>商品编号：</span><asp:Label ID="proGrade" runat="server" Text=""></asp:Label></li>
                                    <li><span>市场价格：</span><i class="mktprice1">￥<asp:Label ID="proPrice" runat="server"
                                        Text=""></asp:Label>元</i></li>
                                    <li><span>您的价格：</span>￥<asp:Label ID="RealPrice" runat="server" Text=""></asp:Label>元</li>
                                    <li><span>商品颜色：</span>
                                        <asp:DropDownList ID="Color" runat="server">
                                        </asp:DropDownList>
                                    </li>
                                    <li><span>商品尺寸：</span>
                                        <asp:DropDownList ID="Size" runat="server">
                                        </asp:DropDownList>
                                    </li>
                                    <li><span>数&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;量：</span>&nbsp;
                                        <asp:TextBox ID="ProductNum" Text="1" Width="30px" runat="server"></asp:TextBox>
                                    </li>
                                </ul>
                                <div class="btnBar">
                                    <div class="floatLeft">
                                        <%--<asp:Button ID="AddCat" class="actbtn btn-buy" runat="server" Text="加入购物车" OnClick="AddCat_Click" />--%>
                                        <label style="color:Red;">此商品已下架</label>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
            </table>

            <div class="goods-detail-tab">
                <div class="goodsDetailTab showall active" id="TitleDetail1" onclick="ShowTextDetail(1)">
                    <span>商品详细信息</span></div>
                <div class="goodsDetailTab" id="TitleDetail2" onclick="ShowTextDetail(2)">
                    <span>发表评论</span></div>
                <div class="goodsDetailTab2" id="TitleDetail3" onclick="ShowTextDetail(3);">
                    <span>相关商品</span></div>
            </div>
            <div class="clear">
            </div>
            <div id="TextDetail1" class="section pdtdetail" tab="详细介绍" style="border: none;">
                <div class="body indent" id="goods-intro">
                    <p class="con_word">
                        <asp:Label ID="proDetail" runat="server" Text=""></asp:Label></p>
                    <div class="tupian">
                        <asp:Label ID="proContent" runat="server" Text=""></asp:Label>
                    </div>
                </div>
            </div>
            <div class="clear">
            </div>
            <div id="TextDetail2" class="section pdtdetail" tab="商品评论" style="border: none; display: none">
                <h2>
                    商品评论<span>（已有<em><asp:Label ID="ReviewNum" runat="server" Text=""></asp:Label></em>条评论）</span></h2>
                <asp:Repeater ID="Reviews" runat="server">
                    <ItemTemplate>
                        <table style="overflow: hidden; word-break: break-all; text-align: left;" width="98%"
                            border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="padding-left: 5px;" height="20" bgcolor="#F0F0F0">
                                    主题：<asp:Label ID="ReviewTitle" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"title") %>'></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="padding-left: 5px;">
                                    作者：<asp:Label ID="ReviewUser" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"writer") %>'></asp:Label>&nbsp;&nbsp;<asp:Label
                                        ID="ReviewTime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"reviewdtm") %>'></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="padding-left: 5px;">
                                    内容：<asp:Label ID="ReviewContent" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"reviewcontent") %>'></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="padding-left: 5px;" height="20" bgcolor="#FAFAFA">
                                    <font color="#F75000">回复：<asp:Label ID="ReviewReply" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"reply") %>'></asp:Label></font></td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:Repeater>
                <div class="FormWrap">
                    <div class="division" style="border: solid 1px #c7dbe5; background: #ecf2f5; padding: 5px 0;
                        text-indent: 10px;">
                        如果您对本商品有什么评价或经验,欢迎分享!
                    </div>
                    <h1 class="title_con">
                        发表评论</h1>
                    <div class="division" style="background: #fff; border: solid 1px #e5e5e5; padding: 5px 0;">
                        <div class="productlword">
                            <div class="word_1a">
                                <div class="word_1aleft">
                                    *您的姓名：</div>
                                <div class="word_1aright">
                                    <input type="text" class="inputstyle" name="reviewuser" /></div>
                            </div>
                            <div class="word_1a">
                                <div class="word_1aleft">
                                    *您的标题：</div>
                                <div class="word_1aright">
                                    <input type="text" class="inputstyle" name="title1" />
                                </div>
                            </div>
                            <div class="word_1b">
                                <div class="word_1bleft">
                                    <em>*</em>留言内容：</div>
                                <div class="word_1bright">
                                    <textarea name="reviewcontent" class="inputstyle" cols="50" rows="5"></textarea></div>
                                <div style="clear: both">
                                    <input type="hidden" value="<%=Request.QueryString["ID"] %>" name="ProID" />
                                    <input type="hidden" value="Insert" name="Method" />
                                </div>
                            </div>
                            <div class="word_1b">
                            </div>
                            <div class="word_1bright" style="text-align: center;">
                                <input type="button" value="" class="but_sub" onclick="return MessageCheck();" /></div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="TextDetail3" class="section pdtdetail" tab="相关商品" style="border: none; display: none">
                <div class="pro_show">
                    <asp:Repeater ID="Relateds" runat="server" OnItemDataBound="Relateds_ItemDataBound">
                        <ItemTemplate>
                            <div class="itemsWrapabout">
                                <div class="pro_img">
                                    <a href="Product.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"id") %>" target="_blank">
                                        <img src="<%# "~/"+DataBinder.Eval(Container.DataItem,"pic") %>" alt="<%# DataBinder.Eval(Container.DataItem,"name") %>"
                                            width="160" height="160" /></a>
                                </div>
                                <h2 style="text-align: center;">
                                    <a title="<%# DataBinder.Eval(Container.DataItem,"name") %>" href="Product.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"id") %>">
                                        <asp:Label ID="proName" runat="server" Text='<%# Convert.ToString(DataBinder.Eval(Container.DataItem,"name")).Substring(0, 10) + "..." %>'></asp:Label></a></h2>
                                <div class="pro_view" style="text-align: center;">
                                    <font style="color: #ff6600;">市场价：￥<asp:Label ID="proPrice" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"price2") %>'></asp:Label>元</font></div>
                                <div class="pro_view" style="text-align: center;">
                                    会员价：￥<asp:Label ID="RealPrice" runat="server" Text=""></asp:Label>元</font></div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </div>
    </div>
    <div class="blank" style="height: 20px; width: 400px; clear: both">
    </div>
</div>
