<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../Global.Master" CodeBehind="ServiceContact.aspx.cs" Inherits="Web.AdminManager.Setting.ServiceContact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/Common/js/Common_Class.js" type="text/javascript"></script>
    <script src="../js/Setting.ServiceContact.js"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="UI_Info" runat="server" visible="false">
        <form method="post" action="" class="ui-form-vertical">
            <div class="ui-form-group">
                <label class="ui-form-label">客服类型</label><div class="ui-form-ctrls">
                    <select class="ServiceType" name="ServiceType">
                        <%=CommonLib.Helper.StringFromEnum(typeof(Web.Lib.ServiceType),"<option value=\"{1}\" {2}>{0}</option>",0,"selected") %>
                    </select>
                    <span class="ServiceType ui-help-inline">选择客服类型</span>
                </div>
            </div>
            <div class="ui-form-group">
                <label class="ui-form-label">客服名称</label><div class="ui-form-ctrls">
                    <input type="text" value="<%=msc.ServiceName %>" name="ServiceName" class="ui-input-small" /><span
                        class="ServiceName ui-help-inline">如：售后服务</span>
                </div>
            </div>
            <div class="ui-form-group">
                <label class="ui-form-label">客服值</label><div class="ui-form-ctrls">
                    <input type="text" value="<%=msc.ServiceValue %>" name="ServiceValue" class="ui-input-small" /><span
                        class="ServiceValue ui-help-inline">如：165461152</span>
                </div>
            </div>
            <div class="ui-form-group">
                <label class="ui-form-label">&nbsp;</label><div class="ui-form-ctrls">
                    <button type="submit" class="ui-btn ui-btn-primary">提交保存</button>
                </div>
            </div>
        </form>
    </div>
    <div id="UI_List" runat="server" visible="false">
        <form action="" method="post">
        <table class="ui-table ui-table-bordered">
            <thead>
                <tr>
                    <td colspan="5">
                        <button type="button" class="AddService ui-btn ui-btn-primary">添加客服</button>
                    </td>
                </tr>
                <tr class="ui-widget-header">
                    <th>客服类型
                    </th>
                    <th>客服名称
                    </th>
                    <th>客服值
                    </th>
                    <th>排序</th>
                    <th>操作
                    </th>
                </tr>
            </thead>
            <%=ServiceContactList %>
            <tr>
                <td colspan="5">
                    <button type="submit" class="ui-btn ui-btn-primary">保存排序</button>
                </td>
            </tr>
            <tr>
                <td colspan="5" id="Pager" class="Pager" runat="server"></td>
            </tr>
        </table>
        </form>
    </div>
</asp:Content>

