📄 index.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/QT.master" CodeFile="index.aspx.cs" Inherits="index" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<div style="z-index: 101; left: 0px; width: 715px; position: absolute; top: 0px;
overflow:auto; height:750px;">
<table cellpadding="0" cellspacing="5" style="width: 700px;">
<tr class="category">
<td colspan="2" align="left"><span style="color:Gray;">动感地带</span></td>
</tr>
<tr class="category">
<td style="width: 700px; height: 20px;">
<span style="color:Gray;">主编推荐</span><span style="MARGIN: 0px 5px 0px 550px;"><a href="booklist.aspx?method=0" style="color:Gray;">更多>></a></span>
</td>
</tr>
<tr>
<td style="width: 700px;">
<asp:DataList ID="dtlZB" runat="server" Width="650px" RepeatDirection="Horizontal" >
<ItemTemplate>
<table>
<tr>
<td style=" width:70px;">
<asp:ImageButton ID="ImageButton1" ImageUrl='<%#Eval("Img") %>' runat="server" CommandArgument='<%#Eval("Id")%>' CommandName="kk" OnCommand="ImageButton1_Command1" Height="78px" Width="62px" /></td>
<td style=" width:400px;">
<ul style="LIST-STYLE-TYPE: none; margin:0px;">
<li style="color:Navy;"><%#Eval("Title") %></li>
<li>作者:<%#Eval("Author")%>著</li>
<li style="color:Gray;"><span>出版社:<%#Eval("Pub.Name") %></span></li>
<li style="color:Gray;"><span>出版日期:<%#Eval("PublishDate", "{0:yyyy/MM/dd}")%></span></li>
<li><%#Eval("ContentDescription")%></li>
<li ><span style="color:Red;">单价:<%#Eval("UnitPrice") %></span >
</ul>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr style="width: 100%; color: #33cc66;" />
</SeparatorTemplate>
</asp:DataList>
</td>
</tr>
<tr class="category">
<td style="width: 700px;">
<span style="color:Gray;">最新图书</span><span style="MARGIN: 0px 5px 0px 550px;"><a href="booklist.aspx?method=1" style="color:Gray;">更多>></a></span>
</td>
</tr>
<tr>
<td style="width: 700px;">
<asp:DataList ID="dtlNewBook" runat="server" Width="650px">
<ItemTemplate>
<table>
<tr>
<td style=" width:100px;">
<asp:ImageButton ID="ImageButton" ImageUrl='<%#Eval("Img") %>' runat="server" CommandArgument='<%#Eval("Id")%>' CommandName="kk" OnCommand="ImageButton1_Command1" Height="81px" Width="77px" /></td>
<td style=" width:400px;">
<ul style="LIST-STYLE-TYPE: none; margin:0px;">
<li style="color:Navy;"><%#Eval("Title") %></li>
<li>作者:<%#Eval("Author")%>著</li>
<li style="color:Gray;"><span>出版社:<%#Eval("Pub.Name") %></span>
<span style="margin:0px 0px 0px 0px 30px">出版日期:<%#Eval("PublishDate", "{0:yyyy/MM/dd}")%></span></li>
<li></li>
<li><%#Eval("ContentDescription")%></li>
<li ><span style="color:Red;">单价:<%#Eval("UnitPrice") %></span >
</ul>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr style="width: 100%; color: #cfcfcf; height: 1px" />
</SeparatorTemplate>
</asp:DataList>
</td>
</tr>
<tr class="category">
<td style="width: 700px; ">
<span style="color:Gray;">热搜图书</span><span style="MARGIN: 0px 5px 0px 550px;"><a href="booklist.aspx?method=2" style="color:Gray;">更多>></a></span>
</td>
</tr>
<tr>
<td style="width: 700px;">
<asp:DataList ID="dtlClick" runat="server" Width="679px" >
<ItemTemplate>
<table>
<tr>
<td style=" width:100px;">
<asp:ImageButton ID="ImageButton1" ImageUrl='<%#Eval("Img") %>' runat="server" CommandArgument='<%#Eval("Id")%>' CommandName="kk" OnCommand="ImageButton1_Command1" Height="80px" Width="77px" />
<td style=" width:400px;">
<ul style="LIST-STYLE-TYPE: none; margin:0px;">
<li style="color:Navy;"><%#Eval("Title") %></li>
<li>作者:<%#Eval("Author")%>著</li>
<li style="color:Gray;"><span>出版社:<%#Eval("Pub.Name") %></span>
<span style="margin:0px 0px 0px 30px">出版日期:<%#Eval("PublishDate", "{0:yyyy/MM/dd}")%></span></li>
<li></li>
<li><%#Eval("ContentDescription")%></li>
<li ><span style="color:Red;">单价:<%#Eval("UnitPrice") %></span >
</ul>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr style="width: 100%; color: #cfcfcf; height: 1px" />
</SeparatorTemplate>
</asp:DataList>
</td>
</tr>
<tr class="category">
<td style="width: 700px; height: 20px;">
<span style="color:Gray;">最新评论</span><span style="MARGIN: 0px 5px 0px 550px;"><a href="#" style="color:Gray;">更多>></a></span>
</td>
</tr>
<tr>
<td style="width:700px;">
<asp:DataList ID="dtlPL" runat="server" Width="683px" >
<ItemTemplate>
<table>
<tr>
<td style=" width:450px;">
<ul style="LIST-STYLE-TYPE: none; margin:0px;">
<li style="color:Navy;"><%#Eval("User.Name")%>说<%#Eval("Book.Title") %></li>
<li style="color:Gray;">日期:<%#Eval("Date") %></li>
<li></li>
<li><%#Eval("Comment")%></li>
</ul>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr style="width: 100%; color: #cfcfcf; height: 1px" />
</SeparatorTemplate>
</asp:DataList>
</td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -