Web/Controls/SellSort.ascx

(完整代码) 4KB

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SellSort.ascx.cs" Inherits="MrZeng.Web.Controls.SellSort" %>
<script type="text/javascript" src="../JS/Iframe.js"></script>
<div style="width:202px;">
     <div style="width:100%; height:31px; background-image: url('../Images/Common_Top.jpg');">
          <div style="padding-top:5px; padding-left:10px; text-align:left;">
               <span style="color:#CC0033; font-size:18px; font-weight:bold;">销售排行</span>
          </div>
     </div>
     <div style="width:100%; background-image: url('../Images/Common_bg.jpg');">
          <asp:DataList ID="DLGoodsSellSort" runat="server" DataKeyField="ID" 
              RepeatColumns="1" RepeatDirection="Vertical" Font-Size="12px" 
              ForeColor="#333333" onitemcommand="DLGoodsSellSort_ItemCommand">
              <ItemTemplate>
                  <div style="float:left;width:100%">
                       <div style="width:100%; text-align:center;">
                           <img src="../Images/Span1.jpg" alt="" width="190px" height="6px" />
                       </div>
                       <div style="width:100%; padding-top:2px;">
                           <div style="width:70px; height:70px; float:left; display:inline; padding-left:3px;">
                                <asp:LinkButton ID="LinkBtnDetails" runat="server" CommandName="details">
                                    <img alt='<%# GetSubName(Eval("GoodsName")) %>' src='..<%# Eval("ImageUrl")%>' width="70px" height="70px" style="border:0px;" />
                                </asp:LinkButton>
                           </div>
                           <div style="width:120px; float:right; display:inline; padding-right:3px; padding-left:3px; height:70px;">
                                <div style="width:100%;">
                                     <span id="ID" style="display:none;"><%# Eval("ID") %></span>
                                     <asp:LinkButton ID="LinkBtnDetails2" runat="server" CommandName="details" Font-Overline="false" ForeColor="#333333">
                                        <asp:Label ID="ShopName" runat="server" Text='<%# GetSubName(Eval("GoodsName")) %>' Font-Bold="true" ></asp:Label>
                                     </asp:LinkButton>
                                </div>
                                <div style="width:100%; text-align:left;">
                                     商家:
                                     <asp:LinkButton ID="LinkButton3" runat="server" CommandName="shopdetails" Font-Overline="false" ForeColor="#333333">
                                        <asp:Label ID="Label1" runat="server" Text='<%# GetSubName(Eval("UserNum")) %>' Font-Bold="true" ></asp:Label>
                                     </asp:LinkButton>
                                </div>
                                <div style="width:100%; text-align:left;">
                                     销售价:
                                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("SellPrice") %>' Font-Bold="true" ></asp:Label>
                                </div>
                                <div style="width:100%; text-align:center;">
                                     <asp:LinkButton ID="LinkButton1" runat="server" CommandName="collect" Font-Overline="false" ForeColor="#333333" Font-Bold="true" >收藏</asp:LinkButton>
                                    
                                     <asp:LinkButton ID="LinkButton2" runat="server" CommandName="buy" Font-Overline="false" ForeColor="#333333" Font-Bold="true">购买</asp:LinkButton>
                                     
                                    <asp:LinkButton ID="LinkButton4" runat="server" CommandName="details" Font-Overline="false" ForeColor="#333333" Font-Bold="true">详细</asp:LinkButton> 
                               </div>
                            </div>
                       </div>
                  </div>
              </ItemTemplate>
         </asp:DataList>
     </div>
     <div style="width:100%;"><img src="../Images/Common_bottom.jpg" alt="" /></div>
</div>

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

AI 解读 AI

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

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