EasyShop/siteAdmin/Goods/pup_sltTemplate.aspx

(完整代码) 2KB

<%@ Page Title="" Language="C#" MasterPageFile="~/siteAdmin/pupDialog.Master" AutoEventWireup="true" CodeBehind="pup_sltTemplate.aspx.cs" Inherits="EasyShop.siteAdmin.Goods.pup_sltTemplate" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function Add_Template(o, pid, name) {
            window.returnValue = pid + "|" + name;
            window.close();
        }
        $(function () {
            $("tbody>tr:even").css("background", "#fff");
            $("tbody>tr").mouseover(function () {
                $(this).css("background", "#b8f7c1");
            });
            $("tbody>tr").mouseout(function () {
                $("tbody>tr:even").css("background", "#fff");
                $("tbody>tr:odd").css("background", "");
            });
        });
 </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Repeater ID="RpProduct" runat="server">
        <HeaderTemplate>
            <table cellspacing="0" class="Admin_Table">
                <thead>
                    <tr class="Admin_Table_Title">
                        <th style="width:5%;">序号</th>
                        <th style="width:35%;">模板</th>
                        <th style="width:20%;">服务类型</th>
                        <th style="width:20%;">服务子类型</th>
                        <th style="width:20%;">服务区域</th>
                    </tr>
                </thead>
        </HeaderTemplate>
        <ItemTemplate>
            <tr style="cursor:pointer;" onclick="Add_Template(this,<%#Eval("ID") %>,'<%#Eval("Tmp_Name")%>')">
                <td style="text-align:center;"><%#CommonLib.SetSerial.SetSerialTwo((Container.ItemIndex + 1).ToString()) %></td>
                <td><%#Eval("Tmp_Name")%></td>
                <td><%#Eval("Tmp_sell_type")%></td>
                <td><%#Eval("Tmp_sell_sub_type")%></td>
                <td><%#Eval("Tmp_Province")%>&nbsp;&nbsp;<span <%#Eval("ShowHide") %>><%#Eval("Tmp_City") %></span></td>
            </tr>
        </ItemTemplate>
        <FooterTemplate></table></FooterTemplate>
    </asp:Repeater>
</asp:Content>

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

AI 解读 AI

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

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