 <%@ Control Language="C#"  %> 
 <%@ Import Namespace="ShopNum1.Common"%>
 

  <div class="detail">
  <asp:Repeater ID="RepeaterProductInfo" runat="server">
  <ItemTemplate>
    <div class="DetailImage">
      <div class="DetailBigImage">
      <asp:Image ID="ImageProduct" runat="server" Height="230px" 
                   ImageUrl= '<%# Globals.ImagePath+"s_"+Eval("OriginalImge") %>' 
                    Width="230px" />
            </div>
      <!--预留滑动图片效果-->
      <div class="DetailRun">
      <div class="left"></div>
      <marquee style="float:left" onmouseover="this.stop()" onmouseout="this.start()"  width="260">
      			<ShopNum1:ProductImage ID="productImage" runat="server" SkinFilename="ProductImage.ascx"  /></marquee>
      <div class="right"></div>
      </div>
    </div>
    
    <div class="DetailInfo">
      <h1><%# Eval("Name") %></h1>
      <p>商品货号：<%# Eval("RepertoryNumber")%></p>
      <p>商品库存：<%# Eval("RepertoryCount")%></p>
      <p>商品品牌：<%# Eval("BrandName")%></p>
      <p>商品重量：<%# Eval("Weight")%>克</p>
      <p>上架时间：<%# Eval("ModifyTime")%></p>
      <p>市场价格：<font class="Price"><%# Globals.MoneySymbol%><%# Eval("MarketPrice")%></font></p>
      <p>本店售价：<font class="StorePrice"><%# Globals.MoneySymbol%><%# Eval("ShopPrice")%></font></p>

<p>您的价格：<font class="StorePrice"><%# Globals.MoneySymbol%><asp:Label ID="LabelYourPrice" runat="server" Text='<%# Eval ("ShopPrice")%>' /></font></p>
      <p>被点击数：<%# Eval("ClickCount")%>次</p>
      <p>被收藏数：<%# Eval("CollectCount")%></p>
      <p>被购买数：<%# Eval("BuyCount")%></p>
      <p>商品评论量： <%# Eval("CommentCount")%></p>
  
  </div>
 </ItemTemplate>
 </asp:Repeater>
  
    <div class="DetailInfo">
<!--带有价格的多选属性 -->
<asp:Repeater ID="RetpeaterAttribute2" runat="server">
<ItemTemplate>
      <p><%# Eval("Name")%>：</p>
                    <!-- 可多选的属性 -->
                    <asp:CheckBoxList ID="checkBoxListAttribute" runat="server">
                    </asp:CheckBoxList>
</ItemTemplate>
</asp:Repeater>
<!--带有价格的多选属性 -->
<asp:Repeater ID="RetpeaterAttribute1" runat="server">
<ItemTemplate>
            
      <p> <%# Eval("Name")%>：</p>
                    <!-- 可单选的属性 -->
                 <asp:RadioButtonList ID="radioButtonList" runat="server">
                 </asp:RadioButtonList>
                 
 </ItemTemplate>
</asp:Repeater>
<!--该商品能产加的活动-->
<asp:Repeater ID="RepeaterProductPromotion" runat="server">
    <ItemTemplate>
       <p><font class="StorePrice">该商品正在进行促销活动：</font><a href="SalesPromotion.aspx"  target="_self"> <%#Eval("Name")%></a></p>
       
    </ItemTemplate>
</asp:Repeater>
<!--所有商品能产加的活动-->
<asp:Repeater ID="RepeaterProductAllPromotion" runat="server">
    <ItemTemplate>
      <p><font class="StorePrice">该商品正在进行促销活动：</font><a href="SalesPromotion.aspx"  target="_self"> <%#Eval("Name")%></a></p> 
    </ItemTemplate>
</asp:Repeater>
<!--购买按钮-->

 <p><asp:ImageButton ID="ImageButtonBuy" runat="server" 
 ImageUrl="../Images/buy.png"  CausesValidation="false"/> &nbsp;
  <asp:HyperLink ID="CollectAction" runat="server"  ImageUrl="../Images/coll.png" Target="_blank" />
<%--  <asp:HiddenField ID="HiddenFieldGuid" runat="server" />--%>
  </p>
  </div>
  </div> 
  