📄 commendproduct.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CommendProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.CommendProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<br>
<%BindCommendProductList(config.CommendProductSizeInIndex);%>
<asp:DataList id="dlCommendProductts"
CellPadding="0"
CellSpacing="0"
GridLines="None"
RepeatColumns="2"
RepeatDirection="Horizontal"
RepeatLayout="Table"
Visible=false
Width="100%"
runat="server">
<ItemStyle CssClass="alignCenterTop"/>
<ItemTemplate>
<table cellpadding="0" cellspacing="0" border="0" width="100">
<tr>
<td align="center">
<TABLE width=67 height=67 cellSpacing=3 cellPadding=2 bgColor=#e1e1e1 border=0>
<tr>
<td align="center" width=70 height=70 bgColor=#ffffff>
<a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>'><img src='<%=config.Path%>upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>' border=0 width="64" height="64"></a>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td align="center">
<a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>' target=_self ><%#DataBinder.Eval(Container.DataItem,"Name")%></a>
<br>
<font color="FF5A00"><b><%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%></b></font>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -