📄 default.aspx
字号:
</td>
</TR>
</TBODY>
</TABLE>
<TABLE class="border-l-r" height="120" cellSpacing="0" cellPadding="0" width="780" align="center"
border="0">
<TBODY>
<TR> <!-- InstanceBeginEditable name="left" -->
<TD vAlign="top" width="207">
<!--原公告处-->
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<TR>
<TD align="center">
<TABLE cellSpacing="0" cellPadding="0" width="199" border="0">
<TBODY>
<tr>
<td width="199" id="left" align="left" class="p12co" valign="top" colspan="2">
<table width=100%>
<TR>
<TD background="images/default/newgoods-bg.gif" height="33" colspan=2>
<IMG height="14" src="images/default/items.gif" width="16"><SPAN class="p12co"> 商品分类</SPAN>
</TD>
</TR>
<tr><td width=30></td><td>
<asp:Repeater Runat="server" ID="rptBigCategory">
<ItemTemplate>
<li style="CURSOR:pointer;">
<a href="#" onclick='showsubmenu(<%# (DataBinder.Eval(Container.DataItem, "CategoryID").ToString()) %>)'>
<%# DataBinder.Eval(Container.DataItem, "CategoryName") %>
</a>
</li>
<br>
<div id='submenu<%# (DataBinder.Eval(Container.DataItem, "CategoryID")).ToString() %>' style='display:<%# GetDisPlay(DataBinder.Eval(Container.DataItem, "CategoryID").ToString()) %>;'>
<asp:Repeater ID="rptSmall" Runat=server DataSource='<%# GetSmallCategories(DataBinder.Eval(Container.DataItem, "CategoryID").ToString())%>'>
<ItemTemplate>
--<a href='ProductList.aspx?CategoryID=<%# DataBinder.Eval(Container.DataItem, "CategoryID") %>'>
<%# DataBinder.Eval(Container.DataItem, "CategoryName") %>
</a>
<br>
</ItemTemplate>
</asp:Repeater>
</div>
</ItemTemplate>
</asp:Repeater>
</td>
</tr></table>
</td>
</tr>
<TR>
<TD width="22%"><IMG height="101" src="images/default/cartinfo-left.gif" width="53"></TD>
<TD width="72%" background="images/default/cartinfo-bg.gif">
<TABLE cellSpacing="0" cellPadding="0" width="99%" border="0">
<TBODY>
<TR>
<TD vAlign="bottom" align="right" height="78">
<TABLE cellSpacing="0" cellPadding="0" border="0">
<TBODY>
<TR>
<TD class="p9orange" vAlign="bottom" width="138">选购的商品共:<B><asp:Label ID="lbQCount" Runat="server"></asp:Label></B> 种</TD>
</TR>
<TR>
<TD class="p9orange" vAlign="bottom">总计:<STRONG><asp:Label ID="lbTotal" Runat="server"></asp:Label></STRONG>元</TD>
</TR>
<TR>
<TD class="p9orange" align="right" height="34">
<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
<TBODY>
<TR>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing="0" cellPadding="2" border="0">
<TBODY>
<TR>
<TD><IMG height="16" src="images/default/buy.gif" width="16"></TD>
<TD><A href="javascript:temp=window.open('ShoppingCart.aspx','shopcat','width=700,height=670,scrollbars=yes');temp.focus()">进入购物车</A></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD width="6%"><IMG height="101" src="images/default/cartinfo-right.gif"></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<BR>
<!-- 人气排行 -->
<TABLE cellSpacing="0" cellPadding="0" border="0">
<TBODY>
<TR>
<TD><IMG height="35" src="images/default/hottitle.gif" width="199"></TD>
</TR>
<TR>
<TD vAlign="top" align="center" background="images/default/newsbg.gif" height="69">
<asp:DataList ID="dlHotProduct" Runat="server" RepeatColumns="1" Width="96%">
<ItemTemplate>
<TABLE class="border-b" cellSpacing="0" cellPadding="2" width="96%" border="0">
<TR>
<TD vAlign="top" align="center" width="72%">
<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
<TR>
<TD class="p9navyblue"><A onclick="NewWindow(this.href,'opwd','760','590','no','center');return false" onfocus="this.blur()" href='Detail.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'><%# DataBinder.Eval(Container.DataItem, "ProductName") %></A></TD>
</TR>
<TR>
<TD class="p9orange" align="right"> <%# GetArrange(DataBinder.Eval(Container.DataItem, "CategoryID").ToString()) %><%# DataBinder.Eval(Container.DataItem, "MemberPrice","{0:f}") %></TD>
</TR>
<%# GetWholeSalePriceAlingRight(DataBinder.Eval(Container.DataItem, "WholeSalePrice","{0:f}").ToString()) %>
</TABLE>
</TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:DataList>
</TD>
</TR>
<TR>
<TD><IMG height="12" src="images/default/newsbottom.gif" width="199"></TD>
</TR>
</TBODY>
</TABLE>
<BR>
<!--搭售-->
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<TR>
<TD><IMG height="33" src="images/default/linktitle.gif" width="199"></TD>
</TR>
<TR>
<TD vAlign="top" align="center">
<asp:DataGrid Runat="server" ID="dgFriendList" AutoGenerateColumns="False" BorderWidth="0">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<a href='<%# DataBinder.Eval(Container.DataItem, "LinkUrl") %>' target="_blank"><img src='Upload/<%# DataBinder.Eval(Container.DataItem, "LinkImg") %>' border="0"></a>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</TD>
</TR>
</TBODY>
</TABLE>
<BR>
</TD> <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="right" -->
<TD vAlign="top" width="571">
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<TR>
<TD width="2%"><IMG height="32" src="images/default/specialgoods-left.gif" width="5"></TD>
<TD width="2%"><IMG height="32" src="images/default/specialgoods-title.gif" width="82"></TD>
<TD width="96%" background="images/default/specialgoods-bg.gif"> </TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="99%" align="center" border="0">
<TBODY>
<TR>
<TD>
<asp:DataList ID="dlSpecialProduct" Runat="server" RepeatColumns="2" Width="100%">
<ItemTemplate>
<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
<TR width="50%">
<TD vAlign="top" colSpan="2">
<TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
<TR>
<TD width="3%" bgColor="#f2f2f2"><IMG height="14" src="images/default/items.gif" width="16" align="middle">
</TD>
<TD class="p9orange" width="97%" bgColor="#f2f2f2"><A class="NameLink" onclick="NewWindow(this.href,'opwd','760','590','no','center');return false" onfocus="this.blur()" href='Detail.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'><%# DataBinder.Eval(Container.DataItem, "ProductName") %></A></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR class="border-b">
<TD vAlign="top" width="12%">
<TABLE height="0" width="80" border="0">
<TR>
<TD></TD>
</TR>
</TABLE>
<TABLE height="90" width="0" align="left" border="0">
<TR>
<TD></TD>
</TR>
</TABLE>
<%# GetThumbMark(DataBinder.Eval(Container.DataItem, "IsThumbMark").ToString()) %><A onclick="NewWindow(this.href,'opwd','760','590','no','center');return false" onfocus="this.blur()" href='Detail.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'><IMG height="90" src='Upload/Products/<%# DataBinder.Eval(Container.DataItem, "ThumbnailImg") %>' width="72" border="0"></A></TD>
<TD vAlign="top" width="88%">
<TABLE height="57" cellSpacing="0" cellPadding="2" width="100%" border="0">
<TR>
<TD class="p9v" vAlign="top">市场价:<%# DataBinder.Eval(Container.DataItem, "MarketPrice","{0:f}") %>
<BR>
<%# GetArrange(DataBinder.Eval(Container.DataItem, "CategoryID").ToString()) %><SPAN class="p9orange"><%# DataBinder.Eval(Container.DataItem, "MemberPrice","{0:f}") %></SPAN></TD>
</TR>
<%# GetWholeSalePrice(DataBinder.Eval(Container.DataItem, "WholeSalePrice","{0:f}").ToString()) %>
<TR>
<TD class="p9black" vAlign="top" align="right">
<TABLE cellSpacing="0" cellPadding="1" border="0">
<TR>
<TD class="p9orange"><A href="javascript:temp=window.open('ShoppingCart.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>','shopcat','width=700,height=670,scrollbars=yes');temp.focus()">
<IMG alt="购买" src="images/default/buy.gif" border="0"></A>
</TD>
<TD class="p9orange"><A onclick="NewWindow(this.href,'opwd','760','590','no','center');return false" onfocus="this.blur()" href='Detail.aspx?ProductID=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'><IMG alt="详细" src="images/default/details.gif" border="0"></A>
</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -