<%@ Control Language="c#" AutoEventWireup="true" Codebehind="TopSaleProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.TopSaleProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>

<!--首页分类销售排行榜-->
<%BindTopSaleProductList(5, 50, "rptTopSale1");%>
<%BindTopSaleProductList(5, 35, "rptTopSale2");%>
<%BindTopSaleProductList(5, 16, "rptTopSale3");%>
<div class="xp-hometopsale" id="TopSaleContent1003">
     <div class="tm3">
        热销排行
    </div>
    <div class="mm3">
        <div class="rank_subcat clear">
            <span class="menuitem tabon">豆浆机</span>
            <span class="space"></span>
            <span class="menuitem tabout">电风扇</span>
            <span class="space"></span>
            <span class="menuitem tabout">净化器</span>
        </div>
        <ul class="ul_topcontent salerank1_tabitem">
            <li>
                <asp:Repeater ID="rptTopSale1" runat="server">
                    <ItemTemplate>
                        <ul class="img">
                            <li class="clear" style="border-bottom:1px #ffd4de solid;">
                                <div class="img">
                                    <a href='/<%=ShopFolder %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank"><img src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ProductImg")%>" alt="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>" /></a>
                                </div>
                                <div class="titile"><div class="index"><%#Container.ItemIndex+1 %>.</div><a href='/<%=ShopFolder %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' title='<%#DataBinder.Eval(Container.DataItem,"ProductName")%>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></div>
                                <div class="price"><% if(MemberShowPrice()) {%><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%></div>
                            </li>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
            </li>
            
        </ul>
        <ul class="ul_topcontent salerank1_tabitem">
            <li>
                <asp:Repeater ID="rptTopSale2" runat="server">
                    <ItemTemplate>
                        <ul class="img">
                            <li class="clear" style="border-bottom:1px #ffd4de solid;">
                                <div class="img">
                                    <a href='/<%=ShopFolder %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank">
		                            <img src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ProductImg")%>" alt="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>" />
		                            </a>
                                </div>
                                <div class="titile"><div class="index"><%#Container.ItemIndex+1 %>.</div><a href='/<%=ShopFolder %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' title='<%#DataBinder.Eval(Container.DataItem,"ProductName")%>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></div>
                                <div class="price"><% if(MemberShowPrice()) {%><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%></div>
                            </li>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
            </li>
            
        </ul>
        <ul class="ul_topcontent salerank1_tabitem">
            <li>
                <asp:Repeater ID="rptTopSale3" runat="server">
                    <ItemTemplate>
                        <ul class="img">
                            <li class="clear" style="border-bottom:1px #ffd4de solid;">
                                <div class="img">
                                    <a href='/<%=ShopFolder %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank">
		                            <img src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ProductImg")%>" alt="<%#DataBinder.Eval(Container.DataItem,"ProductName")%>" />
		                            </a>
                                </div>
                                <div class="titile"><div class="index"><%#Container.ItemIndex+1 %>.</div><a href='/<%=ShopFolder %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' title='<%#DataBinder.Eval(Container.DataItem,"ProductName")%>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></div>
                                <div class="price"><% if(MemberShowPrice()) {%><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%></div>
                            </li>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
            </li>
            
        </ul>
    </div>
</div>
<script type="text/javascript">
    $('#TopSaleContent1003').ready(function(){
        SetTab('#TopSaleContent1003 span.menuitem','#TopSaleContent1003 ul.salerank1_tabitem',{e:'mouseover'});
    });
</script>
