📄 specialproduct.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="SpecialProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.SpecialProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%BindSpecialProductList(config.NewProductSizeInIndex);%>
<asp:DataList ID="dlSpecialProducts"
CellPadding="0"
CellSpacing="0"
GridLines="None"
RepeatColumns="1"
RepeatDirection="Horizontal"
RepeatLayout="Table"
Visible=false
Width="100%"
runat="server">
<itemstyle CssClass="alignCenterTop"/>
<itemtemplate>
<table width="100%" border="0" cellspacing="2" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td align="center" valign="top" width="60" style="padding-right:5px">
<table border="0" cellspacing="1" cellpadding="5" bgcolor="#DBDBDB">
<tr bgcolor="#FFFFFF" align="center">
<td><font color="#000000"><a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>'><img src='upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>' width=60 border=0 align=center vspace=0 hspace=0 style='border-color:#000000'></a></font></td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" border="0" cellspacing="1" cellpadding="0" height="22">
<tr valign="top">
<td height="20"><a href='Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>' target=_self ><font color="#000000"><%#DataBinder.Eval(Container.DataItem,"Name")%></font></a></td>
</tr>
<tr>
<td><font color="#FF3300">会员价:<br><%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%></font></td>
</tr>
</table>
</td>
</tr>
</table>
</itemtemplate>
</asp:DataList>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -