Web/Client/ShopSearch.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopSearch.aspx.cs" Inherits="MrZeng.Web.Client.ShopSearch" Title="店铺搜索" MasterPageFile="~/Template/MasterPage.Master" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<%@ Register src="../Controls/StarShop.ascx" tagname="StarShop" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <div style="width:970px;">
          <div style="width:202px; display:inline; float:left;">
               <div style="width:100%;"> 
                   <uc1:StarShop ID="StarShop1" runat="server" />
               </div>
          </div>
          <div style="width:763px; display:inline; float:left; text-align:left;padding-left:5px;">
                 <div style="width:100%;  text-align:center;">
                     <asp:DataList ID="DLShopSearch" runat="server" Width="763px"  Height="180px" 
                         DataKeyField="ID" RepeatColumns="5" RepeatDirection="Horizontal" 
                         Font-Size="12px" ForeColor="#333333" 
                         onitemcommand="DLShopSearch_ItemCommand">
                          <ItemTemplate>
                                   <div style="width:150px; padding-top:2px; text-align:left;">
                                       <div style="width:100%; height:100px;">
                                            <asp:LinkButton ID="LinkBtnDetails" runat="server" CommandName="details">
                                                <img alt='<%# GetSubName(Eval("ShopName")) %>' src='..<%# Eval("ImageUrl")%>' width="90px" height="90px" style="border:0px;" />
                                            </asp:LinkButton>
                                       </div>
                                       <div style="width:100%; padding-top:2px; text-align:left;">
                                          店铺名:
                                           <asp:LinkButton ID="LinkBtnDetails2" runat="server" CommandName="details" Font-Overline="false" ForeColor="#333333">
                                               <asp:Label ID="ShopName" runat="server" Text='<%# GetSubName(Eval("ShopName")) %>' Font-Bold="true" ></asp:Label>
                                           </asp:LinkButton>
                                       </div>
                                       <div style="width:100%; padding-top:2px; text-align:left;">
                                           信誉度:<img alt="" src='../<%# GetPrestige(Eval("PrestigeCount")) %>' />
                                       </div>
                                       <div style="width:100%; padding-top:2px; text-align:left;">
                                           创建人:
                                           <asp:Label ID="Label2" runat="server" Text='<%# Eval("TrueName") %>' Font-Bold="true" ></asp:Label>
                                       </div>
                                       <div style="width:100%; text-align:center;">
                                           <asp:LinkButton ID="LinkButton1" runat="server" CommandName="details" Font-Overline="false" ForeColor="#333333" Font-Bold="true" >进去看看>></asp:LinkButton>
                                       </div>
                                   </div>
                              </div>
                          </ItemTemplate>
                     </asp:DataList>
                 </div>
                 <div style="width:100%;">
                     <asp:Panel ID="Panel1" runat="server" Visible="false" >
                          <div style="padding:200px;">
                                <span style="font-size:30px; font-weight:bold; color:#FF3300">没有您要搜索的数据!</span> 
                          </div>
                     </asp:Panel>
                 </div>
                 <div style="width:90%; padding-top:10px; text-align:right; padding-right:10px;">
                     <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" FirstPageText="首页" 
                        HorizontalAlign="Center" LastPageText="尾页" NextPageText="下一页" 
                        PrevPageText="上一页" onpagechanged="AspNetPager1_PageChanged" PageIndexOutOfRangeErrorMessage="没有您要的数据" 
后面还有 6 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。